<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5739061.post6047340263348933793..comments</id><updated>2007-02-21T19:13:02.214Z</updated><title type='text'>Comments on Ramblings of a c# developer: Bit Evaluation and(&amp;) Flags</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.taskclerk.com/feeds/6047340263348933793/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5739061/6047340263348933793/comments/default'/><link rel='alternate' type='text/html' href='http://blog.taskclerk.com/2007/01/bit-evaluation-and-flags.html'/><author><name>John Powell</name><uri>http://www.blogger.com/profile/14457473178129578923</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5739061.post-728833204384739216</id><published>2007-02-21T19:13:00.000Z</published><updated>2007-02-21T19:13:00.000Z</updated><title type='text'>Tony you are right on both points! However I was m...</title><content type='html'>Tony you are right on both points! However I was mainly interested in readability here and &lt;BR/&gt;&lt;BR/&gt;IsBitSet(usersServices, ServiceTypes.VirusScanning) &lt;BR/&gt;I feel is more readable than&lt;BR/&gt;(usersServices &amp; ServiceTypes.VirusScanning == ServiceTypes.VirusScanning)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5739061/6047340263348933793/comments/default/728833204384739216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5739061/6047340263348933793/comments/default/728833204384739216'/><link rel='alternate' type='text/html' href='http://blog.taskclerk.com/2007/01/bit-evaluation-and-flags.html?showComment=1172085180000#c728833204384739216' title=''/><author><name>John Powell</name><uri>http://www.blogger.com/profile/14457473178129578923</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10708425961577289479'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.taskclerk.com/2007/01/bit-evaluation-and-flags.html' ref='tag:blogger.com,1999:blog-5739061.post-6047340263348933793' source='http://www.blogger.com/feeds/5739061/posts/default/6047340263348933793' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5739061.post-4391206634579323079</id><published>2007-02-03T22:56:00.000Z</published><updated>2007-02-03T22:56:00.000Z</updated><title type='text'>Hi John!

This can also be done without casts (or ...</title><content type='html'>Hi John!&lt;br /&gt;&lt;br /&gt;This can also be done without casts (or helper function).&lt;br /&gt;&lt;br /&gt;(usersServices &amp; ServiceTypes.VirusScanning == ServiceTypes.VirusScanning)&lt;br /&gt;&lt;br /&gt;A drawback is we had to specify the flag twice.  An advantage is we didn't need to know anything about the underlying integer type of the flag.&lt;br /&gt;&lt;br /&gt;TLL! Are we talking flying in circles for hours trying to pass directly over big dots in circles?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5739061/6047340263348933793/comments/default/4391206634579323079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5739061/6047340263348933793/comments/default/4391206634579323079'/><link rel='alternate' type='text/html' href='http://blog.taskclerk.com/2007/01/bit-evaluation-and-flags.html?showComment=1170543360000#c4391206634579323079' title=''/><author><name>Tony</name><uri>http://www.blogger.com/profile/09297331781346529600</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.taskclerk.com/2007/01/bit-evaluation-and-flags.html' ref='tag:blogger.com,1999:blog-5739061.post-6047340263348933793' source='http://www.blogger.com/feeds/5739061/posts/default/6047340263348933793' type='text/html'/></entry></feed>