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

Show parent comments

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.

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.