minus-squarecharje@lemmy.mltoProgrammer Humor@lemmy.ml•Why make it complicated?linkfedilinkarrow-up17·15 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. linkfedilink
minus-squarecharje@lemmy.mltoProgrammer Humor@lemmy.ml•Why make it complicated?linkfedilinkarrow-up3·15 days agoits makes more sense to say “a pizza slice”. using “of” in this way is from french. linkfedilink
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.