Monthly Archives: September 2009

The complex way is not really the right way…

Today I was visiting a client, and I just stop and watch something that really caught my attention: foreach (item in myList) { if (item.Length > 0) { SaveItem(item); } } // more ugly code… Well, the code was really … Continue reading

Posted in development | Tagged , , | 9 Comments

Sharepoint Development = GDD

Yep, in the last few weeks I’ve committed to develop a few Sharepoint + Infopath based workflows for a client, I’ve been developed sharepoint solutions before, and everytime I touch sharepoint solution code I arrive to the same conclusion: Sharepoint … Continue reading

Posted in development | Tagged , , | Leave a comment

XUnit.NET Extensions, TheoryAttribute y DataAttribute

Es bastante común toparnos con casos en los que debemos asegurarnos que el mismo test se cumpla para varias condiciones. Imagínense el desarrollo de una calculadora o mucho mejor, el de alguna pieza de lógica de negocio dependiente de data. … Continue reading

Posted in development | Tagged , , | Leave a comment

My blog was offline… again…

Well, after a short amount of time my blog was offline, and, of course, my blog data was lost… yep, another “home run” from my ex-hosting provider. Now, I changed from provider and restored ‘at hand’ a few of my … Continue reading

Posted in personal | Tagged , | Leave a comment

XUnit.NET Extensions, FreezeClock

FreezeClock es uno de esos atributos maravillosos de XUnit.NET, nos permite “congelar” el reloj (tal como lo dice su nombre) en un tiempo dado y de esa manera comprobar que operaciones que dependen de tiempo se lleven acabo exitosamente. En … Continue reading

Posted in development | Tagged , , | Leave a comment