Skip to content

Comment on You Don't Want to Think Like a Programmerparent

Comments

My solution:

    var firstVar  = "one";
    var secondVar = "two";
    var thirdVar  = "three";

    var thisVarHasAReallyLongName       = "four";
    var thisIsAnotherVarWithALongerName = "five";
The different length of the variable names should be derived from the fact that the variables themselves are different. So they should be grouped separately.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.