4 ms·
It looks like ugly hacks are far more popular than clever ones. https://github.com/search?q=clever+hack&type=Code&ref=searchresults https://github.com/search?q
by KhalPanda 12y ago
It looks like ugly hacks are far more popular than clever ones.
https://github.com/search?q=clever+hack&type=Code&ref=searchresults https://github.com/search?q=clever+hack&type=Code&ref=search...
- duiker101 12y agobecause "ugly hack" is a warning to however might want to fiddle with it, clever hack is more just a show off.
- KhalPanda 12y agoThat, and ugly hacks are easier. I was only kidding. :-)
- reidrac 12y agoLook 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.
- leni536 12y agoYeah, I don't think "ugly hack" or any other variants is frequent in bash script comments.