News for hackers. Stuff that matters.
Re:Printf(“%s %s”, dependency, injection) by matheusmoreira on Tuesday October 19, 2021 @08:48AM (#28917494)
> people just didn't get that you could do the composition in code

Yeah, Java does that to people. It's such a limited language that it becomes impossible to conceive of better ways to solve problems.

Apparently it's come a long way since Java 6, it's even broken backwards compatibility, never expected that to happen. It's adopted many functional concepts in the usual insanely verbose Java style. Still a very limited language though, especially when compared to real functional and object-oriented languages. It's limited even when compared to C.

Re:Printf(“%s %s”, dependency, injection) by pjmlp on Tuesday October 19, 2021 @02:44PM (#28921808)
Apparently is too advanced for the Go crowd, so there is that.
Re:Printf(“%s %s”, dependency, injection) by matheusmoreira on Tuesday October 19, 2021 @05:31PM (#28924009)
Well, Go was explicitly designed not to be too advanced. Here's quotes from its designer:

https://news.ycombinator.com/item?id=16143918

> The key point here is our programmers are Googlers, they’re not researchers.

> They’re not capable of understanding a brilliant language

> So, the language that we give them has to be easy for them to understand

It's pretty insulting in my opinion. Imagine being a programmer at Google, likely one of the best jobs in tech, and reading this.