julienbh

Stories kicked by julienbh

Design Patterns – Using the Decorator Pattern in C#(dotnetcube.com)

submitted by dncdudedncdude(1350) 2 years, 9 months ago

Decorator Patterns belong to the Structural Pattern category and it’s role is in providing a way of attaching new behavior to the object at run time. The object is unaware of the new behavior and this pattern is a good candidate for enhancing legacy applications. Decorator Pattern provides a way of adding functionality to an existing class without using inheritance. read more...

2 comments |category: |Views: 613

tags: another

Finally Understanding the Merits of TDD(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 9 months ago

I'm not a TDD person...or at least I wasn't until last week. Up until then, I had read the blogs and looked at the examples to try to understand TDD and unit testing (with mocking) in general. Almost all of the examples I was shown demonstrated very basic scenarios that, in most cases, were too trivial to show value. I would ask people who would speak about unit testing in general how you'd do a specific scenario and would get mix responses ranging from "just try it" to "you should be using this tool and it'll just write the tests for you". read more...

add a comment |category: |Views: 519

tags: another

Writing Great Unit Tests: Best and Worst Practises(blog.codeville.net)

submitted by desmonddesmond(2014) 2 years, 9 months ago

A suite of good unit tests is immensely valuable: it documents your design, and makes it easier to refactor and expand your code while retaining a clear overview of each component’s behaviour. However, a suite of *bad* unit tests is immensely painful: it doesn’t prove anything clearly, and can severely inhibit your ability to refactor or alter your code in any way. How can you be sure to write unit tests that contribute positively to your project and don't end up being a liability? read more...

add a comment |category: |Views: 651

tags: another

Joining "IE6: Do NOT want!" campaign(codeclimber.net.nz)

submitted by simonechsimonech(10.1k) 3 years, 3 months ago

IE6 users are still too many... it started with a tweet from a Norwegian web developer, and spread like fire across Europe. Joining the campaign is easy: just add a few lines of code to your site or blog. In this post is how to do it and a little more of background on how to do it. read more...

add a comment |category: |Views: 367

tags: another

Is Crowd Computing the Future?(quicklearn.com)

submitted by nickhnickh(95) 3 years, 3 months ago

With so many questions about elastic hosted services, and an as of yet unclear track record for the same, I cannot help but wonder if the cloud computing model will really take hold, or if it will just be a bridge to an even more impressive generation of computing architectures to follow. Maybe it will be both. This discussion then begs the question -- of what that generation will look like that does follow. read more...

add a comment |category: |Views: 185

tags: another

When Should I Write Tests?(stevenharman.net)

submitted by usshermussherm(5285) 3 years, 5 months ago

The definitive answer to a question that comes up all the time... read more...

2 comments |category: |Views: 494

tags: another

Choosing Between WebForms and MVC(blog.gadodia.net)

submitted by whoisvaibhavwhoisvaibhav(1000) 3 years, 5 months ago

Another take on what to consider when making a decision between Asp.Net WebForms or Asp.Net MVC. read more...

add a comment |category: |Views: 682

tags: another

Yet another Singleton Yada-Yada(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 3 years, 5 months ago

Using a static-constructor in a singleton, affects it's laziness. Here's a generic singleton that is thread-safe using a static-constructor, and still lazy. read more...

add a comment |category: |Views: 465

tags: another