web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Why X++

(0) ShareShare
ReportReport
Posted on by

Hi guys,

When Microsoft has power language C# then why does Microsoft need a new X++ language for

MS Dynamics AX.


Thanks in Advance,

Riyaz_A

*This post is locked for comments

I have the same question (0)
  • Malcolm Burtt Profile Picture
    1,475 on at

    Well, AX (originally known as Axapta) pre-dates C# by some years so using C# as the main language for the original release of AX wasn't an option.

    X++ is also, arguably, more suited to ERP systems development than C# although that's a fairly subjective view. In my opinion, its ability to so easily blend SQL and processing code make it a clear winner for the type of work that we usually do.

  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    If the development of AX was starting today, I doubt anybody would consider developing a new language. But we're not in such a situation at all - it's not only Microsoft who has a huge amount of code in X++, the same is true for ISVs, VARs and most importantly - thousands of customers.

    By the way, it's not the first time I hear the argument about queries, but don't forget that C# has similar support for LINQ queries (including LINQ to SQL).

  • SunilRakesh Profile Picture
    340 on at

    X++ is very much flexible to use objects from AOT and has excellent security feature.

  • Jonathancm Profile Picture
    416 on at

    Also as this ERP is moving forward, it is possible thast in the near future we will be working on web development environments for AX. So programing in Visual Studio will be very likely for us, and therefore the possibility to work on different languages. 

    Regards,

  • Malcolm Burtt Profile Picture
    1,475 on at

    For sure, if we were building AX from scratch today, then we would almost certainly be looking at a C# based development environment.

    As for LINQ, well, its very nice but not as nice as X++. :-)

    I've also always wanted to chat to the guys that developed the LINQ framework to try and find out where they got the idea. It's always appeared to me like they borrowed the idea from x++, especially  as LINQ came along around the time that Microsoft were working on Project Green.

  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    Maybe it's not that "nice" in some cases; on the other hand, it can do many things that X++ can't. That should be added to the equation, if we want a meaningful comparison.

    What influenced LINQ the most is no secret: Cω (a research project) and functional programming (lambda functions are the most obvious example, because even the name come from functional programming). You can find more information on internet, if interested. By the way, we're likely to see even more functional stuff in C# in future.

    Unfortunately a solution based on lambda functions, type inference, anonymous types, generic collections and such things couldn't really come from X++, because none of these concepts exist there.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans