HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 year agoWhy make it complicated?lemmy.mlimagemessage-square123linkfedilinkarrow-up1371arrow-down138file-text
arrow-up1333arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 year agomessage-square123linkfedilinkfile-text
minus-squareHaradion@lemmy.mllinkfedilinkarrow-up3·1 year agoIf type constraints later in the function let the compiler infer the type, this syntax totally works.
minus-squarenebeker@programming.devlinkfedilinkEnglisharrow-up1·1 year agoLike if the variable is then used in a function that only takes one type? Huh.
If type constraints later in the function let the compiler infer the type, this syntax totally works.
Like if the variable is then used in a function that only takes one type? Huh.