46
pretor
9y

CTO wants all variables in file to be same length. You cant have "start" and "stop". You must have "start" and "cease".

Comments
  • 3
    Seriously? Why?
  • 3
    code readability + OCD
  • 2
    readability?
    What.
    Did he get you dictionaries to find words too?
  • 1
    yeah, google thesaurus
  • 2
    I wonder if he realizes how inefficient he is forcing his team to be with that one
  • 3
    How does one become a CTO with this mindset?
  • 3
    This could make a heck of a Silicon Valley episode.
    Scene 1: CTO orders Guilfoyle to create all variables same length...
    Guilfoyle: &:!:$:&/!:)/7:) you
  • 0
  • 7
    I can only conclude that in this instance, CTO refers to chief tomfoolery officer
  • 1
    Implying code readability when even native English speakers will have to google the semantics behind a variable name every 5 mins due to cryptic thesaurus choices
  • 0
    That's ridiculous, variables names need to be concise and descriptive.

    A good example I have come across is Guzzle namespace for http client.

    $client = new Client(); // What client?
    $guzzleHttpClient = new Client() // Better description
  • 8
    variable001, variable002, variable003. there are many ways to play a madman's game.
  • 1
    Whoa.. I'm not sure if I want to hug this guy or kick him in the nuts!
  • 2
    Start_xxxx
    Stop_xxxxx
  • 1
    I would troll him by using the longest synonyms possible. For start I would use commence and maybe obstruct for stop. 😬
  • 1
    aaa, aab, aac, etc.

    Just
    runn
    away
Add Comment