<calex> p0nce: I just read the rest of your "four ways to use static" tip. You missed one of the more nifty usages D retained from C++: function-local static variables.
<calex> size_t monotonic() { static size_t sequenceNumber; return sequenceNumber++; }
<calex> assert( monotonic != monotonic );
<ketmar> p0nce: also, `__gshared` implies `static` everywhere except top-level declarations