News for hackers. Stuff that matters.
Re:I think I figured out why good Java developers are so har... by tkahn6 on Thursday October 14, 2010 @03:57AM (#1790183)
I think it's because Java is just plain and simple a boring language.

I agree for the most part. I make my college programming projects fun by finding uses for the Reflections API.

Check out 'invoke'. http://download.oracle.com/javase/1.4.2/docs/api/java/lang/r...

Re:I think I figured out why good Java developers are so har... by rb2k_ on Thursday October 14, 2010 @04:14AM (#1790216)
That's cool, but the sad part is that this is a common feature with most other languages and not just some added library. Still great that you show what's possible :)

Also: does anybody know why Java core classes don't have examples in the documentation? (compare: http://ruby-doc.org/core/classes/String.html )

Re:I think I figured out why good Java developers are so har... by brazzy on Thursday October 14, 2010 @11:03AM (#1791113)
Um... reflection is a core feature of Java, and has been since Java 1.1
Re:I think I figured out why good Java developers are so har... by rb2k_ on Friday October 15, 2010 @03:27AM (#1793903)
Oh sorry then, I don't use Java a lot these days...

It just seemed weird to me that I had to include it. I'm used to this functionality being available without any additional steps because it is implemented in something like an "Object" class.

(Lots of Ruby these days)

Re:I think I figured out why good Java developers are so har... by megamark16 on Thursday October 14, 2010 @11:19AM (#1791182)
A coworker and I were just talking about this, and we decided that it was probably due to the fact that a lot of documentation in Java and .NET is auto generated based on the code comments, which are highly standardized and strictly enforced. Most languages have tools for generating documentation based on code comments, but in Java and .NET you usually end up with a lot of "Here's the signature of the constructor for this class, and here's a list of methods and members." It's lame, and often pretty useless.
Re:I think I figured out why good Java developers are so har... by tkahn6 on Thursday October 14, 2010 @04:31AM (#1790255)
the sad part is that this is a common feature with most other languages

yep. I was hoping they would add closures before I graduate but it doesn't look like it.