slashasdf@feddit.nl to Programmer Humor@lemmy.mlEnglish · 11 months agowhat?feddit.nlimagemessage-square59fedilinkarrow-up11.01Karrow-down129
arrow-up1984arrow-down1imagewhat?feddit.nlslashasdf@feddit.nl to Programmer Humor@lemmy.mlEnglish · 11 months agomessage-square59fedilink
minus-squareshroomato@lemmy.worldlinkfedilinkarrow-up8·11 months agoIs there a typescript analogue for python? Preferably that adds curly braces?
minus-squared_k_bo@feddit.delinkfedilinkarrow-up5·edit-211 months agoType 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.
minus-squareUlrikHD@programming.devlinkfedilinkarrow-up2·11 months agoJust be a decent human being and use type hints in python, problem solved.
minus-squareIridium@lemmy.worldlinkfedilinkEnglisharrow-up1·11 months agofrom __future__ import braces Give it a go
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up1·edit-211 months agoOh, is that what the Go is all about?
Is there a typescript analogue for python? Preferably that adds curly braces?
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.
Just be a decent human being and use type hints in python, problem solved.
from __future__ import braces
Give it a go
Go.
Oh, is that what the Go is all about?