3 ms·
It is very possible the reason is not speed, but readability. If you simply named it 'length', then sure, there is no point. If it is given a better, more descr
by suff 7y ago
It is very possible the reason is not speed, but readability. If you simply named it 'length', then sure, there is no point. If it is given a better, more descriptive name, and then gets used in an equation elsewhere in the code, then it may be very useful because it is easier to read.
- JustSomeNobody 7y agosomething like: var widgetLength = widget.Length; ?
- SketchySeaBeast 7y agoI think that's confusing - it could be referencing a different object names "widgetLength" how about widgetDotLength to be more clear?
- JustSomeNobody 7y agoYou're right. Let's go with yours. When can you push that?
- SketchySeaBeast 7y agoOh that'll be at least next week, I'm currently busy changing all the "int" declarations to "wholeNumberDataType" for clarity.