public marks

PUBLIC MARKS from greut with tags code & tdd

08 December 2008 19:30

Testing Will Challenge Your Conventions

1 comment (via)

Private makes less sense than it used to. You can’t test anything that’s private. You need to have ways to sense that your tests are working as intended, and you have to be able to test any method that is interesting. That means less private and more accessors. Get used to living in a more public world. If you need to hide something from users, don’t include it in the interface or abstract base class. “Implements”/”public inheritance” is the new “private”.

or documented is the new public

greut's TAGS related to tag code

agile +   algorithms +   amazon +   api +   as3 +   aws +   bad +   badge +   blog +   business +   bzr +   cache +   challenge +   corelib +   couchdb +   css +   database +   django +   editor +   erl +   Erlang +   event +   exif +   extension +   facebook +   firefox +   flash +   framework +   gears +   geek +   generator +   geo +   github +   gmail +   google +   greasemonkey +   hg +   hiring +   html +   http +   iptc +   java +   javascript +   job +   jpeg +   JRuby +   js +   json +   leak +   library +   log +   lucene +   md5 +   mochimedia +   mozilla +   msie +   nginx +   opensource +   orm +   pair programming +   paper +   pattern +   php +   pil +   presentation +   programmation +   programming +   py +   python +   rails +   review +   ruby +   search +   security +   server +   sha1 +   simpledb +   soft pairing +   software +   svn +   tdd +   test +   theory +   tiff +   todo +   tool +   tools +   training +   troll +   use +   utils +   web +   web.py +   webapp +   webhooks +   work +   wsgi +   wtf +   xbl +   xslt +