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 "asdf" and "iebruxbwvriy" or any other glibberish. Good thing is it's unique, better than the usual "print 'hello' everywhere"-approach
-
CodeNoir7347yPeople put so many swearing comments/debugging messages in my company that at a point the general manager sent an email to everyone to tell us to keep it SFW. I think a client complained.
-
Yeah, I do that in dev and my personal projects that don't go anywhere, but never in production. Far too risky that someone might see it.
-
I used too. It's just not worth it once you want meaningful data out of it.
It's fine if you're the only one maintaining it, yet the next developer most likely will rather become annoyed than amused. Keep the jokes in comments or commit messages. And be mindful of your word choices. Humor is a delicate thing and can be perceived as offensive / inappropriate by a client or colleague. You don't want that trouble. -
And for the love of gawd: use brackets around if statement blocks! I definitely don't code like that! 😋
Related Rants
does anyone else write code like this
random
faaack
debug
idk
weird debug log