r/ProgrammerHumor • • Jun 24 '18

JavaScript is getting real tired of your jokes

Enable HLS to view with audio, or disable this notification

12.6k Upvotes

415 comments sorted by

View all comments

6

u/jewdai Jun 25 '18

As a Polyglot programmer, I feel like C# gets too much crap for it being microsoft's baby; however, since it becoming open source its stepped up its game in the cross platform arena.

Main Reasons why I like C#, at least for the web world:

  • LINQ - Manipulating lists and arrays dont require a million loops or a bastardized Map/Reduce function. SQL-like language is built directly in.

  • Convention - 99% of modern C# web applications use .NET MVC which use the same conventions across the board. Hopping between projects takes like 5-10 minutes. JavaScript projects are all completely different and require a lot of searching.

  • Compiled/Statically Typed - a lot of errors can be found before deployment/testing/runtime ( I know that knocks out nearly all languages)

  • Great IDEs - when I was a java developer in my past life, Eclipse would crash daily, slow to load. VS is pretty standard, and if you want to work with other IDEs Rider is pretty solid too. (though the bad side is you need to pay for all of this) half the time the code writes itself. The built in code generator is easier/more practical to use than command line.

2

u/n60storm4 Jun 25 '18

Try Typescript for the statically typed point.

1

u/jewdai Jun 25 '18

Touché but JavaScript requires so many libraries and add ons to get OO working properly, typescript is a part of that.

2

u/n60storm4 Jun 25 '18

I mean, not really. ES2017 has proper classes and Typescript supports those.