2 ms·
> What positive things can we say about a programming language where this is valid code? Just because it parses doesn't mean anyone would ever write it in a se
by hardwaresofton 8y ago
> What positive things can we say about a programming language where this is valid code?
Just because it parses doesn't mean anyone would ever write it in a serious project.
Also, I've seen worse in Java (AbstractSingletonProxyFactoryBean), the only difference being that someone wrote the code with good intentions -- not as a joke. "Idiomatic" Java code is often bloated, and people who write it have been trained to defend the bloat until their dying breath.
> Or the community tradition of writing one liners as npm packages?
I'd pick npm over the hellscape that is maven +/- gradle and managing the class path anyday.
I honestly think in about 5~10 years, something like Golang is going to be more common at most forward thinking companies than Java, with or without generics.
- pjmlp 8y agoGo is good as better C replacement for all use cases still being written in C that could actually be done safely in a GC enabled language, as they aren't targeting stuff like 16KB PICs. For anything else, we have seen the future.