Python 3 is a piece of shit (23)

18 Name: Anonymous : 2009-04-06 12:12 ID:wZZi.tot [Del]

>>17
I wouldn't say a tiny bit more:

  • You're required to specify types for properties, return types of methods, and types of lambda expressions if assigned to a variable (i.e. var f = x => x + 1 is illegal).
  • The syntax for an array literal is new int[] { 1,2,3,4 } instead of [1,2,3,4].
  • Lots of little things such as params keyword instead of splat, lack of str[1:-1], etc. all add up.
  • C# has no free functions. They're all (possibly static) methods of a class, and classes themselves can't be ‘imported’. The .NET class library is also excessively verbose in places.
  • The lack of duck typing necessitates declaring and implementing interfaces.

Most of its verbosity comes from its historical lack of type inference and its lack of higher-kinded polymorphism. The C heritage adds the minority of it, I'd say.

Also, Markdown seems to require that the asterisks used to form lists don't have any whitespace in front of them. How intuitive.

Name: Link:
Spam trap (leave blank):
File: