News for hackers. Stuff that matters.
Re:G.E.R.T: Golang Embedded Run-Time by jerf on Tuesday October 31, 2017 @09:06AM (#15592901)
"You can indeed, but it makes you duplicate every implementation with its associated interface."

Only if A: composition can't do the job somehow and B: you can't use perfectly normal factoring tools to do the work.

While I will tell you before anybody else complains that there is a non-zero percentage of the time that will happen, I will also tell you the average person who has never tried Go yet complains about its lack of generics anyhow will overestimate the amount of time that happens by a good order of magnitude or two.

Re:G.E.R.T: Golang Embedded Run-Time by bsaul on Tuesday October 31, 2017 @12:02PM (#15594223)
One remark (that may seem like a nitpick, but is in fact crucial) : composition doesn't say it "is a kind of", but rather "it has".

It's the two most fundamental concept of any language : to be vs to have. Now it may or may not be just a philosophical difference and bring no practical consequences to a computer program, but at the minimum one can say it expresses two different concepts.