Comment on Golang be like
SouthernCanadian@sh.itjust.works 10 months 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 10 months 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 10 months ago
This is not needed anymore since version 1.20
SouthernCanadian@sh.itjust.works 10 months 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 10 months 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 10 months ago
Yes, but I’d prefer incompetence rather than being deliberately anti-developer.