3 ms·
What are your opinions of Go where it is the general idea to only have 1 way to do something, and make that way the best way?
by Improvotter 7y ago
What are your opinions of Go where it is the general idea to only have 1 way to do something, and make that way the best way?
- Vinnl 7y agoI have not used Go, or even looked at it, so I can't really give a well-reasoned comment about it. As for the general principle of having just one way to do something: I don't think that's a general rule that I'd prefer, because I don't believe there's always a clear best way. I think my problem with two-way data binding is not so much that it's an additional way to update a value, but that it doubles up as reading and writing a value, and with that makes code somewhat harder to read. However, as I noted in response to Rich, that might not be a problem if that is only limited to variables bound to forms, but I'd have to try it to get a better feeling for that. But I'm getting off-topic, so the answer is: I don't really have an opinion about Go, but the general principle you describe is not one that attracts me.