mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 11 months agoGolang be likei.imgur.comimagemessage-square140fedilinkarrow-up11.45K
arrow-up11.45KimageGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 11 months agomessage-square140fedilink
minus-squareSouthernCanadian@sh.itjust.workslinkfedilinkarrow-up9·11 months agoYou have to manually provide a seed every time you want a random number. Gophers will defend this with their dying breath.
minus-squareflame3244@lemmy.worldlinkfedilinkarrow-up5·11 months agoThis is not needed anymore since version 1.20
minus-squareSouthernCanadian@sh.itjust.workslinkfedilinkarrow-up4·11 months agoThat’s good to hear, but I wouldn’t choose to use a language that took 5 years to get that right, when most languages have it from day 1.
minus-squareflame3244@lemmy.worldlinkfedilinkarrow-up3·11 months agoSo what language would you chose then? Java, PHP, JavaScript? None of the big languages where perfect from day one and it does not really matter, since day one is over already.
minus-squareSouthernCanadian@sh.itjust.workslinkfedilinkarrow-up3·11 months agoYes, but I’d prefer incompetence rather than being deliberately anti-developer.
You have to manually provide a seed every time you want a random number. Gophers will defend this with their dying breath.
This is not needed anymore since version 1.20
That’s good to hear, but I wouldn’t choose to use a language that took 5 years to get that right, when most languages have it from day 1.
So what language would you chose then? Java, PHP, JavaScript? None of the big languages where perfect from day one and it does not really matter, since day one is over already.
Yes, but I’d prefer incompetence rather than being deliberately anti-developer.
Okayyyy