Dec 10, 2015
Originally posted on the Pangea Money Transfer Engineering blog.
We get asked “Why .NET?” a lot. It’s rare to find .NET startups these days and for good reason. Historically speaking, the .NET ecosystem was unattractive due to the high licensing cost of Windows and Visual Studio. In addition, .NET had poor interoperability with non-Microsoft products, which meant additional licensing costs for compatible products (like SQL Server). Lastly, Microsoft’s aggressive anti-competitive stance towards its competitors and open source software created a rift between their products and developers. However, as technologies like Ruby on Rails, Django, and Node gained popularity and took market share from Microsoft, the business case was made and Microsoft had to change. As a company Microsoft is drastically different than it was ten years ago and the current .NET landscape is a clear indicator of that change.
Ten years ago you couldn’t download a free and open source version of Visual Studio on your Mac, clone the .NET git repository, modify the source code, build a web app using the modified code, then deploy to a Linux VM managed by Microsoft. Today you can.
Given that, let’s assume we’re starting a greenfield project today and we’re tasked with selecting a stack. Our ideal stack would need to:
- Be open source to use the source when documentation is not enough.
- Be statically typed to take advantage of static code analysis tools.
- Be mature yet modern for stability and ease of use.
- Have a rich ecosystem to allow the use of 3rd party software.
- Have a strong steward to ensure the stack is maintained properly for at least ten years.
Based on that criteria, we have a few contenders:
While Go’s steward is a tech heartthrob, it’s notorious for regularly sunsetting a number of its products and making radical shifts for its developer tooling. As a language, Go is rich but nascent with only six years of development behind it as of November 2015 compared to C#’s fifteen and Java’s twenty. And while the Go ecosystem is bustling, it’s not as mature as .NET or Java.
On the other hand, Java’s ecosystem helped solidify the position of object-oriented programming in the software world. However, given Oracle’s poor stewardship of other technologies it adopted from the Sun Microsystems acquisition (namely MySQL and Hudson), Java’s future is worrying. In addition, although Java pioneered many language features, its slow release cycles has caused it to show its age relative to other languages.
Although we built Pangea’s platform using .NET, we are not a Microsoft shop. We’re a technology shop and that means our tech stack is quite diverse. We use MySQL, Redis, RabbitMQ, git, TeamCity, EC2, S3, and Chef. You can see more details about our stack at engineering.gopangea.com/stack.
When selecting a core development stack, you bet on two key things: the steward and the ecosystem. If both are sound, the future is bright for the stack. We bet on .NET and C# nearly three years ago based on positive signals we saw during the development of ASP.NET MVC. Today that bet is paying off, but the pendulum is always swinging and no bet is correct forever. .NET meets our criteria today but no one knows for certain what the landscape will look like tomorrow. For that reason, we’ll always have a living tech stack roadmap.