logoalt Hacker News

therealdrag0today at 3:37 AM8 repliesview on HN

Golang lack of support for basic stuff like this is quite annoying.


Replies

vbezhenartoday at 6:58 AM

UUID is just array of 16 bytes or two 64-bit ints. Generating UUIDv4 is like few lines of code. Is that a big deal? I don't think so.

show 3 replies
p0w3n3dtoday at 9:17 AM

It makes you look on GitHub for implementations, which later can be hijacked and used for malicious reasons

tptacektoday at 4:08 AM

What's the language you're thinking of that has more of these decisions fixed in the standard library? I know it's not Ruby, Python, Rust, or Javascript. Is it Java? I don't think this is something Elixir does better.

show 3 replies
serftoday at 3:41 AM

the idea of what 'batteries included' means has changed a lot in the past twenty years, and like most Go quirks , probably Google just didn't need <missing-things>.

show 2 replies
catlifeonmarstoday at 4:26 AM

What other basic stuff are you thinking of?

show 1 reply
zdwtoday at 4:06 AM

Now do Javascript.

show 1 reply
orangeisthetoday at 7:27 AM

Go has one of the best stdlibs of any language. I'd go as far and say it's the #1 language where the stdlib is the most used for day to day programming. cut the bullshit

show 1 reply