40

Proud dev moment : as I was following the variable naming conventions from my company, I got to name a variable "l_o_tr" 💪

Comments
  • 4
    The world has changed. I feel it in the water. I feel it in the earth. I smell it in the air.
  • 2
    "One ring to rule them all"
  • 10
    Sorry to say this but that seems like a shitty convention.
  • 1
    @DeepSpace it is IMO, the underscore key is not easy to access on a French keyboard
  • 2
    Yeah, if I have to check a document or memorize arbitrary aliases to know what a variable's intent is, I ain't gonna like it.
    Let me guess, it's one of those Hungarian notation-style conventions where you put the variable's type in the name (i.e. long = l).

    That said, <insert LOTR reference here>
  • 1
    @Shodan exactly, first letter means local/private/global/etc... and second letter is the type, but when it's a slightly specific object there's no assigned letter so I have to put "o" for other
  • 1
    My boss would go nuts about that (not in a nerdy way).
  • 2
    @NazgUruk "One ring to rule them all, one ring to find them, one ring to bring them all and in the darkness bind them"
  • 0
    @Duckscancode Ash nazg durbatulûk, ash nazg gimbatul,ash nazg thrakatulûk, agh burzum-ishi krimpatul.
    By the way i am no fan.I am just a devout follower....
Add Comment