Hi all,
does anyone know about a document listing Aris javascript coding conventions (variables naming, unit testing, ..) ?
Thanks !
Hi all,
does anyone know about a document listing Aris javascript coding conventions (variables naming, unit testing, ..) ?
Thanks !
Don't know how others do it, but my scripts currently try to incorporate the best practices defined by Software AG (see https://documentation.softwareag.com/aris/Architect/10-0sr12/yaa10-0sr12e/10-0sr12_Report_scripting_best_practices.pdf ) to a certain degree + best practices I defined myself.
For naming variables Software AG seems to use a mixture of Snakecase and Camelcase, which is something I don't fully understand since both Javascript (what you generally work with) and Java (what you find if you dig deeper) says that you should use Camelcase. I only use Camelcase.
Code that I give to third parties I try to document with JSDoc syntax, but ARIS isn't helpful in this regard at all, providing no auto-generation/fill-in-the-blanks support for the creation of such comments.
For anything else I usually stick to how people would do it while writing Javascript code.
Don't know how others do it, but my scripts currently try to incorporate the best practices defined by Software AG (see https://documentation.softwareag.com/aris/Architect/10-0sr12/yaa10-0sr12e/10-0sr12_Report_scripting_best_practices.pdf ) to a certain degree + best practices I defined myself.
For naming variables Software AG seems to use a mixture of Snakecase and Camelcase, which is something I don't fully understand since both Javascript (what you generally work with) and Java (what you find if you dig deeper) says that you should use Camelcase. I only use Camelcase.
Code that I give to third parties I try to document with JSDoc syntax, but ARIS isn't helpful in this regard at all, providing no auto-generation/fill-in-the-blanks support for the creation of such comments.
For anything else I usually stick to how people would do it while writing Javascript code.