« first day (193 days earlier)      last day (2342 days later) » 

2:47 AM
For some reason, I'm still thinking about a new job
 
 
8 hours later…
10:46 AM
Hmmm. New job. Same as the old job.
 
 
12 hours later…
11:04 PM
Why is there a general preference for for (int i = 0; i < val; i++) instead of while (i++ < val)?
Also, I will be posting a question about lab ideas for the y combinator tomorrow morning.
 
11:17 PM
@BenI. Habit, probably.
Your fingers just rap it out without thought.
And a mutator in a test is normally thought of as a code smell.
And in the body of the resulting loop the values of i are not the same. Think about it.
 
11:35 PM
@Buffy That's a perfect reason.
As far as the side-effect, given the brevity (and the hypothetical commonness) I wouldn't imagine it would cause too much consternation. But the fact that the variable tracks funny is perfect. Thank you for screwing my head back on straight
 
11:48 PM
Actually, that's why it was a smell. (mutator in a test, I mean).
Smelly code....
Stinks
When you smell something, look for the rot.
The y combinator is probably beyond most of our readers, actually.
 

« first day (193 days earlier)      last day (2342 days later) »