Rule #29
Do you 'zz' old files rather than deleting them?
  v4.0 Posted at 18/12/2014 11:05 AM by andrewlean
​​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! The zz'd files can remain there until you need more space, then you should delete them.
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