Fuck you Python if I have type annotations I want you to call me a gay homo if I violate them
I don't know what any of these fucking types are the type annotations lie :weary_yell:
Show thread
Follow

@Merc
Are those even enforced? They've always seemed as something slapped on top of a language that wasn't designed as strongly typed. Like static analysis is just an option to help the devs make less mistakes — okay, fine 🤷

@m0xee They're not enforced, you gotta use VSCode or something to see errors while editing. I think there's some external libraries you can use to enforce them.
@Merc @m0xee yeah gotta integrate https://mypy-lang.org/ into the build/lsp process or else it's just gradual line noise
Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml