The very first piece of AL Code for Visual Studio Code has just gone VIRAL! GitHub admins see above normal forking of this great branch. Check it out and see what our language of the future looks like!
Microsoft starts teasing us while we eagerly wait for the December PREVIEW.
// --------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // --------------------------------------------------------------- // Codeunit for creating random greetings codeunit 70051100 GreetingsManagement { // Get a translated 'Hello World' string. // Thanks to https://www.bing.com/translator/ local procedure GetHelloWorldText(GreetingNo : Integer) : Text; begin case GreetingNo of 0: exit('Afrikaans: Hallo wêreld'); 1: exit('Arabic: مرحبا بالعالم'); 2: exit('Bulgarian: Здравей, свят'); 3: exit('Cantonese: 世界你好'); 4: exit('Greek: Γεια σου κόσμε'); 5: exit('Korean: 전 세계 여러분 안녕하세요'); 6: exit('Thai: หวัดดีชาวโลก'); 7: exit('Hindi: हैलो वर्ल्ड'); 8: exit('Japanese: ハローワールド'); else exit('Hello, World'); // Default to the good old one. end; end; // Gets a random greeting. procedure GetRandomGreeting() : Text; begin Randomize; exit(GetHelloWorldText(Random(10))); end; }
If you don’t know what I’m talking about. Get out from under your rock and see some daylight. Microsoft is moving the good old C/AL programming language to “AL” programming in Visual Studio Code with a new compiler.
I already have a whole series of blog posts about this ready since the new compiler has all capabilities to make my dream come true. Design Patterns as templates to be used just like C# templates. The compiler is crazy smart and will be the vehicle to make upgrading more predictable in the future.
Videos
As part of the NAV TechDays YouTube channel you can also see the session about the designer as well as the preview in the Keynotes.
For Readers
If you like reading more than watching, then go to the blog of Arend Jan.