News for hackers. Stuff that matters.
Re:The Anti-Human Consequences of Static Typing by Someone on Monday August 12, 2013 @04:48PM (#6201774)
5) delete it from your code. You do have source control, so you will be able to recover the code later. If you want to leave evidence, add a comment:

  -- Removed Foo handling in revision ... because of ...

That should be rare, though.

For temporary disabling, I tend to do:

   const disableFooForDebugging = true
   if( disableFooForDebugging)
That makes it easier to recognize and correct accidental checkins.
Re:The Anti-Human Consequences of Static Typing by themstheones on Monday August 12, 2013 @05:25PM (#6202104)
Sorry, I was attempting to be humourous. Obviously #5 is the right way to go. I can't remember ever pulling something useful out of a block of commented out code.