|
|
|
|
|
by someone_19
330 days ago
|
|
> Golang is basically just more concise Java But golang/newsqueak was developed much earlier, in the early 80s by Rob Pike. https://en.wikipedia.org/wiki/Newsqueak ``` type point: struct of{ x, y: int; } a:=mk(array[10] of int) // mk renamed to make select{
case i = <-c1:
a = 1;
case c2<- = i:
a = 2;
} ``` In the late 2000s, this language updated somewhat (for example, the mk function was renamed to make). |
|