What happens when you search 'ugly hack' in GitHub
1–10 of 69 posts
Re: What happens when you search 'ugly hack' in GitHub
#2https://github.com/search?q=clever+hack&type=Code&ref=search...
Re: What happens when you search 'ugly hack' in GitHub
#3Re: What happens when you search 'ugly hack' in GitHub
#4My 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
#5It looks like ugly hacks are far more popular than clever ones. https://github.com/search?q=clever+hack&type=Code&ref=search...
Re: What happens when you search 'ugly hack' in GitHub
#6It looks like ugly hacks are far more popular than clever ones. https://github.com/search?q=clever+hack&type=Code&ref=search...
because "ugly hack" is a warning to however might want to fiddle with it, clever hack is more just a show off.
Re: What happens when you search 'ugly hack' in GitHub
#7I'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.
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
#8Re: What happens when you search 'ugly hack' in GitHub
#9It looks like ugly hacks are far more popular than clever ones. https://github.com/search?q=clever+hack&type=Code&ref=search...
Interesting that "ugly" places PHP over Javascript, but "dirty" is the other way around.
I wonder what does it mean. The comments and the "ugly" or "dirty" qualifiers are just part of the perception of the person writing the comment, and they're contributing to spread that perception to others.
What qualifies as "ugly", "dirty" and "clever", or even as "hack", may be quite different depending on the language and the community behind it.