You don’t master Javascript, ever. You just become accustomed to the madness and stop caring, while sometimes doing things right.

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

I agree.

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
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog