HiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 9 months agoWhy make it complicated?lemmy.mlexternal-linkmessage-square20fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 9 months agomessage-square20fedilinkfile-text
minus-squarecharje@lemmy.mllinkfedilinkarrow-up0·9 months agowell, the : String is supposed to be optional right? type inference should know what it is. In truth though, return type polymorphism makes us write more type annotations than I would like.
well, the
: Stringis supposed to be optional right? type inference should know what it is. In truth though, return type polymorphism makes us write more type annotations than I would like.