Now that the dwm rearchitecting of the past couple of releases looks
to have finished I'm started porting my modifications, including to
tile, to 4.4. As part of that I'm looking at the current tile function
and thought it amusing to point out that if you want to save a "line"
of code you can now move the
i++;
at the end of the function into the for, viz,
for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next),i++) {
Doesn't actually change difficulty of understanding the code of course.
-- cheers, dave tweed__________________________ david.tweed_AT_gmail.com Rm 124, School of Systems Engineering, University of Reading. "we had no idea that when we added templates we were adding a Turing- complete compile-time language." -- C++ standardisation committeeReceived on Sat Aug 25 2007 - 00:11:46 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:51:10 UTC