Yeah, it’s especially bad, when a library doesn’t provide type hints itself. It can be comically difficult to find out what the return type of a function is, because every if-else-branch might have a different return value, so you may need to read the function body in full to figure out what the type might be.
Add to that, that lots of the tooling around type hints isn’t as fleshed out / useful as it is in fully typed languages and I can definitely understand why someone might not immediately feel like it’s a valuable use of their time.
vzq@lemmy.blahaj.zone 11 months ago
/me laughs in void*
magic_lobster_party@kbin.social 11 months ago
Laughs in
Object
RandomDevOpsDude@programming.dev 11 months ago
Laughs in
object