News for hackers. Stuff that matters.
Re:Programming Language Rankings: February 2012 by runn1ng on Monday July 02, 2012 @04:06PM (#4190693)
What I really dislike on Java is that you have to repeat yourself, over and over and over.

For example, you have to write all these getters and setters ad nauseam, even if all they do is just setting the damn variable. Or the anonymous classes, the syntax is horrible.

Now I understand that the object model is simple and easy to understand, but still, I prefer Scala more. It works with java, but it's many times easier to actually use.

Re:Programming Language Rankings: February 2012 by mark_l_watson on Monday July 02, 2012 @07:39PM (#4191662)
Unless I am coding for a "picky customer" I use what I refer to as Java Lite: public instance variables, shallow package hierarchy, etc. I have been using Java since the beginning and have written several books on Java so (at least for my own stuff) I feel comfortable breaking the rules.

I also format code to match a small but wide monitor (MacBook Air 13) and although a lot of people would understandably not like the longer line formatting using up to 100 columns, my code density is good - a typical method easily fits on my display. I also favor short classes.