mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 1 year agoGolang be likei.imgur.comimagemessage-square125fedilinkarrow-up11.41Karrow-down127
arrow-up11.38Karrow-down1imageGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 1 year agomessage-square125fedilink
minus-squareSouthernCanadian@sh.itjust.workslinkfedilinkarrow-up9arrow-down2·1 year 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·1 year agoThis is not needed anymore since version 1.20
minus-squareSouthernCanadian@sh.itjust.workslinkfedilinkarrow-up4arrow-down1·1 year 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·1 year 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·1 year 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