re `++` readability: if I find myself wanting to i...
# announcements
d
re
++
readability: if I find myself wanting to increment something, usually it means that I'm writing something without high-level abstractions (iterators, etc... probably for performance reasons, but even then inline functions make this easy to abstract), which probably means I'm going to make the code as clear and explicit as possible.
++
when used as an expression is unnecessary cognitive overhead (an extra side-effect within an expression). I can see using it as a statement, but at that point, why not stick with
+= 1
😞 1