Agge
agge.bsky.social
Agge
@agge.bsky.social
Using ternary expression to execute methods with side effects, as you would use if-statements… feels wrong.
September 12, 2025 at 12:22 AM
Or perhaps on a small level this is true - when talking about hundreds of lines of code.

But when talking about thousands of lines of code, perhaps that original thought holds true.

A big coherent package acts as a bounded context, and there is a lot to gain to keep that code close.
November 24, 2024 at 3:01 PM
On second thought, likely an oversimplification.

Small interfaces are good - it promotes composability.

But doing too much behind that interface increases the risk that it becomes to specific to be very useful in the long run. Too many reasons to change - and likely to slow you down.
November 24, 2024 at 2:50 PM