News for hackers. Stuff that matters.
Re:Microfeatures I'd like to see in more languages by _a_a_a_ on Saturday January 07, 2023 @07:04AM (#34287307)
(per your other posts, extension methods is their name. And they aren't supported here, got it).

> it silently does the wrong thing

yeah, my original complaint was this

> why should we tolerate that verbosity when there's a solution that makes code both shorter and more readable?

Because it's a balance. How much it benefits how many users to what degree vs. extra cost of implementation and maintenance. If you're not careful you go down the kitchen sink road and end up with bloat. Be careful when adding stuff cos you have to support it forever.

Anyway, thoughtful answers thanks.

There are no comments on this comment yet.