News for hackers. Stuff that matters.
Re:Go generate: A proposal for a Go preprocessor by blablabla123 on Saturday September 27, 2014 @08:48AM (#8376877)
There have been many lengthy disucssions about generics on the Go mailing list. Haven't checked them in a while but the essence used to be that generics are difficult. C++ has really powerful generics but unfortunately C++ templates are in many respects a nightmare. Java templates on the other hand are not really powerful. The idea was to wait until someone would come up with a powerful generics concept that is nice for the developer.
Re:Go generate: A proposal for a Go preprocessor by pjmlp on Saturday September 27, 2014 @09:34AM (#8376968)
Generics exist in multiple forms since CLU (1974).

To reduce them to what C++ and Java implementations offer, is just being ignorant from history of programming languages.

Re:Go generate: A proposal for a Go preprocessor by frowaway001 on Saturday September 27, 2014 @01:23PM (#8377588)
> being ignorant from history of programming languages

Isn't that Go's design principle?

Re:Go generate: A proposal for a Go preprocessor by NateDad on Saturday September 27, 2014 @02:14PM (#8377736)
People in the 70's knew a lot more about programming than you seem to think.
Re:Go generate: A proposal for a Go preprocessor by frowaway001 on Saturday September 27, 2014 @02:42PM (#8377804)
Yes, but they weren't so self absorbed to dismiss the 40 years of experience in front of them.
Re:Go generate: A proposal for a Go preprocessor by NateDad on Saturday September 27, 2014 @02:56PM (#8377850)
Not all languages need to have all the features of Haskell or Rust. Just as not All languages need to be dynamically typed. Just because a language is missing your favorite feature(s), doesn't mean it's a bad language. And maybe you have tried writing programs in go and didn't like it. That's fine. But there's no need to insult everyone who uses language. Every language has its niche, even perpetual punching bags like vb and php.
Re:Go generate: A proposal for a Go preprocessor by frowaway001 on Saturday September 27, 2014 @05:33PM (#8378274)
That's a nice strawman you are beating there.

> But there's no need to insult everyone who uses language.

Is that from Go's social media handbook? I have never ever seen users of a language complain about perceived insults as consistently as Go. It seems like it's the only argument they are able to make if they disagree with other people.

Re:Go generate: A proposal for a Go preprocessor by NateDad on Saturday September 27, 2014 @07:11PM (#8378459)
So you weren't trying to be insulting when you said people that like go want to live the 70's and are happy with java 1.0? Was that a compliment?
Re:Go generate: A proposal for a Go preprocessor by frowaway001 on Saturday September 27, 2014 @07:53PM (#8378513)
It's a frank assessment of reality.
Re:Go generate: A proposal for a Go preprocessor by NateDad on Sunday September 28, 2014 @08:26AM (#8379560)
From a throw away account? That's cute.
Re:Go generate: A proposal for a Go preprocessor by frowaway001 on Sunday September 28, 2014 @10:39AM (#8379838)
The only thing cute is the way you are desperately trying to come up with ways to turn "I don't like what you say" into "it's wrong what you say" in your head. :-)