Rule #29
Do you 'zz' old files rather than deleting them?
  v3.0 Posted at 21/01/2013 11:40 PM by tiagoaraujo
When you are regularly creating new releases of a cool .NET application or simply producing new proposals in Microsoft Word, files will inevitably become outdated. Rather than hit the DELETE key put a 'zz' at the front of the filename. The old versions should not be deleted straight away - it is just an unnecessary risk!
Obsolete old files aggressively Figure: 'ZZ' your files rather than deleting them!

Note: Other systems are used that are less aggressive than our 'zz' rule.

  • In .NET, the keyword obselete Leave site is used to mark types and members of types that should no longer be used - these then turn up as a compiler warning.
  • In HTML, the keyword deprecated leave site is used.

Both allow for some backward compatibility.

See our Rules to Better SQL Server Databases - Do you add zs prefix to table name?


Related rules