3 ms·
I won't deny that static typing is great. You're just never going to get rid of Python. Python is just an incredible language to learn programming in and an ex
by fjp 7y ago
I won't deny that static typing is great. You're just never going to get rid of Python.
Python is just an incredible language to learn programming in and an extremely productive language for building small-to-medium sized apps. Type hints + making type checking part of the build stage helps, a lot in my opinion. With these + tests in place I almost always experience that I can refactor safely.
I would use a statically typed implementation of Python in a heartbeat, I really hope it gets made.
- shpx 7y agoHave you heard of https://nim-lang.org https://nim-lang.org
- epage 7y agoI keep hearing about nim and I've normally ignored it because Rust is good enough for me. Recently, I got curious if itd be a good fit for my coworkers, so I started giving it a look. I'm baffled at all the python comparisons. Yes, it as significant white space, but that felt like it. It felt more like Ada or some other language than python. The one thing I did appreciate was `(;)` for turning statements into expressions. I've grown to love having complex expressions in Rust and miss them in other contexts. However, Python's scoping reduces the need for them.