Python 3.9 looks good, i think type hinting will help make a lot of methods easier to understand but still keep the flexibility of dynamic typing intact
Follow

@Neidhardt The "flexibility" is kinda the problem. Unless it's enforced you don't bother with it. I have never encountered a situation in which you'd want the same variable to be different types at different times, except maybe where you have something like "should this block be a texture or colour" and then you can just use a union and an enum

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.