172
Joseje
8y

Making Variables

Comments
  • 51
    Dem java devs always hit that left button like it's a punching bag.
  • 27
    Left button ALWAYS
  • 30
    I'll never understand why someone would choose short over descriptive. You don't have an IDE that has auto complete in 2017?
  • 8
    Why not a short name (which if find more readable) that is descriptive enough ? :)
  • 28
    $cls VS
    $btnToCloseWhatOpenedAndAlsoCloseTheSessionIfPossibleAndThenDie
  • 12
    Declare variables to random letters. That's how real men code!
  • 3
    @darksideplease well you only write once, but read and debug and modify all the time so it's worth it to find your way after few months in a huge project.
  • 1
    Easy, descriptive, the compiler can make them short for production.
  • 1
    @sSam shorter lines, that's why
  • 5
    For var i in x 😂
  • 5
    Tbh when you can't name your variable with two adjectives and a noun then chances are the containing routine needs refactoring.

    Names like transactionalConnectionPoolConfigurationViewHelper is a no no!
  • 1
    I use vim without auto-complete, always short, luckily nobody else but me uses the code 😮
  • 0
    @sSam what about in functional programming where the variable name means less because you're thinking about taking a type that could apply to any variable of that type?
  • 2
    Do both. Make descriptive, then shorten it. Then add explanation to documentation or in comments.
  • 0
    @sylar *blinks*... SHIT! what the fuck... did I write this code?... *blinks* dang it where was I? Hmmm... *blinks* OH FOR FUCKS SAKE!
  • 2
    WHY NOT BOTH??
  • 0
    descriptive always
  • 1
    Two variables? In tandem? Genious!
  • 0
    @aviv ever heard of SPR? your button does too many things
  • 0
    variableForStoringDatabaseQueryResultOutsideOfTheAsyncQueryMethod
  • 0
Add Comment