I like using python just cuz I can quickly get it working. I wish I had the time to undust C and try getting that to do what I want but my work cares more about iteration and speed to implement than speed of the program itself.
Dynamic typing is a great feature at times. It’s a pain in the butt other times. One of the things I like about Zig is being able to have opt-in comptime dynamic typing. For a certain class of problem it’s really nice.
Most of the code at my current job doesn’t even have the optional type annotations. You just see like defsomething(config). What’s config? A dict? A list? A string? Who the fuck knows.
Unfortunately most of the developers seem to have a very pre-modern take on programming and aren’t interested in changing anything.
I like using python just cuz I can quickly get it working. I wish I had the time to undust C and try getting that to do what I want but my work cares more about iteration and speed to implement than speed of the program itself.
Python has many great aspects, unfortunately it’s missing
strongstatic typing.Good news, everyone!
MyPy - Optional Static Typing for Python
Dynamic typing is a great feature at times. It’s a pain in the butt other times. One of the things I like about Zig is being able to have opt-in comptime dynamic typing. For a certain class of problem it’s really nice.
Python is strongly typed, but not statically typed.
You’re right, that’s what I meant
Most of the code at my current job doesn’t even have the optional type annotations. You just see like
def something(config). What’s config? A dict? A list? A string? Who the fuck knows.Unfortunately most of the developers seem to have a very pre-modern take on programming and aren’t interested in changing anything.
There’s a special circle in hell for people who write Python without type annotations.
Sounds like the Ruby code base at my work
LLMs will cure this /s
Just type harder lol
Mash that keyboard