Comment on Golang be like
SouthernCanadian@sh.itjust.works 1 year agoYou have to manually provide a seed every time you want a random number. Gophers will defend this with their dying breath.
Comment on Golang be like
SouthernCanadian@sh.itjust.works 1 year agoYou have to manually provide a seed every time you want a random number. Gophers will defend this with their dying breath.
flame3244@lemmy.world 1 year ago
This is not needed anymore since version 1.20
SouthernCanadian@sh.itjust.works 1 year ago
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.
flame3244@lemmy.world 1 year ago
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.
SouthernCanadian@sh.itjust.works 1 year ago
Yes, but I’d prefer incompetence rather than being deliberately anti-developer.