Coding standard or linter instead of quibbling over "deprecated" etc

Maybe it’s more a think for a coding standard or linter or something then? A first step for a linter could be to write the doc for it, eg stuff like

  • don’t use createObject() for CFC-creation, use new
  • don’t use structNew() / arrayNew(), use {} and []
  • don’t use parameterExists()
  • and so on

Then we get to have an argument over the meaning of SHOULD / MUST etc instead of what deprecated means :wink:


Adam

2 Likes

Only recently did I find this project - promising start?

The first thing they could lint is their spelling of ColdFusion :wink:


Adam