The very well maintained MSDN documentation pages for X++ are some of my favorite pages to send to developer friends as the developer equivalent of "ghost stories" when you sit around fireside chatting about the Daily WTF or MUMPS.
To be fair to X++, yes most everything its competitors do are worse, but being the best at being the worst is a strange and dubious honor. Similarly, X++ has done a lot of work to somewhat keep up with the times including a deeper integration into/with the .NET CLR allowing for better interop with Microsoft's DevDiv languages, etc.
That's part of what makes it such a good ghost story is that it is well maintained, has good intentions, has been somewhat modernized and more. But it's still a chimera of a language whose origination story was "we need bits of C++, XML, and SQL smashed into the same language".
(My adjacency at the time was as an intern in Dynamics building way back in Ought Six, having lunch and listening to complaints from fellow interns. I wasn't working on Dynamics at the time, I was interning on the very cool Small Business Accounting [RIP] program that shared entirely no DNA with AX or Dynamics other than building space, because there wasn't a good way to make an AX Lite. Given the distance in time and space, forgive a forgetful mind. :)