re: You keep bringing up interface as if it's some kind of amazing criticism of Go but as others have said It's discouraged to be used. Only use it if...

The above is the answer to the wrong statement “you couldn’t return an int and a string for instance.” I am pretty sure it’s exactly what return foo, bar, baz does under the hood. That said, I was correct saying arrays are a perfect fit instead of redundant multiple returns.

stick with your dynamic languages

I do not need advises on what am I to stick to. I am just pointing out to the design flaws of an extremely overvalued inconsistent language.

code of conduct - report abuse