News for hackers. Stuff that matters.
Re:Go generics may use square brackets [] not parenthesis () by whatshisface on Tuesday July 14, 2020 @10:45PM (#23840640)
Well, there's always

   begin
and

   end

Isn't there? ;)
Re:Go generics may use square brackets [] not parenthesis () by deathanatos on Wednesday July 15, 2020 @12:43AM (#23841408)
Or… indentation! crowd gasps; lightning flashes; thunder claps; maniacal laughter is heard in the distance
Re:Go generics may use square brackets [] not parenthesis () by hu3 on Wednesday July 15, 2020 @07:45AM (#23843842)
generics with begin and end?
Re:Go generics may use square brackets [] not parenthesis () by asa4akj on Wednesday July 15, 2020 @09:03AM (#23844566)
Well, Haskell uses just a space.
Re:Go generics may use square brackets [] not parenthesis () by riffraff on Wednesday July 15, 2020 @08:18AM (#23844121)
I think Ada does something like that (type T is array of I with E) but yeah, I wouldn't advocate that :)