Earlier quoted context omitted.
So, HN's hate-child PHP is funnier, more beautiful, less ugly and less confusing than sexy JavaScript. Although Python rules them all.
To be fair, PHP has a well-known problem of a lot of people not being able to properly judge the quality of the code they write ;) [1] [1] Of course I don't mean you, my dear PHP writing comment reader.
What happens when you search 'ugly hack' in GitHub
41–50 of 69 posts
Re: What happens when you search 'ugly hack' in GitHub
#42Some results normalized by overall language popularity. Specifically, the entry in row R and column C is 1000 * (hits for C in language R) / (hits for "the" in language R) or "---" if either the numerator or denominator was small enough not to make the top-10 list on github. All the scraping was done by hand and the numbers rounded to a limited number of places in the process, so there may very well be mistakes. [EDI…
Re: What happens when you search 'ugly hack' in GitHub
#43Pretty interesting/amusing to see the language breakdown of various words (with big grains of salt): https://github.com/search?q=beautiful&type=Code https://github.com/search?q=ugly&type=Code https://github.com/search?q=lol&type=Code https://github.com/search?q=wtf&type=Code
Re: What happens when you search 'ugly hack' in GitHub
#44Earlier quoted context omitted.
In my experience “ugly hack” means any technical debt that spans lines of code, as opposed to components of a system. (Edited for clarity.)
It's actually too general. What I mean with component here can be anything from a line of code to a class hierarchy. In a sense, using the word 'component' here was an ugly hack. I should have gone for the proper solution and properly define it. You see now that it breaks down when the interpretation changes.
Re: What happens when you search 'ugly hack' in GitHub
#45https://github.com/search?q=temporary+hack&type=Code&ref=sea...
Re: What happens when you search 'ugly hack' in GitHub
#46Re: What happens when you search 'ugly hack' in GitHub
#47Some results normalized by overall language popularity. Specifically, the entry in row R and column C is 1000 * (hits for C in language R) / (hits for "the" in language R) or "---" if either the numerator or denominator was small enough not to make the top-10 list on github. All the scraping was done by hand and the numbers rounded to a limited number of places in the process, so there may very well be mistakes. [EDI…
Re: What happens when you search 'ugly hack' in GitHub
#48Some results normalized by overall language popularity. Specifically, the entry in row R and column C is 1000 * (hits for C in language R) / (hits for "the" in language R) or "---" if either the numerator or denominator was small enough not to make the top-10 list on github. All the scraping was done by hand and the numbers rounded to a limited number of places in the process, so there may very well be mistakes. [EDI…
The &lol; entities are the "Billion laughs" attack: http://en.wikipedia.org/wiki/Billion_laughs
Re: What happens when you search 'ugly hack' in GitHub
#49Some results normalized by overall language popularity. Specifically, the entry in row R and column C is 1000 * (hits for C in language R) / (hits for "the" in language R) or "---" if either the numerator or denominator was small enough not to make the top-10 list on github. All the scraping was done by hand and the numbers rounded to a limited number of places in the process, so there may very well be mistakes. [EDI…