Manuel Meyer
1 min readOct 17, 2022

--

I go fully along with the premise that writing better codes starts with deleting old one. it is redicilous that teams try many many times to fight the issues that comes from the complexities in their codes by ever adding more complexities to it. it doesnt make sense, but basically all insist on doin so.

However: the goal must not be to write code easier — but simpler. and this is not achieved by formatting code, but by reducing complexities in the code. By using only on-directional flows. using only immutable datatypes, avoiding classes where a mother thing might be just simpler… in short: avoiding accidental complexities.

My last article might be interesting for that:

https://betterprogramming.pub/meet-khipu-a-boilercode-free-implementation-of-clean-architecture-in-swift-f76ccab82ff3?sk=a8938450032cb5aa67a4e7938c0b774a

btw: I have 15+y of experience as coder. I love the ternary operator and I would question the sanity of whoever formats code like your example.

again: the goal is not to create code easier and faster — but simple, as a structure.

must see: https://www.infoq.com/presentations/Simple-Made-Easy/

--

--

Manuel Meyer
Manuel Meyer

Written by Manuel Meyer

Freelance Software Developer and Code Strategist.

No responses yet