News for hackers. Stuff that matters.
Re:First Impressions of Python from a Java Developer by guelo on Monday November 08, 2010 @02:32PM (#1883645)
I never understood why Java never got some nice utility functions for dealing with common stream actions such as looping through an InputStream or slurping a text file. Every developer ends up carting around their own version of these functions when they should just be in the standard library. Many complaints about Java's verboseness have to do with this type of boilerplate that could easily be hidden away in utility functions.
Re:First Impressions of Python from a Java Developer by lusis on Monday November 08, 2010 @03:17PM (#1883812)
Isn't that what Apache Commons is for? It's sad that you have to resort to that but at least someone stepped up to the plate.
Re:First Impressions of Python from a Java Developer by electrum on Monday November 08, 2010 @04:55PM (#1884184)
Re:First Impressions of Python from a Java Developer by simonista on Monday November 08, 2010 @03:34PM (#1883870)
util.Scanner

I recently learned about them and they simplify a surprising number of simple parsing tasks.