News for hackers. Stuff that matters.
Re:The Logging Mess in Java by kabdib on Thursday September 22, 2011 @09:31AM (#3025991)
Someone should invent a name for this problem. It's the reason we get a zillion test frameworks, untold thousands of database layers and uncountable reimplementations of linked lists. I can't get through the code of a sufficiently large system without running into someone's crappy command line option parser package, more likely two or three. Don't get me started on rewrites of functions that are already in the library (strcmp, I'm looking at you).

"All these existing packages are terrible; nothing that exists measures up. I'm going to write my own that is just going to /rock/."

That seems to be the issue; a low bar for entry, and it's hard to wade through the spam and the chaff of stuff that's already around and find something that will work well. It's a little like the satellite debris problem we have in LEO right now; there's an inflection point beyond which the sea of junk starts spawning new garbage.

Basically, when you have programmers, you get code. For years that was Microsoft's problem ("We have all these people, and they just won't. stop. typing! Augggh!")

Re:The Logging Mess in Java by PaulHoule on Thursday September 22, 2011 @11:13AM (#3026325)
The strength and the weakness of Java is the huge amount of open source code that's out there. Logging is the worst example, but you can find it anywhere. It's not unusual for a modern web application in Java to have five or more JSON codecs built in. PHP might have a stupid API, but PHP programs regularly use json_encode() and json_decode() and you never need to think about different behaviors in corner cases and different ways to deal with the impedance mismatch between static Java and dynamic JSON.
Re:The Logging Mess in Java by pointyhat on Thursday September 22, 2011 @09:36AM (#3026004)
Re:The Logging Mess in Java by jrockway on Thursday September 22, 2011 @10:54AM (#3026257)
I think it's more like this:

http://xkcd.com/927/

Re:The Logging Mess in Java by pointyhat on Thursday September 22, 2011 @04:40PM (#3027701)
Ha I like that :)