Hacker News new | ask | show | jobs
by metadat 1504 days ago
> It's become a meme at this point and a lazy argument against a language.

This might be a casual dismissal of what is in fact a nuanced aspect of programming languages.

Multiple ways of doing the same thing can make the language less accessible because it becomes confusing to reason about what the "right" way is.

That said, this particular addition merely reduces repetitive toil, and it follows similar existing Java conventions, for example see the Java-7 equivalent of Python "with-statements".

https://stackoverflow.com/a/35116251

1 comments

yep, agree with you. I become more aware of this when I worked some years in a huge ruby project. Everything was allowed, and with tons of DSLs you dont know anymore what is happening.