Live data from Hacker News

I have been defeated, java sucks

news.ycombinator.com

21–28 of 28 posts

Re: I have been defeated, java sucks

#21
post #14

Earlier quoted context omitted.

I wonder if there is any language that a corporate environment could not make to suck.

Java was ruined for me in college. I hated it. I then decided to conquer my hatred of it when I started my first job. I had the help of an interesting project wherein I had LOTS of freedom to learn and make stuff in a lab without the fetters of enterprise requirements... I began to love it. Fast forward 2 years and I've changed jobs. I feel like I can hack my way out of any nasty problem. Java is more unweildy in thi…

I think you are on to something. Maybe the ability to code with flow is also a major factor to liking a language and the task it is used for. To sit in an uninterrupted "Aha! I fix!"-loop with the feeling that there is progress and one get kick out of it continuously.

When doing maintenance on patchy code, working with a flub-language, or having a edit-compile-debug cycle that is annoying, one is more likely to be in a "Uh! Wtf!"-loop.

Now... how can one turn these theories around to something useful that one can apply to our day-maintenance-programming-job to make them fun and tolerably? Because they do pay well, and there is typically much to learn.

Re: I have been defeated, java sucks

#23

1. Java itself is terrible. It doesn't have lambdas. Enough said. 2. Everything gets hacked together and becomes old and outdated.

---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.

Re: I have been defeated, java sucks

#25
post #23

1. Java itself is terrible. It doesn't have lambdas. Enough said. 2. Everything gets hacked together and becomes old and outdated.

---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 bu…

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

Re: I have been defeated, java sucks

#26
post #23

Earlier quoted context omitted.

---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 bu…

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.

Re: I have been defeated, java sucks

#27
That convolution situation holds about all programming languages in corporate environments. This situation is even worse in Java though, because it lacks good tool support (yes sure eclipse rocks...) and it is overwhelmed by millions of libraries that do the same thing (but none of them does what you want:D).

Re: I have been defeated, java sucks

#28
I'm over 50. I've been to the zoo to see the animals. Started with Fortran, seen different technolgies come and go, until recently I liked what I did.

Speaking with about 1 year of java, now I know how 9 women can produce a baby in one month. Now I know how a herd of turtles (galapagos tortoise variety) can cross the desert.

The first Fortran compiler was released around 1954. I started 20 years later. Java is proof positive that we have accomplished very little in the way of compiler development in 55 years. Sure, lots of clever languages have been created, but none have made it to the mainstream. Must be the clever marketing. Java has the least semantic density (lines of code to accomplish a given task) of any of the mainstream langauges - more time is spent navigating with some of the incredibly good tools.

If Java is the only language you know, do yourself a favour and learn something else. Not C#, but Perl, Haskell, J, anything. Have a basis for comparison.

I'm going back to fixing bicycles.

Post reply on HN