Re:Const all the things?
by bluetomcat on Monday January 24, 2022 @04:20AM
(#30055173)
With the const-everywhere approach, the code reads like it's in an SSA format and is dataflow-oriented. As an extreme example, the "len - 1" expression can be substituted with yet another const variable:
The additional const "variables" also add another layer of self-documentation by virtue of their names.
[ Parent
| on HN ]
There are no comments on this comment yet.