logoalt Hacker News

adolphtoday at 2:47 PM0 repliesview on HN

> removing code

Cue link to Negative 2,000 LoC [0]:

  He recently was working on optimizing Quickdraw's region calculation 
  machinery, and had completely rewritten the region engine using a simpler, 
  more general algorithm which, after some tweaking, made region operations 
  almost six times faster. As a by-product, the rewrite also saved around 2,000 
  lines of code.
  
  He was just putting the finishing touches on the optimization when it was 
  time to fill out the management form for the first time. When he got to the 
  lines of code part, he thought about it for a second, and then wrote in the 
  number: -2000.
0. https://www.folklore.org/Negative_2000_Lines_Of_Code.html