Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I use anal as global variable
Because FirebaseAnalytics.getInstance() is toooo long -
You know he did this on purpose.
It seems a lot of developers have this kind of irreverent, blue collar humor in their code. -
Hah!
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.
🤷 -
Noob64607y@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(); -
Same thing here. A lot of people abbreviate "current" to "cur", which means "ass" in my language.
-
I shorten permission to perm, exception to ex.
Really nice when you work with php $perm and $ex
My senior dev, shortens “analytics” into “anal” variables. Iam literally dying while Reading through the code!
rant
#growupson