4 ms·
I am a C# refugee, so I feel I can respond with some authority. Yes, the enhanced auto-complete capability that static typing enables is a great feature (I sho
by wes-exp 15y ago
I am a C# refugee, so I feel I can respond with some authority.
Yes, the enhanced auto-complete capability that static typing enables is a great feature (I should note that dynamic languages can offer completion too, just not as comprehensively). But it must be weighed against the tradeoffs. I believe many of these language features like static vs. dynamic typing are not "one is better than the other", but simply characteristics that make certain tradeoffs.
A decent comparison of static vs. dynamic typing can be found here: http://batsov.com/articles/2011/05/08/jvm-langs-scala/ http://batsov.com/articles/2011/05/08/jvm-langs-scala/ (scroll down)
For all C#'s strengths, you've got to also consider the negatives. For starters, you're dependent on Windows; for the development environment and the server. I don't know if you also do server administration, but let me tell you: running Windows servers is an exercise in pain.
Second, in an age when many wonderful programming environments are available as open source, I question the wisdom of marrying yourself to something that is deeply proprietary. When you're first starting with .Net, you might not think about this. But years in, you may find that you are stuck in a system outside your control, dragging your code and livelihood along with it. As I did.
C# has many strengths and I have great respect for its architect Anders Hejlsberg. That said, I am very much glad to be free of it!
- skrebbel 15y agoThanks for sharing. Genuine interest: Mono didn't work for you? How so?
- wes-exp 15y agoMono didn't work for me. I think it might be okay if you targeted it specifically as your official runtime. But it is not, and I don't think ever will be a drop-in replacement for the MS stuff. I summed up my thoughts here: https://news.ycombinator.com/item?id=2777025 https://news.ycombinator.com/item?id=2777025
- ale55andro 15y agoI'm in agreement with wes-exp, even though I still have to make the "long walk home", mono currently offers a workaround or perhaps a false reassurance that when the requirement comes up, you can still run your apps on Linux. Truth is it's lagging behind, it does not enjoy good community support (everybody in the *nix community is against it) and to top it Novell was acquired recently and the new management put a lid on mono. Miguel has started a new company but it seems their priority is standing on their feet first ( making money and being profitable). So, no. Mono is not a good alternative for .net at this point.