Last week I found myself looking at two C# methods I’d written. They were nearly identical, with different names and they differed by the execution of one single predicate function at the very end to filter out exactly the kind of thing I was looking for. I found this to be pretty dissatisfying. I knowContinue reading “First Class Functions: C# and JavaScript”
Tag Archives: code
What I learned in my first year as a dev!
I have recently crossed the one-year mark as a professional software developer. I had a lot of assumptions about what it would be like and many of them were not all that too accurate. Here’s what I learned in one full year as a dev. Just ship the code What I would consider to beContinue reading “What I learned in my first year as a dev!”
JavaScript’s NaN
I wanted to write something about NaN because this occupies a weird space in JavaScript and might not behave like you suspect it should when doing equality comparisons. It also came up recently, and I want to make absolutely certain that I don’t forget the manner in which I should handle this thing. My firstContinue reading “JavaScript’s NaN”
Why Code Is Hard To Read
If you’ve been developing for any length of time, it’s likely that you’ve run across some variation on the phrase “Code isn’t for machines to run, it’s for humans to read.” Yet, we’re often also caught discussing how code is a mess, difficult to read, hard to maintain, etc… It seems that if it wasContinue reading “Why Code Is Hard To Read”