Please let me know if there any problem for adding the developer comments in SAIL . I heard that its against the best practice.
It would be nice if would be nice if some one could provide me what are the best practice in Developer comments
Discussion posts and replies are publicly visible
As long as we are on the subject of comments, is there a way to make a single line comment?
I.E., I know we can use /**/ to do comments, which I would refer to multiline comments, but is there a single line comment text, like -- in PL/SQL?
Not AFAIK in the way you're describing...putting /* a comment */ on a single line works of course!
This is what I was expecting you to say, but when I searched Appian documentation I found nothing on even how to do the /**/ method of comments.
I'm not sure what you mean by "how to do"? You put "/*" at the start of the desired comment, and "*/" at the end. This works for single-line as well as multi-line comments.
In the Expression/Interface editors, you can also use the keyboard shortcut CTRL+/ ("control & forward slash"), as noted in the editor itself, to instantly comment / un-comment the current row. Additionally you can press CTRL+Shift+/ to comment the currently selected text.
In PL/SQL (and some other languages) you can make comments two ways.
Multiline comments:
/* This is how you do a multiline comment
You can put a whole paragraph here, or more!*/
-- This is a single line comment. You can also place this after some code in the same line with it.
More examples here:
www.oracletutorial.com/.../
I swear Appian must have no database developers working there!
The only difference is Appian doesn't have a separate operator for single line comments like "--" or "//" ... you just use /* ... */ - honestly, it's not that hard.