My senior dev, shortens “analytics” into “anal” variables. Iam literally dying while Reading through the code!

  • 6
    I use anal as global variable
    Because FirebaseAnalytics.getInstance() is toooo long
  • 6
  • 3
    @blackfisk are you 13?
  • 2
    Who doesn't? 😄
  • 7
    You know he did this on purpose.

    It seems a lot of developers have this kind of irreverent, blue collar humor in their code.
  • 4
    This rant had 69 ++s. I was a little confused about ++ing it.
  • 3
    We had a concept of "assignment" in one of our projects and we all started shortening it to "ass" for variable names.

    In our database library, where we insert assignments into the database, we used "insert_ass" variable names. Didn't follow our coding guidelines though but it made the project fun to maintain.
  • 3
    I studied mathematics at uni. Here are some course abbreviations we had (read them out loud - but not too loud!):

    REAL-ANAL = real analysis
    REAB-ANAL = real & abstract analysis
    COM-ANAL = complex analysis
    NUM-ANAL = numerical analysis
  • 3
    @Autism420 A professor of mine in the university once wrote a recursive function that adds one number to the other without using the "+" operator.
    Originally he called it recSum(), which makes sense.
    Later students copied it with typos like recum();
    The best was (not sure of intended) recTum();
  • 0
    I also 'like' the common abbreviation fab for floating action buttons...
  • 0
    Don't forget to use AnalHandler and implement getAnal()
  • 1
    Same thing here. A lot of people abbreviate "current" to "cur", which means "ass" in my language.
  • 0
    @Autism420 in TI calculators the function is actually called cumsum
  • 2
    I shorten permission to perm, exception to ex.
    Really nice when you work with php $perm and $ex
Add Comment