3 ms·
> Sometimes making code more concise really makes it more obscure. Absolutely. A clever one-liner may make sense to you _now_, but try coming back to it after
by RandomBK 11y ago
> Sometimes making code more concise really makes it more obscure.
Absolutely. A clever one-liner may make sense to you _now_, but try coming back to it after a few years when you've moved on to another language/paradigm and can't remember the subtleties of what you've written. I believe "Write Less Code" should be taken to mean "Write modular, reusable code that reduces boilerplate and emphasizes the underlying business logic". Clarity should be the key driver here. Shorter code helps, but it's only a means to an end, rather than the end itself.
- deleted 11y ago[deleted]