In 1998 I was in possession of a printed book with Navision coding standards. This was NOT the C/SIDE Reference Guide. It was NOT lessons on how to develop. It was about 40 pages of instructions on how to write code to conform to Navision standards. This information does NOT appear in any other PDF manual I have seen.
So, excluding the CSIDE and Programming and Development manuals and courses, does anyone have a copy of this?
0
Comments
RIS Plus, LLC
Dynamics West
http://www.dynamicswest.com
http://download.microsoft.com/download/ ... 0Guide.pdf
If not, let me know, I might still be able to help.
I believe this will do, thank you.
Every developer should be required to read this guide!
And if anyone one has an older copy, I'd be happy to have it too!!
Dynamics West
http://www.dynamicswest.com
I know I have an old copy of it. Can send you by mail. But the new (MS) version and the old do not differ.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Dynamics West
http://www.dynamicswest.com
thanks for the link aseigle and thanks dave to put it in evidence!
EDIT: after a brief look at the pdf, i noticed this what a relief!I always thought that i needed to make the option both in the caller and in the function...it was crappy but i thought it was the right way...
this is a "MUST READ" book for everyone :!:
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
RIS Plus, LLC
There is nothing worse than a self proclaimed "programmer" that thinks they can do it better. The idea of a standard, is that it may not be perfect, but so long as everyone does it the same way, it will be easy to work as a part of a team and deliver reliable code.
The worst thing to try and work on is code where someone does not follow the standards.
This is a great book, and it really should be mandatory for all NAV developers to follow this and stop inventing their own "better" development styles.
Sadly once these developers go off the beaten track, its often impossible to bring them back in line, so in the end sacking them is the only option. The key is to read this book BEFORE you start developing.
PS they do need to work on deciding the standard for CASE indentation and it attached ELSE. That is often used inconsistently in the BAD code.
Some years later someone told me that it's no longer valid because after takeover of Navision by MS they didn't follow this way. I was very astonished because standard still looked (and even looks) like they did.
Again after a while MS implemented the Tab feature for code lines. That gives you the possibility to shift blocks of code to the right alignment. Two blank spaces forward with Tab and back with Shift+Tab. My first thought was, why should they insert two blank spaces by one hit of Tab when the "style guide" isn't valid? But then I saw what will happen when you hit Shift+Tab. I was a little bit confused.
But I never stopped working this way and I always tell junior developers they need to format their code like in standard. Sometimes they don't heed my advice but then I let them do the task twice if it's not well formatted and named. So, they learned it the hard way.
Btw, weren't there plannings for some kind of auto-format like in Visual Studio?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I think you made a typo there. Didn't you mean to say "Again after a while MS returned the Tab feature for code lines."
This was a feature of Navision from the very beginning but was removed at some stage and just took a long time to come back. :-#
so, am i supposed to indent my code like this?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
By the way those variable names need to be looked at, they don;t seem to conform to the standards. Makes the code hard to read.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Honestly, I do not know. I recall I wrote this answer to another post, but I cannot find the post anymore. So just disregard my previous entry on this thread.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
This depends on the version. Its something that happens in various versions.