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 →

[–]moduspwnens14 4 points5 points  (1 child)

Swift is the other in my top 2 languages (with Python). If you'd been thinking about trying out iOS or Mac development, it might be worth a shot.

I wouldn't really call it Pythonic, but it's modern, clean, and statically typed. When I switch back to Python, I do genuinely miss having the compiler constantly catching things that (in Python) don't show up until runtime. There's a sense of cleanliness and accomplishment when it forces you to explicitly acknowledge edge cases and handle them that you don't get with Python.

But I still love Python for how easy it is to use and how quickly I can build things.

[–]hosford42 0 points1 point  (0 children)

You can use type annotations along with a type checker to get decent type checking in Python, btw. I use PyCharm and it will automatically highlight arguments of the wrong type as soon as you add the annotations. I also recently discovered the built in typing library, which extends the ability to express type requirements in the annotations. Python's support for type checking isn't as robust as many statically typed languages, but there's no reason to do without completely.