<?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-11485756.post8993427137723361698..comments</id><updated>2011-12-23T23:26:31.987+01:00</updated><category term='ruby'/><category term='viaboxx'/><category term='javazone'/><category term='wiki'/><category term='blogger'/><category term='agile'/><category term='java'/><category term='git'/><category term='cms'/><category term='spring'/><category term='stuff'/><category term='portal'/><category term='iplabs'/><category term='maven'/><category term='objectware'/><category term='jazoon'/><category term='blogging'/><category term='guava'/><category term='git-svn'/><title type='text'>Comments on Thomas Ferris Nicolaisen's blog: Google Guava's Predicates</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.tfnico.com/feeds/8993427137723361698/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11485756/8993427137723361698/comments/default'/><link rel='alternate' type='text/html' href='http://blog.tfnico.com/2011/12/google-guavas-predicates.html'/><author><name>Thomas Ferris Nicolaisen</name><uri>https://profiles.google.com/101470099289717563604</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-MH85nZaMLeo/AAAAAAAAAAI/AAAAAAAABO8/cZT0o_8utuc/s512-c/photo.jpg'/></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-11485756.post-1765369574519296052</id><published>2011-12-23T23:26:31.987+01:00</published><updated>2011-12-23T23:26:31.987+01:00</updated><title type='text'>Personally, I found the predicates variant more in...</title><content type='html'>Personally, I found the predicates variant more intimidating and it required more concentration to cope with.&lt;br /&gt;&lt;br /&gt;In any case, there is an excellent opportunity for you to empirically evaluate which version is more maintainable: I found a bug that was present in both implementations.&lt;br /&gt;&lt;br /&gt;As I understand your description, the following test case should pass:&lt;br /&gt;&lt;br /&gt;   assertFalse(isCodeAllowed(&amp;quot;###########&amp;quot;));&lt;br /&gt;&lt;br /&gt;(I suspected that this was present based on the implementation of both isCodeAllowed methods)&lt;br /&gt;&lt;br /&gt;You could use this as an opportunity for comparing how long it takes to fix a bug in either version, which is a good proxy for &amp;quot;goodness&amp;quot; in this case.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11485756/8993427137723361698/comments/default/1765369574519296052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11485756/8993427137723361698/comments/default/1765369574519296052'/><link rel='alternate' type='text/html' href='http://blog.tfnico.com/2011/12/google-guavas-predicates.html?showComment=1324679191987#c1765369574519296052' title=''/><author><name>Johannes Brodwall</name><uri>http://www.blogger.com/profile/02363537065542626477</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tfnico.com/2011/12/google-guavas-predicates.html' ref='tag:blogger.com,1999:blog-11485756.post-8993427137723361698' source='http://www.blogger.com/feeds/11485756/posts/default/8993427137723361698' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1371070670'/></entry><entry><id>tag:blogger.com,1999:blog-11485756.post-6690404525782415727</id><published>2011-12-23T11:43:21.468+01:00</published><updated>2011-12-23T11:43:21.468+01:00</updated><title type='text'>You might get some mileage out of CharMatcher for ...</title><content type='html'>You might get some mileage out of CharMatcher for this particular task.  I wonder if there&amp;#39;s a Predicate wrapper that tests if a CharMatcher matches all characters in a string.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11485756/8993427137723361698/comments/default/6690404525782415727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11485756/8993427137723361698/comments/default/6690404525782415727'/><link rel='alternate' type='text/html' href='http://blog.tfnico.com/2011/12/google-guavas-predicates.html?showComment=1324637001468#c6690404525782415727' title=''/><author><name>Louis Wasserman</name><uri>http://www.blogger.com/profile/09791700199162146308</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tfnico.com/2011/12/google-guavas-predicates.html' ref='tag:blogger.com,1999:blog-11485756.post-8993427137723361698' source='http://www.blogger.com/feeds/11485756/posts/default/8993427137723361698' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-376292845'/></entry></feed>
