News for hackers. Stuff that matters.
Re:How not to check the validity of an email address by willthames on Wednesday September 04, 2013 @07:14PM (#6331138)
In 'Working with Legacy Code', Michael Feathers defines legacy code as code without sufficient tests.

The great thing about this definition is that it doesn't matter how old the code is - if it can be changed without worry about introducing unwanted behaviour because of test coverage, then it's not legacy.

It also means that you can write new legacy code right now!

Re:How not to check the validity of an email address by MartinCron on Wednesday September 04, 2013 @09:35PM (#6331681)
It also means that you can write new legacy code right now!

I once made the argument that a team within my organization was actively producing new legacy code. It wasn't my most diplomatic moment.