Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 11 months ago“It’s not that hard”sh.itjust.worksimagemessage-square29fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1image“It’s not that hard”sh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 11 months agomessage-square29fedilink
minus-squarejanAkali@lemmy.onelinkfedilinkEnglisharrow-up0·edit-211 months ago Yes the compiler/interpreter can figure it out on the fly, that’s what we mean by untyped languages. Are there untyped languages? You probably meant ‘dynamically typed languages’. But even statically typed languages can figure out most types for you from the context - it’s called ‘type inference’.
minus-squarenul@programming.devlinkfedilinkarrow-up1·11 months agoMost of my code is untyped. First I type it, then I realize it’s all wrong and use backspace to untype it.
Are there untyped languages? You probably meant ‘dynamically typed languages’.
But even statically typed languages can figure out most types for you from the context - it’s called ‘type inference’.
Most of my code is untyped. First I type it, then I realize it’s all wrong and use backspace to untype it.