|
|
|
|
|
by int_19h
2605 days ago
|
|
They're essentially the same, in a sense that if/goto is essentially the same as a loop. In practice, there's a big pragmatic difference. And I have to say, the debate around Go error handling does remind me a fair bit of some of the arguments I've read while researching that ancient debate about structured programming - needless abstraction that we're not even sure is right, it's clearer when it's explicit, language is simpler etc. |
|