3 ms·
They're just gotos an authority told us we can use
by whateveracct 7y ago
They're just gotos an authority told us we can use
- monocasa 7y agoThey're gotos with restricted semantics, just like every nearly every other control flow mechanism. The restricted semantics makes it interesting without going into "an authority said they're ok". Abstracting so that you can more easily reason about (and you can explain to others so that they can more easily reason about) the full state space something can operate in is a not terrible definition for engineering in general.
- deleted 7y ago[deleted]
- whateveracct 7y agoBut the fact that those are the industry's blessed goto abstractions is as much a fiat artifact of authority as anything else.
- monocasa 7y agoLol, they're common patterns even in asm. I've programmed plenty of systems that don't even really support C that well, and you end up doing the same things. What better abstractions do you have?
- gumby 7y agoDamn these fiat controls structures! We need to move to the gold(1) standard! (Actually your point is good I simply couldn’t resist the pun)
- Brian_K_White 7y agoYou think "return" is just an arbitrarily blessed altenative way to spell "goto"? Please don't ever code on a project I care about.
- whateveracct 7y ago> Please don't ever code on a project I care about. What a visceral reaction to me saying that `return` isn't an inherent truth but rather an artifact of network effects! I never would've expect this level of vitriol for this comment.