4 ms·
It will be a whole lot smarter on June 8th at 7am pacific, https://www.youtube.com/watch?v=Dq0WFigax_c https://www.youtube.com/watch?v=Dq0WFigax_c
by sitkack 6y ago
It will be a whole lot smarter on June 8th at 7am pacific, https://www.youtube.com/watch?v=Dq0WFigax_c https://www.youtube.com/watch?v=Dq0WFigax_c
- mrath 6y agoI skimmed over the paper once. I could not get all of it but whatever I understood seemed nice. Hopefully it can be implemented to full(not subset) golang and I hope it can be implemented soon. I started learning golang recently. I already have few places of `interface{}`. Having done lot of Java and a little Rust, I appreciate the simplicity and quick compile of golang, but I do feel it much more verbose than both. If generics can be implemented nicely, it would be a huge boon to golang's usability.
- rob74 6y agoMore verbose than Java? Is that even possible?
- entha_saava 6y agoNice try Pike.
- vips7L 6y agoI honestly don't understand how anyone thinks go is LESS verbose than java. Go is full of manually iteration loops and doesn't have anyform of pattern matching/switch expressions.
- geodel 6y agoWell I agree and disagree. Agree in sense many individual expressions are same or more verbose in Go. Disagree in sense at a project level for roughly same amount of functionality idiomatic Java take at least ~5 times the code and directories than idiomatic Go code.
- sk0g 6y agoNot for end users of the language for a good while, right?
- sitkack 6y agoScroll down to "run in webassembly" and you can try out the prototype. https://blog.tempus-ex.com/generics-in-go-how-they-work-and-how-to-play-with-them/ https://blog.tempus-ex.com/generics-in-go-how-they-work-and-...
- pjmlp 6y agoI believe it when I see it on https://golang.org/doc/devel/release.html https://golang.org/doc/devel/release.html Until then, it is just yet another "we are working on it" like so many that have come up during the last 10 years.
- sitkack 6y agoIt has Lambda Man and Griesemer on the case. I think this one will stick because it was requested by the Go team and there is precedence with featherweight java and that Wadler designed the generics for Java. [1] There are prototypes you can play with now. https://blog.tempus-ex.com/generics-in-go-how-they-work-and-how-to-play-with-them/ https://blog.tempus-ex.com/generics-in-go-how-they-work-and-... [1] http://homepages.inf.ed.ac.uk/wadler/ http://homepages.inf.ed.ac.uk/wadler/