KoalaUnknown@lemmy.world to Programmer Humor@programming.devEnglish · 1 个月前What's a readabilitylemmy.worldimagemessage-square70fedilinkarrow-up1193arrow-down119
arrow-up1174arrow-down1imageWhat's a readabilitylemmy.worldKoalaUnknown@lemmy.world to Programmer Humor@programming.devEnglish · 1 个月前message-square70fedilink
minus-squareVenator@lemmy.nzlinkfedilinkarrow-up13·1 个月前I have loads of experience with C# and both styles look fine to me. /shrug
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up5arrow-down1·1 个月前Same here. Also, this syntax is common in modem JavaScript, I don’t get the hate.
minus-squareVenator@lemmy.nzlinkfedilinkarrow-up9·1 个月前 this syntax is common in modem JavaScript I think you might have just explained the hate 😅
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up5arrow-down1·1 个月前Sure, but those are people who hate JavaScript for the sake of it. The rational ones hate it for its inconsistencies because the one thing JS gets right is its syntax.
minus-squareMaggiWuerze@feddit.orglinkfedilinkarrow-up2·1 个月前yeah, in kotlin as well, except its ‘?:’ instead of ‘??=’
I have loads of experience with C# and both styles look fine to me. /shrug
Same here. Also, this syntax is common in modem JavaScript, I don’t get the hate.
I think you might have just explained the hate 😅
Sure, but those are people who hate JavaScript for the sake of it. The rational ones hate it for its inconsistencies because the one thing JS gets right is its syntax.
yeah, in kotlin as well, except its ‘?:’ instead of ‘??=’