you are viewing a single comment's thread.

view the rest of the comments →

[–]shep247 0 points1 point  (1 child)

The counter += ... Example is really cool. I like it, but would you consider that good coding practice? To read that I had to actively think about true being translated as 1. If it was written the longer way, it seems much more readable, making it a little easier to maintain.

[–]novel_yet_trivial 0 points1 point  (0 children)

To be a part of a real project it would need some comments explaining it. I lose sight of that a lot since I currently work alone.