LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 2 天前Anon tries programming in Javalemmy.worldexternal-linkmessage-square243fedilinkarrow-up1849arrow-down134
arrow-up1815arrow-down1external-linkAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 2 天前message-square243fedilink
minus-squareඞmir@lemmy.mllinkfedilinkarrow-up2·2 天前He mentioned C#, which does let you explicitly choose to implement same-name functions of two interfaces with different code
minus-squarepivot_root@lemmy.worldlinkfedilinkarrow-up3·edit-22 天前For some reason, my brain inserted a “like” before “in C#”, and answered the question of “can’t you use explicit interfaces like in C#.”
He mentioned C#, which does let you explicitly choose to implement same-name functions of two interfaces with different code
For some reason, my brain inserted a “like” before “in C#”, and answered the question of “can’t you use explicit interfaces like in C#.”