Hacker News new | past | comments | ask | show | jobs | submit login

Boilerplate is better than bad abstractions. But good abstractions are far superior.





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

Even Rails went with codegen despite being backed by the language most amenable to abstractions.

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

Abstractions are like mutations - most of them kill the host =P

The best abstraction is no abstraction.

No.

Edit: I'm not going to code asm just to be cool.


asm? Why would anyone use that useless abstraction over byte code?

bytes are abstractions. Only use them if you know upfront how many bits you need.



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: