[ prog / sol / mona ]

prog


Go is getting Generics

1 2021-02-15 00:13

https://blog.golang.org/generics-proposal
https://github.com/golang/go/issues/43651#issuecomment-776944155

2 2021-02-15 02:41

This is the end. Go 3.0 will have multiple inheritance, mark my words.

3 2021-02-15 07:15 *

>>2
I wouldn't mind Google's little private language dying.

4 2021-02-15 09:20

>>1
Nice
>>2
I'm wondering if there will even be anything past Go 2.0.
>>3
I would, it is a very comfortable language, the only real blunder was focusing to LSP.

5 2021-02-15 12:14

>>3
I'd rather see Mozilla's little private language and Apple's little private language die.

6 2021-02-15 18:00 *

>>5
Mozilla abandoned Rust, it now belongs to the FAANG.

7 2021-02-15 19:11 *

Python will die first, i.e., it won't.

8 2021-02-20 01:31

First Excel got lambda and now this!
https://techcommunity.microsoft.com/t5/excel-blog/announcing-lambda-turn-excel-formulas-into-custom-functions/ba-p/1925546

9 2021-02-20 14:32

>>8
Fuck Scheme and fuck lisp, I'll be programming in Excel now

10 2021-02-20 16:48 *

>>9
Just use SIAG.
http://siag.nu/siag/

11 2021-02-20 18:18

>>8
Does it have closure?

12 2021-02-22 08:03

Go is getting parenthesis!
https://github.com/ExaScience/slick

The Slick programming language is a Lisp/Scheme-style s-expression surface syntax for the Go programming language, with a few additional features. Apart from the additional features, it is a faithful mapping of all Go programming language features into s-expression notation, with very few, very minor intentional exceptions.

13 2021-02-22 11:07

>>12

This file provides the macro function LetStar which is similar to the let* binding form found in many Lisp and Scheme dialects.

Isnt let* standard in both common lisp and scheme?

14 2021-08-24 00:27

Generics are coming!

Generics enabled by default in Go tip

https://go-review.googlesource.com/c/go/+/343732/

We already have some packages coming with this features too.

maps

https://github.com/golang/go/discussions/47330

sets

https://github.com/golang/go/discussions/47331

slices

https://github.com/golang/go/discussions/47203

I'm really excited to this addition. It will make code conciser as we won't need to implement this type of functions ourselves anymore.

15 2021-08-25 09:07

>>14
I hope the standard library will eventually also get an extensive list of generic algorithms.

16 2021-08-25 23:55

>>12
There's also https://github.com/rumlang/rum.

17


VIP:

do not edit these