Skip to main content

C/AL Coding Guidelines - 2015 Released.

Hi all,

While Browsing through Microsoft Dynamics Community i Found C/AL Coding Guidelines under Design Pattern.

Let's Make Use of the Same Guidelines and share it with all your colleagues to follow standard and to Keep the code as clean as you can.


This is what i feel About Coding - 
"A Good Written Code is Always Easy to Read by anyone and that is the first step for a good Performance too. "


-- Yes everyone who is a technical can write so many codes but before writing do think.

-- Writing a FindFirst and FindSet make hell lot of difference when i look it in terms of Performance.

-- We Teach our New NAV Consultants how to write Code, we never teach them how to Write an Optimize Code.

-- I Still remember when i started my career i was eager to write code as soon as i heard a requirement, but after nearly five years i think before writing a piece of code.

Humble Request -

-- Do Follow Best Practice while writing a Piece of Code.

-- Try to Impart the Optimize Code Practice to your Peers & Juniors.

Why We Need To Do This -

-- If the Code is optimized the performance will be good.

-- The Dependency of the Developer will be less as the code will be readable.

-- During a Partner Change via Customer we keep on getting codes written by someone else, if that is optimized it make life easier.

Below are the Links to Download the C/AL Coding Guidelines -

1. Source - Microsoft Dynamics NAV Community

2. Dennis Pardaan Blog - (unofficial) PDF of the guidelines

3. Download From Sky Drive - Unofficial PDF & Official (From Microsoft).           ** BOTH

4. Official PDF - From Microsoft.

Let's Read, Understand and Share the Coding Guidelines and Make NAV Code Optimize & easy to Read.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

Comments

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

RTC Report It is not possible to instantiate the Visual Studio bridge.

Hi all, As a Navision developers I have Multiple Versions of Navision running in single Machine. As discussed Earlier in the post how to run multiple Version of RTC in single machine. So my machine have following details for RTC Versions - NAV 2009 R2    - is installed. NAV 2009 SP1  - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 SP1 IN\ NAV 2009         - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 IN\ This approach has been working great for execution of Classic and RTC Clients. However, after installing Dynamics NAV 2009 R2, if i tried to view the Layout for an NAV 2009 SP1 Report i was getting the following error: ---------------------------  Microsoft Dynamics NAV Classic  ---------------------------  It is not possible to instantiate  the Visual Studio bridge.  ---------------------------  OK    --------------------------- After searchi...

NAV 2013 R2 - Cumulative update 12 Released.

Hi all, Please find below the details of  Cumulative Update 12 released for Microsoft Dynamics NAV 2013 R2. Title - Cumulative Update 12 for Microsoft Dynamics NAV 2013 R2 Build No. - 38053 Release Date - October, 2014 Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK, RU Download Link Note: Implementing this cumulative update will require a database conversion unless you have already implemented update rollup 5.