4 ms·
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, i
by djsumdog 8y 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.
- abritinthebay 8y agoReally? 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
- s73v3r_ 8y agoI 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?
- userbinator 8y agoUnfortunate 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/ https://www.vidarholen.net/contents/wordcount/
- ddingus 8y agoAmen! We have ugly words for ugly feelings ideas places things. Putting them in there is no crime.
- keyle 8y agoThat made my day thank you :)
- crispinb 8y agoIt'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.
- FroshKiller 8y agoI 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?"