Hacker News new | past | comments | ask | show | jobs | submit | Mr_T_'s comments login

> I hope the golang community takes a thing or two from rust in terms of package management.

Go's dependency management was designed after analyzing Cargo and its problems: https://research.swtch.com/vgo-mvs


> They spent almost 10 years saying "we don't need generics", but now are implementing it

You're making things up. Not a single member of the Go team ever said "we don't need generics". In fact, the FAQ stated from day one that they "continue to think about it", and that "Generics may well be added at some point".


Yes. IIRC, Rob Pike or someone else on the Go team even said something like "it's hard, so we are taking our time about it, may implement it later". Edit: see [1] below.

Also googled and found this:

http://lambda-the-ultimate.org/node/4554

which includes this section:

Go might have generics in future

with this text:

The Go FAQ recognizes the issue and says that generics may be added at some point... http://golang.org/doc/go_faq.html#generics

Considering how Java generics turned out I am fine with the Go team taking the time to think about a proper design for generics in Go :-)

By ted stockwell at Tue, 2012-06-26 15:03

[1] The golang.org link above about generics also says this:

We haven't yet found a design that gives value proportionate to the complexity, although we continue to think about it.


They've always also said "show us some compelling use cases", as if those still need to be shown ~15 years after after every other language except C got them.


C has the preprocessor at least, reducing the need for them.


Ah, I stand corrected.


They were pissed nonetheless.


> What happened.

Capitalism came to the internet.


I don't feel awful.


I don't think I've ever felt "awful" except maybe the first couple weeks of lockdown.

But I have found myself randomly tearing up when listening to something or thinking of how things used to be.

I think I heard someplace describe it as grief. Makes sense I guess.


You'll be happy with the latest developments: https://blog.golang.org/generics-next-step


Highly recommendable. It's the next modern classic after K&R's 'The C Programming Language'.


You mixed it up.

Syntax highlighting is like doing arithmetic using colored rods: https://groups.google.com/forum/#!msg/golang-nuts/hJHCAaiL0s...

Roman numerals is object-oriented design: https://groups.google.com/d/msg/comp.os.plan9/VUUznNK2t4Q/Ff...



If the Unix guys were smart they would have used an Idris REPL as default shell.


Why not Nimlang?


Because Nim is not dependently typed. You can't get sh*t done without dependent types.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: