HiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 12 days agoWhy make it complicated?lemmy.mlexternal-linkmessage-square34fedilinkarrow-up174arrow-down113file-textcross-posted to: programminghumor@lemmy.world
arrow-up161arrow-down1external-linkWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 12 days agomessage-square34fedilinkfile-textcross-posted to: programminghumor@lemmy.world
minus-squarecharje@lemmy.mllinkfedilinkarrow-up14·12 days 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
: 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.