Re:Applying the Linus Torvalds “Good Taste” Coding Requirement
by scott_s on Wednesday October 26, 2016 @10:02AM
(#12796485)
I disagree, I believe it is properly using abstractions to write simpler, more straight-forward code. I think of syntactic sugar as 1-to-1 replacements. For example, the -> in C and C++ is syntactic sugar for a dereference followed by a field access (ptr->field; (*ptr).field). If it's not a 1-to-1 replacement, then it's more likely to be an actual abstraction.
[ Parent
| on HN ]