hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoI like Python deflemmy.worldimagemessage-square20fedilinkarrow-up111arrow-down10
arrow-up111arrow-down1imageI like Python deflemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square20fedilink
minus-squarekaesaecracker@leminal.spacelinkfedilinkEnglisharrow-up1·1 year agoThe type annotations are just fancy comments. They do not do anything at runtime. If you have a function that takes an int someone can still pass in a list or anything else.
minus-squareboletus@sh.itjust.workslinkfedilinkarrow-up1·1 year agoThe main advantage of typing for me is static linting.
The type annotations are just fancy comments. They do not do anything at runtime. If you have a function that takes an int someone can still pass in a list or anything else.
The main advantage of typing for me is static linting.