Typescript helps a bit but not much

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

Oh, is that what the Go is all about?

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

@d_k_bo@feddit.de
link
fedilink
5
edit-2
1Y

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.

@Iridium@lemmy.world
link
fedilink
English
11Y

from __future__ import braces

Give it a go

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog