-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define code and text style for the documentation #6
Comments
Regarding the code style: |
Looking at the proposal for identifiers, not convinced by this non uniform style for identifiers that let clearly appear in the syntax the source of the identifier. I would prefer a homogeneous writing style for identifiers, being from agentspeak program, organization program or from the observable properties or actions used in the AgentSpeak program issued of the Artifact world. One solution could be to go to a knowledge level style (snake?). Olivier |
Regarding Comments, what about giving a label to each plan, with a comment à la Java? |
link for source of the document: https://github.com/jacamo-lang/documentation/blob/main/programming-style/index.adoc visualisation: https://jacamo-lang.github.io/documentation/programming-style/index.html |
Hi, thanks all. I agree with Olivier that at last the identifiers in the Environment code that will go up to the level of the agent and organisation should have the same formation rule as the other names for goals, beliefs, roles, etc. We could use snake there, only for the observable properties and follow Java convention for the rest of the Java code or alternatively we move everything to Camel, after all not many people use logic programming languages where the snake style was the fashion 50 years ago. But I'm happy either way. |
I added AR in the issue, given his expertise on env side. |
The text was updated successfully, but these errors were encountered: