The originally submitted URL now redirects to the address above. Updating the destination does not change the item’s HN history, Hall membership, or rank.
Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderI know lines of code as a measure of productivity has been criticized to death here and elsewhere but today I went and did some analysis on past two years of my team members contributions and saw the team members that I know they are productive are modifying code a ton more than others. It can be subtraction of code too but overall more changes correlated with my perception of their contributions. My perception is pretty informed because I'm their…
My favorite anecdote on code removal comes from using Sonar, a static code analysis tool. At a previous job, a pretty smart architect decided that Sonar was a pretty good tool to gauge code quality. He wasn't wrong. However, as a way to improve code quality, management decided to make the continuous integration server demand 90% test code coverage minimum, including branches, and no loss of code coverage over half a percent from maximum, as measured by Sonar. So I…
I had a job interview once where the HR rep asked me how many lines of code I wrote a week. I responded, "On a really good week -1000, I don't remember the exact figure." She was extremely confused by this answer and wanted me to give her a number. So she said, "I'll just put down 10,000." This is also the interview where they refused to continue unless I told them how much money I made (which I don't…
Actually this might prove the opposite. The intention is of course that his removing of 2000 lines of code while improving behavior is a good thing. Therefore a change in number of lines of code is significant. Therefore you should track lines of code. I track lines of code to get a sense for when there's more lines of code than seem necessary so I can go chopping it away until it becomes manageable.
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 4
- Total points
- 1539
- Total comments
- 696
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2010-01-22 | -2000 Lines Of Code (metrics == bad) (1982) | gridspy | 7 | 2 |
| 2014-04-02 | -2000 lines of codeFirst breakout | chanux | 317 | 139 |
| 2015-12-14 | -2000 Lines of Code | craigc | 229 | 131 |
| 2017-12-27 | Negative 2000 Lines of Code (1982) | ColinWright | 2 | 0 |
| 2018-07-24 | -2000 Lines of Code | colinprince | 2 | 0 |
| 2019-07-25 | -2000 Lines of Code (1982) | wbsun | 1 | 0 |
| 2021-02-17 | -2000 Lines of Code | pcr910303 | 1 | 0 |
| 2021-03-08 | -2000 Lines of CodeHall induction · Best thread | pcr910303 | 646 | 256 |
| 2022-11-04 | It's hard to measure progress by lines of code (1982) | mooreds | 2 | 1 |
| 2022-11-05 | Negative 2000 Lines of Code (1982)Latest 20+ point return | pvillano | 332 | 167 |
