Re:WTFs by programming language repository on GitHub
by sigil on Wednesday September 18, 2013 @11:23PM
(#6409602)
A fair share of the WTFs for python are probably due to the WTForms library. I count 6 out of 10 WTForms matches on the first page of github file results.
Re:WTFs by programming language repository on GitHub
by James_Duval on Thursday September 19, 2013 @05:32AM
(#6410671)
They might be, but equally they could be a marker of an unorthodox but brilliant piece of work (fast inverse square root springs to mind). I suppose that's the unscientific part, but it does strike me as being a bit of a useless marker.
Re:WTFs by programming language repository on GitHub
by jfasi on Wednesday September 18, 2013 @10:47PM
(#6409479)
Is the graph normalized to account for lines of code per repository? WTFs by repository is a useless number: I'd be more interested in seeing the WTFs per line.
Re:WTFs by programming language repository on GitHub
by yaph on Thursday September 19, 2013 @06:19AM
(#6410795)
Last year I did something similar, but instead of searching the code I looked at commit messages that matched certain patterns to categorize them by emotions, you can see the results here
Re:WTFs by programming language repository on GitHub
by rheide on Thursday September 19, 2013 @03:52AM
(#6410400)
People would probably only use wtf if the language did something that they didn't expect of it, regardless of how wtf the language actually is. This just shows that Python programmers programming in Python use WTF x times and Java programmers using Java use WTF y times.
(This would also explain why the wtf rate for Javascript is so low ;) )
Re:WTFs by programming language repository on GitHub
by otikik on Thursday September 19, 2013 @02:14AM
(#6410130)
The answer is in the comments of that site. Lua is used in lots of places, but the earliest "famous" one is World of Warcraft, where it is used to make extensions. The folder where those extensions are stored is called WTF (Warcraft Text File), so on every warcraft extension the string WTF appears multiple times. See http://www.wowwiki.com/WTF
https://github.com/search?q=wtf+extension%3Apy&type=Code&ref...
Perhaps something like WTFs per commit would be best?
http://geeksta.net/geeklog/exploring-expressions-emotions-gi...
(This would also explain why the wtf rate for Javascript is so low ;) )
https://github.com/search?q=wtf+extension%3Alua&type=Code&re...
"What a Terrible Failure: Report an exception that should never happen."
http://developer.android.com/reference/android/util/Log.html..., java.lang.String)
http://www.youtube.com/watch?v=V44kscaJe3M