hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoI like Python deflemmy.worldimagemessage-square21fedilinkarrow-up115arrow-down10
arrow-up115arrow-down1imageI like Python deflemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square21fedilink
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.