Mainstay Monday: Linked Lists
Dear data structures, which of you is most useful? I don't know, but linked lists are pretty awesome. Linked lists are great for any number of things, a list of data that can be grown without bound, a data structure that can be incremental ...
2015.08.31
Mainstay Monday: SOLID - Dependency Inversion
This post is part of a series on the SOLID programming principles. This is it, the final SOLID principle. Dependency inversion is probably one of the most talked about SOLID principles since it drives so much of what we see in programming ...
2015.08.24
An Open Letter to Single-Language Programmers
I work with several programmers every day and I end up giving advice a lot. Let's not discuss whether people are actually soliciting my advice, or not, but I give it regardless. This evening I started thinking about things I think every p ...
2015.08.21
Sanitary Data: Maybe, Either and Deref
Although there are times when conditional blocks are necessary for functionality, it is common that conditions simply wrap up data which may be null or undefined. These kinds of conditional blocks have become so common that they are consi ...
2015.08.19
Mainstay Monday: SOLID - Interface Segregation Principle
This post is part of a series on the SOLID programming principles. The Interface Segregation Principle is a close relative to the Single Responsibility Principle. The idea behind interface segregation is your API should use several small ...
2015.08.17
All in the Family: Filter, Map, Reduce, Recur
In programming it is becoming more common to see functional patterns. Filter, map and reduce are all discussed openly in programming circles that live far away from Lisp, Haskell, ML and other functional languages. It is common, in Javasc ...
2015.08.12
Mainstay Monday: SOLID - Liskov Substitution Principle
This post is part of a series on the SOLID programming principles. We've reached middle and, possibly, one of the more subtle principles in SOLID. Up to now we have dealt in ideas that either prescribe a way to separate and clean up your ...
2015.08.10
Refactoring with Boolean Algebra and De Morgan's Laws
Many junior and mid-level programmers working today have opted to skip a university education and, instead, have either gone through an Associate's program or a coding bootcamp. Some programmers started their career out of college without ...
2015.08.05
Mainstay Monday: SOLID - Open/Closed Principle
This post is part of a series on the SOLID programming principles. Last week we discussed the concept of single responsibility in programming. Continuing the process of discussing SOLID principles, let's take a look at the Open/Closed Pri ...
2015.08.03
Code Smells - Conditional Obsession
Jeff Atwood of Stack Exchange and Coding Horror fame wrote a post quite a long time ago about code smells and what they mean. A couple weeks ago, I discussed eliminating switch statements using hashmaps. In that post, I introduced a new co ...
2015.07.29
167891015