mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 2 年前Golang be likei.imgur.comimagemessage-square140fedilinkarrow-up11.46Karrow-down129
arrow-up11.43Karrow-down1imageGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 2 年前message-square140fedilink
minus-squareSouthernCanadian@sh.itjust.workslinkfedilinkarrow-up9arrow-down2·2 年前You 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·2 年前This is not needed anymore since version 1.20
minus-squareSouthernCanadian@sh.itjust.workslinkfedilinkarrow-up4arrow-down1·2 年前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.
minus-squareflame3244@lemmy.worldlinkfedilinkarrow-up3·2 年前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.
minus-squareSouthernCanadian@sh.itjust.workslinkfedilinkarrow-up3·2 年前Yes, 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