Hacker News new | ask | show | jobs
by KhalPanda 4348 days ago
It looks like ugly hacks are far more popular than clever ones.

https://github.com/search?q=clever+hack&type=Code&ref=search...

2 comments

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.

Yeah, I don't think "ugly hack" or any other variants is frequent in bash script comments.
because "ugly hack" is a warning to however might want to fiddle with it, clever hack is more just a show off.
That, and ugly hacks are easier. I was only kidding. :-)