3 ms·
> How do you list all interfaces a give type supports just by looking at it? By design, you can't. > You don't need to teach me Go Then don't state patently
by burntsushi 12y ago
> How do you list all interfaces a give type supports just by looking at it?
By design, you can't.
> You don't need to teach me Go
Then don't state patently false claims. "Other languages provide constructs to check for interface compliance, Go requires writing dummy code." This is false because interface compliance is checked statically. This is orthogonal to whether you can list all interfaces satisfied by a given type.
> I was into it before 1.0 given its Oberon influences, and like everyone on gonuts that disagrees with the design gets told, I went elsewhere.
That's not a feature unique to gonuts. If you disagree with a project's fundamental design and stated goals, then I'm not sure what else you might expect.
For example, I'm not particularly interested in the JVM/Java world due to a myriad of design decisions that they've made. But I don't go around trolling the Internet with near content-free comments and inaccurate statements about their ecosystem.