Hacker News new | ask | show | jobs
by djsumdog 2957 days ago
It's funny how in most corporate/commercial code past 2005 or 2010, you'll rarely ever see profanity in comments. I've never put profanity, or even any jokes, in comments. I really try to keep my professional code professional.

Even on my own OSS projects I tend not to do that anymore.

4 comments

Unfortunate that we (as a collective --- not something I personally believe in) seem to think that that is being "professional", and that it is somehow a reason to make everything as bland and soulless as possible, and that that is somehow better? I agree that a lot of code has lost its "character", so to speak.

The Linux kernel still retains much of its fucks and shits, and apparently has gained a whole lot of crap: https://www.vidarholen.net/contents/wordcount/

It's an unfortunate loss for our conceptual heritage for the word 'professional' to have been mostly hijacked to mean something more like 'obedient', 'conformist', 'dull', 'bland', 'besuited' etc.

Once you don't have a word to express a concept, that concept can quite quickly fall out of circulation. Professionalism was a useful part of modern culture: it would be a shame for it to disappear from the lexicon. A horse that's bolted, I fear.

Amen!

We have ugly words for ugly feelings ideas places things. Putting them in there is no crime.

That made my day thank you :)
I don't cuss in my professional code because I work with a lot of programmers in another country, and I think it would just cause confusion. "What means 'shitpig' in the constructor?"
Really? I see it all the time in web code...

something like "// this is fucked" is pretty darn common, even in corporate code. It gets stripped by minifiers anyhow

I wonder if that's due to the trend of not writing that many comments in your code to start with? Maybe all that has migrated to the version control commit logs?