AXForum  
Вернуться   AXForum > Microsoft Dynamics NAV > NAV: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 30.11.2016, 01:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,565 / 848 (80) +++++++
Регистрация: 28.10.2006
Navigate Into Success: HelloWorld.al
Источник: http://vjeko.com/helloworld-al/
==============

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:

https://github.com/Microsoft/AL

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:
  • Casing: keywords are lowercase, identifiers are title case. This finally resembles serious programming languages.
  • IDs: or lack thereof. It may seem like a small step for man, but it’s a giant leap for NAV development world.
What I don’t like:
  • Object IDs are still here. Yes, I know it’s a long shot to even hope to lose these pesky little gremlins anytime soon, because it would require a major brain surgery of the entire NAV platform, but I had to put something into the dislike section.
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?

Read this post at its original location at http://vjeko.com/helloworld-al/, or visit the original blog at http://vjeko.com. 5e33c5f6cb90c441bd1f23d5b9eeca34The post HelloWorld.al appeared first on Vjeko.com.




Источник: http://vjeko.com/helloworld-al/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Navigate Into Success: C/AL internals: Some more invalid object states Blog bot NAV: Blogs 0 19.10.2016 11:11
Navigate Into Success: From C/AL to executable: how NAV runs your C/AL code Blog bot NAV: Blogs 0 06.10.2016 13:11
Navigate Into Success: Decoupling dependencies in C/AL Blog bot NAV: Blogs 0 30.09.2016 16:11
Navigate Into Success: TRY.. CATCH in C/AL Blog bot Dynamics CRM: Blogs 0 17.10.2014 08:00
Navigate Into Success: A .NET Interoperability Lesson: Mapping indexed properties to C/AL Blog bot Dynamics CRM: Blogs 0 21.08.2014 11:30
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 00:12.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.