News for hackers. Stuff that matters.
Re:What happens when you search 'ugly hack' in GitHub by KhalPanda on Thursday July 17, 2014 @05:46AM (#8046638)
It 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 by reidrac on Thursday July 17, 2014 @05:57AM (#8046675)
Look for dirty hacks; still... C way ahead the rest.

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.

Re:What happens when you search 'ugly hack' in GitHub by leni536 on Thursday July 17, 2014 @06:06AM (#8046695)
Yeah, I don't think "ugly hack" or any other variants is frequent in bash script comments.
Re:What happens when you search 'ugly hack' in GitHub by duiker101 on Thursday July 17, 2014 @05:48AM (#8046652)
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 by KhalPanda on Thursday July 17, 2014 @05:50AM (#8046657)
That, and ugly hacks are easier. I was only kidding. :-)