← Back to context

Comment by scoodah

4 days ago

Yeah this whole section of the article threw me all the way off. What even is this code? There’s so many things wrong with it, it blows my mind.

About the only code example I saw in here and thought “yeah it sucks when that happens” is the accidental closure example. Accidentally shadowing something you’re trying to assign to in a branch because you need to handle an error or accidentally reassigning something can be subtle. But it’s pretty 101 go.

The rest is… questionable at best.