Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Why X++

Posted on by Microsoft Employee

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

  • Martin Dráb Profile Picture
    Martin Dráb 228,501 Most Valuable Professional on at
    RE: Why X++

    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.

  • Malcolm Burtt Profile Picture
    Malcolm Burtt 1,475 on at
    RE: Why X++

    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.

  • Jonathancm Profile Picture
    Jonathancm 416 on at
    RE: Why X++

    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,

  • SunilRakesh Profile Picture
    SunilRakesh 340 on at
    RE: Why X++

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

  • Martin Dráb Profile Picture
    Martin Dráb 228,501 Most Valuable Professional on at
    RE: Why X++

    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).

  • Malcolm Burtt Profile Picture
    Malcolm Burtt 1,475 on at
    RE: Why X++

    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.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans