257m@lemmy.ml to Programming@programming.dev • 1 year agoWhat are your programming hot takes?message-squaremessage-square283 fedilinkarrow-up1177
arrow-up1177message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev • 1 year agomessage-square283 Commentsfedilink
minus-squareTrustingZebra@lemmy.onehexbear2·1 year agoHow is dynamic typinf faster? Is typing num = 1 instead of int num = 1 really that much faster? linkfedilink
minus-squareGaveUp [love/loves]hexbear2·edit-21 year agoIt's not just the physical typing It's the fact that you can be extremely flexible with data structures and variables E.g. you can have a list of strings and ints in Python but not java link
minus-squaremorrowind@lemmy.mlhexbear1·1 year agoThis is why union types are great (also sum types are similar I think, never used those) linkfedilink
How is dynamic typinf faster? Is typing
num = 1
instead ofint num = 1
really that much faster?It's not just the physical typing
It's the fact that you can be extremely flexible with data structures and variables
E.g. you can have a list of strings and ints in Python but not java
This is why union types are great (also sum types are similar I think, never used those)