Sometimes, it’s what you don’t say that hurts you the most. Let’s go. Side Effects A warning before we begin, I will use the words “side effects” heavily in this post. I come at this from the functional school of thought. Quite honestly, in said school of thought, “side” …
Read MoreDriver and Service
Apr 30, 2024 · 8 min read · Driver/Service Code Antipatterns Garbage In; Garbage Out Multiple Hats ·Code has one of two roles: Add value to your business Drive the prior bullet point The first bullet point is usually called service code. It’s the service your company is being paid to do. The second bullet point can be one of many things, it could be controllers/webapps/etc. It can be cron jobs that perform …
Read MoreI’ve seen multiple criticisms of Uncle Bob’s Clean Code involving the (short) length of functions. I’ve also seen multiple great responses to those rules of thumb. I want to derive another way to reason about the length of a function. Let’s begin. Thoughts I want the number and …
Read More