Not sure about the author, but programming is most often a lonely exercise with alternating bouts of creativity and tedium. Comments like these bring out the humanity.
I love these comments. It would really make my day if I found those when trying to fix a bug a few years later.
and author of Notepad++ made an open-source project used on a massive scale
(none is obligated it to work on open source, but I consider it admirable and praiseworthy, especially if someone is doing it successfully and helping many other people)
> it reflects very poorly on them
why?
This doesn’t mean what we code is low quality or hacky. But this requirement doesn’t exclude the permission to have fun.
Sometimes a variable name, sometimes a hex value, sometimes a comment or Easter egg.
Life is too short to be too serious about anything and everything.
I write code since 1999 or so. I still have fun here and there.
Whenever I do a pandas dataframe melt, I name the variable "melted_cheese". I could just name it something plain/boring, but life is simplybetter with melted cheese.
I had been given the task to add an insignificant feature to a minor subsystem, and by chance the first two methods I added to my class had names that started with the letter A. I had to “ask” the user for confirmation, and I had to “authenticate” a widget. To keep myself interested, I pushed myself to continue the trend. I needed names for about six or eight methods, and the last two were the hardest. I had to lock some files to deny anyone permission to read them, and I had to record the actions taken in a database. I had the implementations written and tested, I just needed good names.
I ended up with the names “afsluiten” (literally “off–close”, or “to close off”) and “αναγράφω” (“anagrapho”, to inscribe, record, or publish). I laughed so much when I found both of them. They were perfect! I committed, pushed to a branch, wrote up a pull request, and then started a two–week vacation the next morning.
I anticipated that on my return we would all laugh at these funny names in our weekly meeting, that the team lead would request that I rename these two methods, and that I would then push to master with English names. Instead, I had a meeting with HR and the VP of Engineering about how I was mocking them, disrespecting their work, how unprofessional it was, and on and on and on. Apparently the team had been stewing on this “insult” for the whole two weeks, making it worse and worse in their minds.
I was rather sad when they fired me, but I have been so much better off ever since; the people I work with now actually know what humor is, and how to play. They can even express admiration and wonder when someone does something clever or slick. It’s like night and day.
I deeply appreciate that level of wordplay though! Glad it worked out for you in the end, and I hope you have continued to express true creativity in your code :)
The programmer chose the filenames: "holes" and "assholes". kudos!
NB: This was MSDOS days when filenames could be a maximum of 8 characters.
Being uptight about it doesn't reflect super well on you either IMO.
we must cancel the cancel people.
Time to get back what is ours.
And keep the kids in safe spaces if they can't play outside.
Being able to joke is a sign of maturity. Some people loose this ability when they become adults.
Succeed? Have a personality?
This kind of humour is fine to see in passing on HN, but I'd be furious if someone put it in my production code.
Roughly : "I eat therefore I shit"
I never understood devs that do this, it reflects very poorly on them and it doesn't bring anything to the table. Way to show your immaturity.
I write code since 2006, 99% of it is private and is mostly read by me and I still don't do this.