Finally. Not quite, but still – finally! We finally get the first public glimpse of future of AL code writing, courtesy of Microsoft Dynamics NAV development team.
As you might know, Microsoft is working around the clock to enable new kind of programming for NAV: using Visual Studio Code instead of Microsoft Dynamics NAV Development Environment. They announced it with due fanfare at Directions US, Directions EMEA, and NAV TechDays, and now the NAV community is biting their fingernails off waiting for Microsoft to actually release the thing.
They said some kind of preview will be made somewhat available sometime in December this year, but for now we have got the first glimpse of the new AL syntax.
To see for yourself, go here:
Just for comparison purposes, take a look at what a simple “Hello, World!” codeunit would look like in the new syntax, as opposed to the (too) verbose text file format:
It’s a huge difference. Okay, the editor extension itself is not published yet, so for now we can only behold the syntax, but that’s a great first step.
What I absolutely like:
What I don’t like:
According to Microsoft, the immediate goal of enabling VS Code development is to enable us to write NAV extensions (and D365 apps!) without using the development environment. This means that (for now) we won’t be able to use this tool for general NAV development, but I’ll hope a little more and say that I am looking forward to the moment not only extensions are developed in VS Code.
And, by the way, did you notice that there are no more IDs?
The post HelloWorld.al appeared first on Vjeko.com.