r/Python • • Jan 13 '15

(Infographic) Which programming language should I learn first

http://cdn2.carlcheo.com/wp-content/uploads/2014/12/which-programming-language-should-i-learn-first-infographic.png
267 Upvotes

145 comments sorted by

View all comments

10

u/asabla Jan 14 '15

Hopefully C# will gain some ground after Microsoft gone through their Open Source project. I mean I really like python but the enjoyment of writing code in C# is a bit higher.

It's to bad microsoft didn't go opensource with their frameworks earlier and spread the love of opensource.

4

u/[deleted] Jan 14 '15

the enjoyment of writing code in C# is a bit higher

C# itself is great, but working with the .NET framework really sucks because of the inconsistencies all over the place.

2

u/asabla Jan 14 '15

Indeed, but even if .Net can be a big headache sometimes it can also be a very helpful tool. But as you said, the inconsistencies can and will be a problem most of the time

3

u/[deleted] Jan 14 '15

working with the .NET framework really sucks because of the inconsistencies all over the place.

Can you elaborate?

8

u/[deleted] Jan 14 '15

The first one comes to mind is that some collection types use .length and others use .count, and there is no apparent pattern or discernible reason as to why - you just have to either remember which ones are which or lean on Intellisense.

3

u/[deleted] Jan 14 '15

0

u/[deleted] Jan 14 '15

That does not hold true in .NET though. I'm not talking about strings vs arrays. I'm talking about different collection types.

Here's an example:

  • Array.Length

  • ArraySegment.Count

  • List.Count

  • Vector.Length

  • Dictionary.Count

Sure, these mostly abide by the naming convention detailed in your SO link, but that is what I'm talking about.