News for hackers. Stuff that matters.
Re:Go generics are not bad by _ph_ on Saturday July 09, 2022 @08:49AM (#32034587)
Right. My view is: Go brings back a lot of the great traits of languages like Pascal and Modula. Fast compilation speed, a simple static typed language, a modules concept. Adding a few nice things like GC, high order functions and some more.

I feel, programming too often lost productivity with quite a few modern languages. Go brings that back and adds a good amount of modern features, but doesn't get too much distracted by them.

Re:Go generics are not bad by kaba0 on Saturday July 09, 2022 @12:42PM (#32036831)
How does it bring back productivity when it has the expressivity of C (at least before generics, it’s a bit better afterwards)
Re:Go generics are not bad by morelisp on Saturday July 09, 2022 @01:57PM (#32037638)
C doesn’t have methods, interfaces, closures, newtypes, packages, map or safe slice and string types, or safe automatic allocations.

What bad faith nonsense.

Re:Go generics are not bad by kaba0 on Sunday July 10, 2022 @01:22AM (#32042083)
And before generics it could not even implement maps in the language itself, hence my comment.
Re:Go generics are not bad by germandiago on Saturday July 09, 2022 @02:16PM (#32037841)
I do not think this is true. Async programming via channels in Go is a big win and way more expressive than what any C library can give you. Also, higher order functions and interfaces are good. On top of that they added generics. I think that it is more than enough of a practical language already.