2026-03-12 19:00:20 CET
in reply to

hodlbod on Nostr: Encapsulation assumes developers are dumb and will shoot themselves in the foot. They ...

Encapsulation assumes developers are dumb and will shoot themselves in the foot. They are, and they will, but I prefer my code to have affordances for me to do weird things. But a big part of that is the difference between being a one-man team with comprehensive knowledge of the codebase and being on a larger team with shared institutional knowledge.

My complaint is less about const, which is a good idea, than about linters wasting my time by making me switch back and forth. The number of times const has saved me doesn't compensate for the busy work of pleasing the linter.