Tobias Parent·Nov 26, 2024Going One Step Further in Improving the Readability of Code (Day 9)Dipak Ahirav wrote a great article dealing with a favorite topic of mine — can we make our code more concise, more readable, and more…
Tobias Parent·Jun 12, 2022Factories and Closures, or Classes and Constructors… Does It Matter?There is all kinds of debate about which is better, classes/constructors or factory functions using closures. There are advantages and…
InBits and PiecesbyTobias Parent·Feb 22, 2022Fairy Tales, and the Implications of ImmutabilityI was recently reminded to be careful of `Array.reverse()` and its mutability. Here’s some reasoning as to why.
InBits and PiecesbyTobias Parent·Feb 15, 2022Concerning the Separation of ConcernsThe importance of creating a clear separation of concerns when building software applications
InBits and PiecesbyTobias Parent·Dec 15, 2021Decomposing CompositionWant to build a function by composition, rather than by writing each function long-hand? Come for the crazy, stay for the tea.A response icon2A response icon2
Tobias Parent·Jan 29, 2020Recursion, all the way downSo recursion is a thing. It’s a very confusing thing, to be sure, but it’s also a truly powerful tool, when we understand it well. The…