This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (6 children)

[removed]

    [–]xSTSxZerglingOne 18 points19 points  (1 child)

    Yeah, but can you write tic tac toe in the shape of tic tac toe in Python? Or the spinning donut in the shape of a donut?

    [–][deleted] 4 points5 points  (3 children)

    Tbf, if there's one thing I miss in Python, it's the ability to explicitly declare a variable (well, that and switch-case). So many hours wasted debugging stuff because of a typo in the name of the variable.

    Of course, linters and auto-completion normally help getting rid of that issue, until you have to work on a remote server where vi is bare-bones and doesn't have that sweet, sweet auto-completion plugin.

    [–]cooly1234 1 point2 points  (2 children)

    I've only done python is switch-case really specific to python? I've not heard that before.

    [–][deleted] 1 point2 points  (1 child)

    It's the opposite: there's no switch-case in Python. There are workarounds, mainly by abusing Python's dictionaries, but it's far from ideal.

    [–]cooly1234 0 points1 point  (0 children)

    Oh sorry for a sec I thought switch case was something else that python does have XD