Share on Twitter

Here’s another email from the internal mailing list of Injazat .NET Ninjas (Ninjazat, AKA  as we call ourselves), that I’m sharing with blog readers as well.

Just a place holder, until I move one of my 18 (just discovered the number now – terrifying!) drafts in my Windows Live Writer into a published post, or delete them all!

Subject: [Learning] Some very interesting videos

Some videos from NDC 2009 event (Norwegian Developers Conference 2009) – about software design and related issues:

· NDC Video – Robert Martin – S.O.L.I.D Principles of OO class design

· NDC Video – Robert Martin – Craftsmanship and Ethics

· NDC Video – Robert Martin – Component Principles

· NDC Video – Robert Martin – Clean Code III – Functions

· NDC Video – Michael Feathers – Working Effectively with Legacy Code

· NDC Video – Jeremy D. Miller – Convention Over Configuration

· NDC Video – Michael Feathers – Seven Blind Alleys in Software Design

· NDC Video – Ted Neward – WCF Patterns

· NDC Video: Michael Feathers – Design Sense

For the complete list of videos from this event check videos from:

, , , , , , , ,
Share on Twitter

I was just starting to read the very first pages of the great book “Beautiful Code” (by Andy Oram, Greg Wilson) this morning as a refreshment and as an indirect result to Scott Hanselman‘s list of basic must-read books (although it didn’t include this book – BTW, I read parts of it before, and I don’t remember why I stopped), I had to write this post.

To all of you guys thinking in DDD, TDD, MVC, ASP.NET, shiny AJAX and RIA (Flash/Silverlight) controls, GC, SharePoint, Rails, Python, ORMs (NHibernate, SubSonic, Linq2SQL,…), etc.. etc… Please get back to basics and read the PLAIN OLD C CODE I’m quoting in this post. Hopefully it’s not illegal to quote such!

The code is a VERY simple RegEx (Regular Expression) matching. Some code that you send a pattern and text to match. It returns 1 if the text matches the pattern and 0 otherwise. The pattern domain is a very stripped version of RegEx than only includes:

  • c => (Any character) matches any literal character c
  • . => (Period) matches any single character
  • ^ => matches the beginning of the string (meaning there must be beginning, not empty string)