3 ms·
Boilerplate is better than bad abstractions. But good abstractions are far superior.
by andix 2y ago
Boilerplate is better than bad abstractions. But good abstractions are far superior.
- pertymcpert 2y agoThe best abstraction is no abstraction.
- andix 2y agoNo. Edit: I'm not going to code asm just to be cool.
- brookst 2y agoasm? Why would anyone use that useless abstraction over byte code?
- nuancebydefault 2y agobytes are abstractions. Only use them if you know upfront how many bits you need.
- deleted 2y ago[deleted]
- xmprt 2y agoI agree with you but as I've matured as a programmer, I feel like it's very hard to get abstractions for boilerplate right. Every library I've seen attempt to do it has struggled.
- Spivak 2y agoEven Rails went with codegen despite being backed by the language most amenable to abstractions.
- int_19h 2y agoI would consider deterministic codegen to be a valid abstraction (or rather a valid implementation of some abstraction). It's not really any different from a regular library wrt ability to test & validate. The problem with any human- and LLM- handwritten code is that even the best coders make mistakes.
- bubblyworld 2y agoAbstractions are like mutations - most of them kill the host =P