Live data from Hacker News

Data on Swearing in Programming Languages

mahdiyusuf.com

1–10 of 37 posts

Re: Data on Swearing in Programming Languages

#4
post #2

How 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

#5
I realize this post is a little tongue-in-cheek, however, you cannot use it to draw any meaningful statistical conclusions. This data makes no sense until you factor in the relative popularity of these languages on Github. We don't know if PHP has little swearing because if it is a great language, or if PHP is rare on Github. Similarly, the reason Javascript and Ruby score so highly is most probably due to the fact that they are extremely popular languages on Github.

Re: Data on Swearing in Programming Languages

#6

I realize this post is a little tongue-in-cheek, however, you cannot use it to draw any meaningful statistical conclusions. This data makes no sense until you factor in the relative popularity of these languages on Github. We don't know if PHP has little swearing because if it is a great language, or if PHP is rare on Github. Similarly, the reason Javascript and Ruby score so highly is most probably due to the fact t…

"To make sure that the popularity of one language over another didn’t skew the results, Vos grabbed an equal number of commit messages per language."

Re: Data on Swearing in Programming Languages

#7
I'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, & swears are naughty"

PHP: "Whats a commit?"

(ps. Just for fun, no flamebait intended!)

Re: Data on Swearing in Programming Languages

#10
post #6

I realize this post is a little tongue-in-cheek, however, you cannot use it to draw any meaningful statistical conclusions. This data makes no sense until you factor in the relative popularity of these languages on Github. We don't know if PHP has little swearing because if it is a great language, or if PHP is rare on Github. Similarly, the reason Javascript and Ruby score so highly is most probably due to the fact t…

"To make sure that the popularity of one language over another didn’t skew the results, Vos grabbed an equal number of commit messages per language."

I don't think it really matters. It may be that PHP developers that swear a lot don't use Github, or that Ruby developers that don't swear use Bitbucket, etc..
Post reply on HN