hypertown@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoI like Python deflemmy.worldimagemessage-square18fedilinkarrow-up119arrow-down10
arrow-up119arrow-down1imageI like Python deflemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square18fedilink
minus-squarekaesaecracker@leminal.spacelinkfedilinkEnglisharrow-up1·9 months 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·9 months 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.