slashasdf@feddit.nl to Programmer Humor@lemmy.mlEnglish · 1 year agowhat?feddit.nlimagemessage-square36fedilinkarrow-up1695arrow-down127
arrow-up1668arrow-down1imagewhat?feddit.nlslashasdf@feddit.nl to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square36fedilink
minus-squareshroomato@lemmy.worldlinkfedilinkarrow-up7·1 year agoIs there a typescript analogue for python? Preferably that adds curly braces?
minus-squared_k_bo@feddit.delinkfedilinkarrow-up3·edit-21 year 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·1 year agoJust be a decent human being and use type hints in python, problem solved.
minus-squareIridium@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agofrom __future__ import braces Give it a go
deleted by creator
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.