Everyday Theory
open-menucloseme
About
Posts
  • Propriety

    calendar May 25, 2024 · 6 min read · Ownership Abstractions Multiple Hats  ·
    Share on: twitter facebook linkedin copy

    To save the author some work dear reader, imagine the 3 Spiderman meme. Fill in “Who owns client data validation?” as the title and label the Spidermans (Spidermen?) Controller/Service/Persistence. One place has to own that responsibility. Let’s say we had a bug where we accidentally allowed updating …


    Read More
  • Express Intent

    calendar May 11, 2024 · 8 min read · Intent Naming  ·
    Share on: twitter facebook linkedin copy

    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 More
  • Software Engineering as Bets

    calendar May 9, 2024 · 5 min read · Design Chess Bets YAGNI  ·
    Share on: twitter facebook linkedin copy

    Chess has a long history of structured openings. You have a set of steps that put you in a certain position, with known strengths and weaknesses. You basically start the actual game several moves in. From the opening, you have several options to branch out from. There is also a common nomenclature. If I say, …


    Read More
  • Separate What From How

    calendar May 6, 2024 · 7 min read · Antipatterns Design Naming Multiple Hats  ·
    Share on: twitter facebook linkedin copy

    The primary point of good Software Design is to separate out what your code does from how your code does it. Being able to make this distinction in real time when coding is critical. Let’s explore. Core versus Shell Look hard enough in the right places and you’ll find the saying: ”Functional Core; Imperative …


    Read More
  • Driver and Service

    calendar Apr 30, 2024 · 8 min read · Driver/Service Code Antipatterns Garbage In; Garbage Out Multiple Hats  ·
    Share on: twitter facebook linkedin copy

    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 More
  • The Mighty Whitespace

    calendar Apr 24, 2024 · 7 min read · Uncle Bob Thoughts Whitespace  ·
    Share on: twitter facebook linkedin copy

    I’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

Featured Posts

  • Propriety
  • Separate What From How
  • Driver and Service
  • The Mighty Whitespace

Recent Posts

  • Express Intent
  • Software Engineering as Bets

Categories

ARCHITECTURE 3 CODING 3

Tags

MULTIPLE HATS 3 ANTIPATTERNS 2 DESIGN 2 NAMING 2 ABSTRACTIONS 1 BETS 1 CHESS 1 DRIVER/SERVICE CODE 1 GARBAGE IN; GARBAGE OUT 1 INTENT 1 OWNERSHIP 1 THOUGHTS 1 UNCLE BOB 1 WHITESPACE 1 YAGNI 1
Everyday Theory

Copyright  EVERYDAY THEORY. All Rights Reserved

to-top