When comparing Haxe vs C#, the Slant community recommends Haxe for most people. In the question“What are the most enjoyable programming languages for web development? ” Haxe is ranked 9th while C# is ranked 11th.
Ranked in these QuestionsQuestion Ranking
Pro Checks types at compile time
Pro Access native features of target platform
Whenever you need to use target specific code (e.g. there is no Haxe library or extern definitions), you can embed fragments as untyped code in your Haxe code.
Pro Dead code elimination
Removes unused types and methods during transpilation.
Pro Checks syntax at compile time
Pro Support multiple different platforms from one source
Pro Easy sharing of code accross multiple target platforms
Pro Provides an exit strategy for Flash developers through OpenFl
OpenFl is a library written in Haxe, that duplicates the Flash API, by providing a parallel implementation.
Haxe's syntax has a lot of similarities with Actionscript 3.
Flash developers can easily migrate their code to Haxe while still using and targeting Flash, in addition to unlocking all the new targets supported by Haxe / OpenFl.
Pro Visual Studio
The Visual Studio IDE offers one of the best development environments. The Community Edition can be used for free.
Can be designed visually with the Visual Studio designer for traditional Windows forms, WPF, or Web forms.
.NET offers rich functionality.
Pro 3rd Party support
Lot's of tools and libraries available.
Con Very large runtime
Cannot be used for embedded programming
Con Learning curve
For a beginner the .NET framework can be daunting, the rich functionality means that things often can be done in several ways.