Thursday, 11 February 2016

X++ in AX7: Type declarations can be 80 characters

Since the first version of Axapta developers have suffered a limitation of 40 characters when defining types, like classes, tables, extended data types, and even when defining methods and fields.

This limit was at first completely removed, to the joy of us developers who could now come up with some really crazy method names.

However; it turned out certain subsystems in the Dynamics AX Visual Studio integration was breaking down under this. The compromise was a limitation of 80 characters - still plenty to be creative.

Just like that:

class MyClassShouldHaveAProperNameThatClearlyDescribesItsPurposeItIsOkIfItIsLooong 

No comments:

Post a Comment