r/Python • • Jan 05 '18

Really??

Post image
2.0k Upvotes

317 comments sorted by

View all comments

Show parent comments

1

u/Keith Jan 06 '18

Agree. But did any other language ever force this convention?

1

u/hanpari Jan 06 '18

Not sure what you mean but, apparently, Java and C#. You have to enclose everything in class. For instance, you cannot have single functions in these languages like in Python. Before Java 8 you had to make anonymous class instead of simple anonymous function.

1

u/[deleted] Jan 06 '18

[removed] — view removed comment

1

u/hanpari Jan 06 '18

OK, I see. On the other side, I dont like C# namespace much. The said convention is present as well but differently. To manage C# project without IDE is almost impossible. You can do it manually but the pain is great :)

2

u/Keith Jan 06 '18

To manage C# project without IDE is almost impossible.

Yeah I agree. That's always a good test of a language for me: "Does this require an IDE?"

1

u/hanpari Jan 06 '18

Sure :)

We can make Guide how to categorize programming languages

We have the first point to go :)

For the second one, I would suggest: Has it nullable types?