Home
Do you 'zz' old files rather than deleting them?
  v5.0 Posted at 4/16/2015 9:40 AM by Adriaan Swanepoel
​​​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!

Alternatively ​add a folder named zz and move the outdated files into the new folder.

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

  • In .NET, the keyword obsolete​ 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

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments:

    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.