Reading Time: 24 minutesThis is a blog post I’ve been meaning to write for like two years but haven’t, because it is a complex topic that’s a kind of modern-day Ouroboros where you don’t really know where to start but at no point … Continue reading
Category: Front-end
Front-end Development: the fun stuff that happens in the browser with HTML, CSS, and JavaScript
A Rant about Front-end Development
Reading Time: 14 minutesI am a front-end developer who is FED up about front-end development. If you write front-end, this isn’t about you personally. It’s about how your choices make me angry. Also this is about how my choices have made me angry. … Continue reading
The Symbology of JavaScript Symbols
Reading Time: 9 minutesThere have been two things that have appeared in newer versions of JavaScript that I haven’t understood: Symbols and Iterators. When it comes to code I have to learn by doing, no amount of reading Mozilla Developer Network was going … Continue reading
Cyclomatic Complexity in CSS
Reading Time: 8 minutesThere’s a seldom-discussed concept in web software development called cyclomatic complexity which is a metric used to indicate how complex a program or unit of code is. It’s not discussed very often because, well, it’s really not exciting. You can … Continue reading
When Jest and TypeScript tell you “missing initializer in const declaration”
Reading Time: 3 minutesWhile I generally avoid TypeScript, I’m willing to acknowledge that there might be edge cases where it could be useful. And in an effort to actually learn how to make it useful, I’m converting one of my linguistic / NLP … Continue reading
Why is it so hard to copy an object in JavaScript
Reading Time: 6 minutesHave you ever sat down to write a bit of JavaScript thinking, “this is easy; shouldn’t take more than a few minutes,” and then six hours later there you are with a bottle of whisky in one hand and a … Continue reading
Weird JavaScript: Arrays and the weird ways we can(‘t) define them
Reading Time: 8 minutesThe JavaScript array. A simple, elegant data structure. Easy to make them. Easy to add data to them. Easy to sort them. Easy to iterate on them. What could possibly be weird about JavaScript arrays?
Why does JavaScript have null AND undefined?
Reading Time: 3 minutesA complaint I hear sometimes from folks programmers learning JavaScript is that it has both null and undefined. If JavaScript is your first programming language, this may not seem weird, but once you compare it to others… yeah, it’s strange. … Continue reading
Weird JavaScript: How to make enemies with type coercion
Reading Time: 2 minutesWho cares about friends? How would you like to piss of Todd who won’t shut up about this season’s IPAs and Elon Musk’s 4D chess he’s playing on Twitter? Screw Todd. No one likes him and he deserves to hurt … Continue reading
Weird JavaScript: Why does JavaScript have a === ?
Reading Time: 2 minutesThis is another one in the occasional series of, “weird JavaScript” where I address weird stuff in JavaScript that only haunts your nightmares if you dream in other programming languages. Today we discuss what the hell === actually does. Buckle-up … Continue reading