Coding Standard for Cache / Iris
Hello community,
Our organization is looking to expand our Coding Standards to be more in alignment with best practices.
I was wondering if the there are developers here that would not mind sharing any existing documents. Our scope would be this document be applicable to new hires learning Cache all the way up the chain.
Thanks in advance,
-SH
Product version: IRIS 2020.3
$ZV: IRIS for Windows (x86-64) 2020.1 (Build 217_1U) Tue May 26 2020 20:41:06 EDT
Hi,
There is a GitHub repository with an ObjectScript Guideline.
https://github.com/intersystems-community/cos-guidelines
Hope that helps.
Best Regards,
Henrique
Also, you can consider the ObjectScript Quality tool, which could be used to check your tool against a set of ObjectScript rules.
You can check how it works if you add this file to your public repository it will be automatically checked against this set of 14 rules.
You can examine 130+ repositories already checked.
Also, I ping @Daniel Tamajon for more details.
Hi,
We have been collecting the Coding Standards and Best Practices to build a static code analyzer (as @Evgeny Shvarov mentioned). In following link you will find all the rules we have developed, including wrong and rigth coding examples and how to solve them:
https://objectscriptquality.com/docs/objectscriptquality-release/rules
The code review can be done with our ObjectScriptQuality tool, which can be integrated with your preferred development tool, so developers have the code review at time.
You can test the tool uploading an ObjectScript project to github, or you can install the server to test it for 2 weeks. Also, you can install the development environment plugin and analyze code in standalone mode, which is free of charge.