998
what? (feddit.nl)
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 8 points 2 years ago

Is there a typescript analogue for python? Preferably that adds curly braces?

[-] [email protected] 5 points 2 years ago* (last edited 2 years ago)

Type Annotations and other typing-related stuff are built into the language/standard library.

To get a real benefit you should use a static type checker like mypy.

[-] [email protected] 2 points 2 years ago

Just be a decent human being and use type hints in python, problem solved.

[-] [email protected] 1 points 2 years ago

from __future__ import braces

Give it a go

[-] [email protected] 0 points 2 years ago
[-] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Oh, is that what the Go is all about?

this post was submitted on 03 Aug 2023
998 points (97.3% liked)

Programmer Humor

36300 readers
392 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS