I'm surprised at the Javascript figure. I leave a few swears in server-side script but the only people that will see that are other programmers; Javascript, anyone can read that. That said, I've found a couple of rants in my old JS from the IE6 days that, well, if I clean them up they're not really sentences.
Data on Swearing in Programming Languages
21–30 of 37 posts
Re: Data on Swearing in Programming Languages
#22 #define DEFINE_GUID_RIGHT_FUCKING_NOW_DAMMIT(x) // ... stuff
I wrote that at 2AM once when I was at a start-up. I'm not proud. (Well, okay, I am).A couple years later (after the start-up had imploded) I was asked to consult to fix issues that cropped up in the code at a customer site -- they'd bought an SDK and were having problems. During a walk-through of my fixes I found myself explaining that line of code to a suit.
The suit nodded. "GUIDs. Yeah, getting those right is tricky."
[That consulting gig was sweet; short, but I was able to charge $300 an hour. I should have charged more, they basically didn't care.]
Re: Data on Swearing in Programming Languages
#23Re: Data on Swearing in Programming Languages
#24How can there be so little swearing with php? That's all I'm doing when forced writing that language. Love this type of stuff though!
I'm not sure there's as much of a culture of using version control among PHP devs (they generally just upload the new version via FTP) or I'm sure it'd be much higher..
Re: Data on Swearing in Programming Languages
#25Re: Data on Swearing in Programming Languages
#26Ha. I just made a hack about this at PennApps - http://www.commitlogsfromlastnight.com
Re: Data on Swearing in Programming Languages
#27Ha. I just made a hack about this at PennApps - http://www.commitlogsfromlastnight.com
(Also, go Penn! It's cool reading a hackathon website and thinking, "Towne 100? That's where I had that one BE lab...")
Re: Data on Swearing in Programming Languages
#28Re: Data on Swearing in Programming Languages
#29Re: Data on Swearing in Programming Languages
#30I'm sure this same story came up a while ago, but whatever. Here's my take on the type of swearing in commits as per the story (XXXX represents swearword of your choice). C++: "Finally fixed it. My XXXX head hurts" Javascript/Ruby: "Finished adding 15 new features. I am XXXX awesome" C: "No time to swear, busy hacking. Oh XXXX whoops" Java/C#: "Wouldn't swear, unprofessional & boss is watching" Python: "All happy, &…