10 ms·
Pie charts have a lot of drawbacks, sure, but it's ridiculous that we're at the point now where the first (and highest rated) response to a pie chart is always
by DanielStraight 16y ago
Pie charts have a lot of drawbacks, sure, but it's ridiculous that we're at the point now where the first (and highest rated) response to a pie chart is always a negative comment about pie charts, regardless how good or bad the pie chart is.
This one in particular is very clear:
C++, Ruby and Javascript have the most profanity. They're relatively equal to each other and collectively account for more than 50% of the swearing in commit messages.
C is next, with significantly less swearing.
C# and Java are roughly tied a bit below C.
Python and PHP have, comparatively, almost no swearing.
Was that really so hard? When the data is already subjective (what is and isn't a swear word) and intended almost solely for humor, do we really need more precision than a pie chart offers?
It is at best hyperbolic and at worst dishonest to say you "have no idea" how to interpret this. You have an idea. You just don't have precision.
- deleted 16y ago[deleted]
- baltcode 16y agoBut he said he sampled equal number of commit messages from each language.
- Symmetry 16y agoAhem, "Note that I ripped an equal amount of commit messages per language". I do think this is a bad place for a pie graph, but your specific criticism here is misplaced.
- Sandman 16y agoYes, and? The amount of messages is equal, the amount of profanity per a set of commit messages (which is what is measured here) is not.
- Tichy 16y agoWhat are you getting at?
- Symmetry 16y agoThis was in response to a now deleted comment that claimed that more popular languages would show up as having more profanity because they have more commits, even if the profanity per commit was constant.
- Sandman 16y agoI get it now. Sorry, my bad.
- lawfulfalafel 16y agoDude, no. I think he was talking about how you can't tell how the size of the user base of a language is affecting the ranking. So, for example, only 1% of all projects could be in Java, but the swearing could be frequent enough to make it have ~15% of all curse words.
- abraham 16y ago> Note that I ripped an equal amount of commit messages per language so the results aren't based on how many projects there are per language. All the languages are equally represented by commit count.
- lawfulfalafel 16y agoSorry, my bad.
- saraid216 16y agobut his total number is 929857, which is not divisible by 8
- abraham 16y agoWhat a bummer... The percentages might be off by a fraction of a fraction of a percent...
- saraid216 16y agoI see no reason to believe that, given his process for ripping an "equal" number of commit messages per language was broken, that anything else even approaches validity. It's simple arithmetic; a grade schooler who notices that the last number is 7 would realize something's off.
- abraham 16y agoWhat about the process is broken? Did you read the code and find bugs? With a total commit count of 929857 missing a single commit to round out to a perfectly even number of commits in each language is insignificant.
- jamie_ca 16y ago> C++, Ruby and Javascript have the most profanity. They're relatively equal to each other and collectively account for more than 50% of the swearing in commit messages. this is the problem. In the pie chart it's almost impossible to determine which of those three has the most. In the bar chart, it's fairly obvious to my eye that C++ wins, though JS/Ruby are very close.
- nonny 16y agoRather than being organized by language names, the items in the pie graph should have been grouped by size (largest at 12, proceeding clockwise to the smallest at 11:59, for example). What relationship is there to show between the grouped names of programs that outweighs making this clear?
- rbanffy 16y ago> Python and PHP have, comparatively, almost no swearing. Of course. Python users are happy people. I wonder what happens with PHP... ;-)
- binspace 16y ago> I wonder what happens with PHP... ;-) Ignorance is bliss? > Of course. Python users are happy people. Heh, I've been using Python lately and have felt lots of urges to swear, but I can't get myself to commit it. Shoot.
- Palantar 16y agoPHP code gets delivered to the customer :)
- megamark16 16y agoDid they check swear words in other languages? ;-)
- jedsmith 16y agoSo does Python.
- rbanffy 16y agomuch fewer lines of it.
- blah_blah 16y agomaybe they don't know about github?
- xiongchiamiov 16y agoThe same number of commits were taken from each language.
- 16y ago