I said C# because I learned it seriously about three years ago and really liked it because of LINQ, but I would have said C but for the fact that I am unlikely to get paid to write in C again. I last did in 2016, credit card scanners.
It is a better example because what I like most about C is that you can see everything. I encourage students in IT to learn it for that reason.
This isn’t the first time I’ve worked with JS but in most previous cases I was making trivial edits to existing code; I work mostly on servers, from ISAPI to ASP.NET, and I would touch up places where JS called my API.
I like strong typing. I was furious to see that someone introduced var to C# and in my code base I removed it everywhere I found it. But what I dislike more in JS is the hidden connections. A lot of it is just Lore; you have to know what it’s doing under the hood, you can’t see it looking at code. Yes I figured out a lot but I will never love it.
And the many versions, you can do this in 6 but not in 5, are super annoying.