@hypertown to Programmer [email protected] • 1 year agoI like Python defimagemessage-square62arrow-up1553arrow-down142
arrow-up1511arrow-down1imageI like Python def@hypertown to Programmer [email protected] • 1 year agomessage-square62
minus-square@[email protected]linkfedilinkEnglish1•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.
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.