
Those are literally from the previous millennium!
I don’t use var to declare variables in JS, but there are still situations when a good ol’ fashioned C-style for loop is the appropriate construct.

Those are literally from the previous millennium!
I don’t use var to declare variables in JS, but there are still situations when a good ol’ fashioned C-style for loop is the appropriate construct.
In case you’re wondering about the title of this post, here’s an explainer.
For me, regular expressions are like the rules for boardgames that I don’t play that often: As the game progresses, I understand the rules and think I have a firm grasp on them, and when the game gets put away and I don’t play it for a while, I forget almost everything.
These days, I keep a couple of “interactive notebooks” with working code featuring useful regexes, paired with notes written in Markdown:



I don’t agree with his takes on masks (guess) and testoterone (a bit too Jordan Peterson/Joe Rogan-adjacent for my liking), but I think he’s spot on with the observation above.
