DavidP

Stories kicked by DavidP

Avoiding Dependencies(stevesmithblog.com)

submitted by ssmithssmith(1160) 3 years, 8 months ago

As a rule, code should not directly depend on external resources such as System.Net.Mail's email sending capabilities. Having code that directly calls out to System.Net.Mail is difficult to unit test as well as difficult to walk through in a test or stage environment without having actual emails sent. Two design patterns can be used to reduce this dependency: Facade and Strategy. The Strategy pattern offers a host of benefits above and beyond what the facade layer provides, as this articles demonstrates with code examples. read more...

add a comment |category: |Views: 558

tags: another

Convenience Kills, or the Case Against RAD Tools(kohari.org)

submitted by ang3lfir3ang3lfir3(660) 3 years, 9 months ago

A rather heated discussion erupted last week on Twitter and IRC concerning so-called “drag-and-drop demos” — point-and-click demonstrations of “software development” that just involve dragging controls around on a graphical designer without a lot of actual coding involved. Being entirely unable to resist joining in on debates, I had to chime in and give my two cents. read more...

add a comment |category: |Views: 323

tags: another

Call Virtual Functions From Constructors? (dev102.com)

submitted by shaharyrshaharyr(4325) 3 years, 10 months ago

Be aware of this matter because it is not a trivial issue and apparently, there are no errors or warnings generated by the compiler. So, the rule to remember is to never call virtual methods from constructors. read more...

1 comment |category: |Views: 309

tags: another

Dear Software Tool Vendors...I'm Breaking Up With You(lostechies.com)

submitted by HoolieManHoolieMan(1715) 4 years, 1 month ago

Ever feel like you can't keep up with the latest and greatest and things are getting more complex not easier? So does Jimmy Bogard. read more...

add a comment |category: |Views: 4

tags: another

The static Keyword(shaytalksabout.net)

submitted by shayfriedmanshayfriedman(1411) 4 years, 1 month ago

We all use the static keyword, but do we really know what the possibilities are? read more...

add a comment |category: |Views: 17

tags: another