News for hackers. Stuff that matters.
Re:Ask HN: Why isn't C# recommended more often? by mathgladiator on Monday December 27, 2010 @11:04AM (#2042780)
C# is bad to learn first because you have to learn the IDE, you have to learn a lot of concepts up front, and you have buy-in to the way C# does things (static types, class hierarchies).

Where as over in the other camp, you can just write code and run it. There is more coding and experimentation rather than learning tombs.

Compare

hello.js: console.log("Hello World");

> node hello.js

With

hello.cs :

using System; using System.Collections.Generic; using System.Linq; using System.Text;

namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Console.WriteLine("Hello World"); } } }

Then compile it and run it.

One of these is more fun, and one of these is easier to document and write tutorials around. If you have to deal with this day in and day out, then one is going to be preferred.

There are no comments on this comment yet.