hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoI like Python deflemmy.worldimagemessage-square61fedilinkarrow-up1543arrow-down142
arrow-up1501arrow-down1imageI like Python deflemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square61fedilink
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.