News for hackers. Stuff that matters.
Re:Ten Years of “Go: The Good, the Bad, and the Meh by Mawr on Tuesday July 18, 2023 @05:12PM (#36779166)
> Even back when Go first came out, anyone who knew anything about programming languages rolled their eyes at pretty much everything about Go's type system, including the inference.

The fact that it was even a point of concern shows how misguided the PL community is. Advancing the state of the art is not the goal, producing a tight, clean design is.

> Just because Sun couldn't figure out how to do it in the 90s doesn't mean that type inference wasn't mostly solved in the 70s.

Theory's only as useful as its implementation. If there's no sensible implementation of type inference out there, but then a new language comes out with it, is that not a significant improvement to the status quo, even if the theory behind it may be decades old?

Code autoformatters were not exactly dark PL magic when Go came out either. But somehow the impact gofmt has had on the PL space has been immense. Funny how that works.

Re:Ten Years of “Go: The Good, the Bad, and the Meh by Tainnor on Tuesday July 18, 2023 @05:17PM (#36779230)
> The fact that it was even a point of concern shows how misguided the PL community is. Advancing the state of the art is not the goal, producing a tight, clean design is.

Why should there be only one goal of "the PL community" (whatever that is)? Maybe you need people who advance the state of the art and others who make things ready for production.

> Theory's only as useful as its implementation. If there's no sensible implementation of type inference out there, but then a new language comes out with it, is that not a significant improvement to the status quo, even if the theory behind it may be decades old?

That would be a fine argument if Go had been the first major language with type inference, but even if you're willing to ignore ML languages (because you think they're too niche and/or weird), Scala is almost 10 years older than Go.

Re:Ten Years of “Go: The Good, the Bad, and the Meh by sophacles on Tuesday July 18, 2023 @05:33PM (#36779374)
> The fact that it was even a point of concern shows how misguided the PL community is. Advancing the state of the art is not the goal, producing a tight, clean design is.

I don't see how having better type inference interferes with the "tight clean design"? If anything I'd argue that not having it is a hinderance. Why do i need to `x :=make([]foo)` or `var x []foo` when I could just `x := []` and let the type system infer that its `[]foo` by the fact that I keep `append`ing `foo`s to it?

Re:Ten Years of “Go: The Good, the Bad, and the Meh by wk_end on Tuesday July 18, 2023 @07:58PM (#36780575)
Go comes out, some Go cheerleader describes its decidedly not-state-of-the-art type inference engine as "state-of-the-art", I point out that it was hardly state-of-the-art, the Go cheerleaders come along and say "why do you even care if it's state-of-the-art?". Am I getting this right?
Re:Ten Years of “Go: The Good, the Bad, and the Meh by kaba0 on Wednesday July 19, 2023 @03:49AM (#36783240)
> Advancing the state of the art is not the goal, producing a tight, clean design is.

Sure, but they failed to deliver that.