News for hackers. Stuff that matters.
Re:What happens when you search 'ugly hack' in GitHub by amirmc on Thursday July 17, 2014 @05:48AM (#8046649)
I'd be curious to see if there's a relationship between 'ugly hack' in code commits and the languages being used (though it'd probably say more about the programmer than the language). The bar chart on the left of the page hints that it's possible, but would have to be normalised.

My hypothesis is there'd be no real difference, but it would be fun to explore nonetheless.

Re:What happens when you search 'ugly hack' in GitHub by exabrial on Thursday July 17, 2014 @06:02AM (#8046687)
I would think the left bar would remain accurate. C lets you shoot yourself and people do it. PHP is terrible for a lot of well documented reasons. Javascript is being used for things it originally never envisioned.

The hyped dynamic languages sort of surprise me, with their modern APIs. I'm guessing most of that is poor framework programing.

Finally, Java's numbers? lol. Its a brave new world. If this was 8 years ago in ejb v1.2 Java world have taken the crown.

Re:What happens when you search 'ugly hack' in GitHub by fuzzix on Thursday July 17, 2014 @05:55AM (#8046668)
> I'd be curious to see if there's a relationship between 'ugly hack' in code commits and the languages being used

Perl is not in their list.

Either everything we do is an ugly hack, or everything we do is simple and elegant. :)

Re:What happens when you search 'ugly hack' in GitHub by giancarlostoro on Thursday July 17, 2014 @09:02AM (#8047234)
Or... nobody writes in Perl anymore... or... every Perl developer is a seasoned Perl developer.
Re:What happens when you search 'ugly hack' in GitHub by fuzzix on Thursday July 17, 2014 @09:57AM (#8047517)
Welp, neither of those are true.