Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

1. Java itself is terrible. It doesn't have lambdas. Enough said.

2. Everything gets hacked together and becomes old and outdated.



The presence or absence of anonymous functions is the deciding factor in terribleness now? I guess that makes PHP non-terrible, right?

(and yes, I'm being sarcastic)


The presence is meaningless; the absence is a deciding factor in terribleness.


---1. Java itself is terrible. It doesn't have lambdas. Enough said.

technically yes but it can be simulated with interfaces and in line declared classes that implement said interface and then have calling reference to the current classes delegate method. I used to scream and yell about this until someone pointed out that I could accomplish the same result this way. I will be the first to day that it is not pretty but you can accomplish the same result.


The result I'm looking for is clean, intuitive code. The Java hack for lambdas does not accomplish that at all.


Just pointing out that technically it can be done, your statement about not having it could mislead someone. I am not arguing the merits of whether or not it is the most optimal solution or not. Just pointing out that it can be done.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: