|
|
|
|
|
by Nursie
4869 days ago
|
|
Maybe :) I guess I was just puzzled as to why the author felt that avoiding conditionals was a useful exercise in the first place. I realise that I'm probably wedded to a conditional-heavy way of thinking, I guess what threw me was that the author seemed to assume that eliminating conditionals stands as an aim on its own, regardless of minimising use of language features. At the same time he has a test in his array de-reference that seems to me to be effectively a conditional without using the explicit if(){} else{} construction. TBH I would have thought verifying the implicit conditional and function-pointer jump was no easier than the explicit... |
|