8 years at Citrix!
switch(years_at_citrix)
{
case 5:
write_blog_post(”I’ve just passed 5 year mark … “);
wait_for_certificate();
write_blog_post(”Shortly after celebrating 5 years … “);
break;
case 6:
write_blog_post(”Threads in my process run very fast. Not long ago … “);
break;
case 7:
write_blog_post(”Transition to kernel mode and space … “);
break;
case 8:
write_blog_posts(”A byte has passed”, “8 bits of Citrix”, … “);
break;
case 9:
// … TBD
}
No default case label in the code yet.
- Dmitry Vostokov @ DumpAnalysis.org + TraceAnalysis.org -
October 17th, 2011 at 3:04 pm
Congrats! Anyway, your work outside Citrix is much more than Citrix itself. Keep being this awesome dump thinker!
[]s
PS: I prefer the analogy with bit-shifting:
currYear << 1;
if( currYear & 0×80 )
write_blog_posts(”switch(years_at_citrix) …”);
October 17th, 2011 at 9:27 pm
Thanks!
Did you mean if ((1 << currYear) & 0×80) … ?
October 18th, 2011 at 11:40 am
Ops, sorry. That’s it! =)
[]s