CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Jeremy D. Miller -- The Shade Tree Developer

Under the hood and working with .Net, TDD, Software Design, and Agile Stuff

Some great posts

There seems to be a bushel load of great blog posts the last couple of days.

Jay Flowers has a Tour De Force article presenting the beginnings of a metric to measure the testability of code.  One major reason newcomers to TDD become discouraged and struggle with TDD is that they're not writing testable code.  If you're new to TDD the very best advice I can give you is to just assume from the beginning that you must change the way you code.  TDD is going to put a much higher priority on loose coupling and stronger cohesion than you might without TDD.  Jay is working towards providing guidance tools for TDD newcomers to aid in TDD adoption, especially with legacy code.

 

Cory Foy has a nice post entitled We're only as agile as our process about dealing with bureaucracy.  I have a nearly absolute lack of patience for any kind of red tape and I feel his pain.

 

Switching gears, Scott Hanselman had a post yesterday about using JSON as a serialization mechanism to send data between Javascript/AJAX pages and the backend.  JSON is native to Javascript and ends up being a much easier transport mechanism to deal with in Javascript that Xml.  I've been using JSON a little bit in combination with Prototype's Object.extend() method to setup classes in Javascript.  The really cool thing I haven't tried yet is that Ruby uses something called YAML as its serialization markup language that is at least partially compatible with JSON.  Anyway, I was surprised when I first started reading about JSON this spring.  Apparently it is perfectly possible to build entire systems without a lick of Xml.  I know, absolute heresy.



Comments

johnwood said:

As far as I know JSON doesn't have any kind of formal schema definition language, nor any kind of typing, which kind of limits its usefulness for serious use.
# July 6, 2006 4:19 PM

Michael Schwaru said:

See updated AjaxPro library with "new Date" parsing.
# July 10, 2006 4:33 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Jeremy D. Miller

Jeremy began his IT career writing "Shadow IT" applications to automate his engineering documentation, then wandered into software development because it looked like more fun. Jeremy previously worked as a systems architect building mission critical supply chain software for a Fortune 100 company and learned agile development practices as a .Net consultant at ThoughtWorks, one of the pioneers of agile development. Jeremy is the author of the open source StructureMap (http://structuremap.sourceforge.net) tool for Dependency Injection with .Net and the forthcoming StoryTeller (http://storyteller.tigris.org) tool for supercharged FIT testing in .Net. Jeremy's thoughts on just about everything software related can be found on his weblog "The Shade Tree Developer" at http://codebetter.com/blogs/jeremy.miller, part of the popular CodeBetter site. Jeremy is a Microsoft MVP for C#. Check out Devlicio.us!

This Blog

Syndication

News

All opinions expressed here constitute my (Jeremy D. Miller's) personal opinion, and do not necessarily represent the opinion of any other organization or person, including (but not limited to) my fellow employees, my employer, its clients or their agents.

About Me

"Best Of" Compendium

StructureMap (Dependency Injection for .Net)

StoryTeller (Supercharged Fit)

Build your own Cab

TestDriven

MVP