SuperFola@programming.dev to Programming Languages@programming.devEnglish · 10 months agoType inference was a mistakeborretti.meexternal-linkmessage-square41fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkType inference was a mistakeborretti.meSuperFola@programming.dev to Programming Languages@programming.devEnglish · 10 months agomessage-square41fedilink
minus-squarepixxelkick@lemmy.worldlinkfedilinkarrow-up0·10 months agoNo, there’s countless ways code could be consuming a Foo or Bar and not care which. Literally any form of serialization won’t care, for example. Also you can change from a Foo to a Bar in a non breaking manner, where it’s name changed but the still have the same interface.
No, there’s countless ways code could be consuming a Foo or Bar and not care which.
Literally any form of serialization won’t care, for example.
Also you can change from a Foo to a Bar in a non breaking manner, where it’s name changed but the still have the same interface.