News for hackers. Stuff that matters.
Re:Your code style guide is crap, but still better than noth... by whatshisface on Friday January 11, 2013 @12:28PM (#5043749)
>what the heck are you writing that needs to be 120 chars wide?

Ever used java?

private static final Map<Class<? extends Persistent>, PersistentHelper> class2helper = new HashMap<Class<? extends Persistent>, PersistentHelper>();

if ((string1.toLowerCase().equals(Localization.getString('Yes')) || string1.toLowerCase().equals('yes')) && Cleaning.Verifier.isSafeInput(string2) && Cleaning.Verifier.isSafeInput(string3))

The first one I found on google, the second one is based on something one would normally expect to find in an average java codebase.

Re:Your code style guide is crap, but still better than noth... by Ensorceled on Friday January 11, 2013 @02:42PM (#5044559)
True with Java/ObjC you get very view verbs/nouns in the same "sentence" length.

But ObjC and Java developers also have the habit of writing long undebuggable sentences like:

response = object.veryLongMethodName(object2,object3).anotherLongMethodName().yetAnotherLongMethodName(object4)