ExploreTrendingAnalytics
Nostr Archives
ExploreTrendingAnalytics
hodlbod5d ago
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.
💬 1 replies

Thread context

Root: 870a287751bc…

Replying to: 31d4adf12f56…

Replies (1)

Floppy PNG5d ago
I use the Deno linter. While I find it beneficial in my code to differentiate const and let, it can be turned off fairly easily. https://docs.deno.com/lint/rules/prefer-const/
0000 sats