david

Stories kicked by david

Shouldly(snappyco.de)

submitted by whatupdavewhatupdave(24) 2 years, 3 months ago

Shouldly is the "should" style test library you've always wanted read more...

1 comment |category: |Views: 90

tags: another

Specification Testing in .NET using Ruby(xerxesb.com)

submitted by xerxesbxerxesb(60) 3 years, 1 month ago

The purpose of this post is to run through a process which will ultimately allow you to write Ruby based specifications for your .NET code. Why would you want to do this? The intended purpose for this practice is to gain the most benefit when doing BDD. Trying to do BDD in C# results in a lot of syntactical noise in the code which distracts from the goal of having clear, readable specifcations of how the intended function should behave. The advantage of using Ruby is that the scripted nature of the language allows physical (as well as logical) separation of speficiations from code, opening up the realm of possibility that specifications are written by non-technical folk. Furthermore, the Ruby syntax lends itself to building DSLs perfect for the purpose of allowing clean, almost human-readable code. read more...

add a comment |category: |Views: 21

tags: another

Why are thread safe collections so hard? (blogs.msdn.com)

submitted by gavinjoycegavinjoyce(25.7k) 3 years, 3 months ago

"Writing a collection which is mutable, thread safe and usable is an extremely difficult process. At least that’s what you’ve likely been told all through your schooling. But then you get out on the web and see a multitude of thread safe lists, maps and queues. If it’s so hard, why are there so many examples?" read more...

1 comment |category: |Views: 335

tags: another

Today I've Realized How Far We Have To Go(codethinked.com)

submitted by deanweberdeanweber(230) 3 years, 3 months ago

A call to climb on the shoulders of giants within the software develeopment industry. read more...

add a comment |category: |Views: 451

tags: another

An introduction to the SOLID principles of OO design(davesquared.blogspot.com)

submitted by daviddavid(405) 3 years, 3 months ago

I would be very hard pressed to go passed Robert "Uncle Bob" Martin's SOLID principles as the single most useful tool for helping me with OO design. I thought I'd post my interpretation of the principles as a refresher for myself, and as an introduction for anyone trying the learn the terminology. read more...

add a comment |category: |Views: 29

tags: another

Object Oriented Design Principles(noctovis.net)

submitted by daviddavid(405) 3 years, 4 months ago

Quick summary of SOLID, DRY, YAGNI and other useful OO principles. read more...

1 comment |category: |Views: 636

tags: another

IoC libraries compared(elegantcode.com)

submitted by cwbrandsmacwbrandsma(1711) 3 years, 4 months ago

A comparison of how to initialize various IoC libraries. Including AutoFac, Ninject, Spring.Net, StructureMap, Unity, and Windsor. read more...

add a comment |category: |Views: 697

tags: another

The WPF Mindset(cromwellhaus.com)

submitted by markheathmarkheath(1485) 3 years, 4 months ago

An excellent short example of how developing using WPF requires a different mindset to traditional winforms / ASP.NET development. A listbox is completely customised to layout markers on a map. read more...

add a comment |category: |Views: 458

tags: another

TortoiseGit 0.1.0.0 Preview(code.google.com)

submitted by gavinjoycegavinjoyce(25.7k) 3 years, 5 months ago

TortoiseSVN is being ported to TortoiseGit read more...

1 comment |category: |Views: 409

tags: another

NHibernate mappings using xml, attributes, and Fluent NHibernate(davesquared.blogspot.com)

submitted by daviddavid(405) 3 years, 8 months ago

A quick comparison of 3 ways of configuring NHibernate mappings: using XML files, NHibernate Mapping Attributes, and Fluent NHibernate. read more...

add a comment |category: |Views: 66

tags: another

Fluent NHibernate - Working with NHibernate without configuration file(blog.vuscode.com)

submitted by thechampthechamp(110) 3 years, 8 months ago

"I believe that the most important reason why NHibernate is not more widely adopted by general DEV population is exactly the “Java XML configuration” PIA feeling you have while working with it. Great news for all of us from that group: NHibernate is possible to be used WITHOUT configuration files! " read more...

add a comment |category: |Views: 387

tags: another

Configuration changes in NHibernate 2.0(davesquared.blogspot.com)

submitted by daviddavid(405) 3 years, 9 months ago

A quick summary of the web/app.config changes required when moving from NHibernate 1.2 to the newly released 2.0. read more...

add a comment |category: |Views: 59

tags: another

Test Doubles: When To (Not) Use Them(davybrion.com)

submitted by daviddavid(405) 3 years, 9 months ago

Provides some guidelines on how to answer the question "Do I need to mock this object for this test?". read more...

add a comment |category: |Views: 4

tags: another

Skinning the Cat with Fluent NHibernate(iamnotmyself.com)

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

As you may have noticed, I have become interested in the concept of Object Relational Mapping and the NHibernate framework. One of the more painful/tedious aspects of using NHibernate is hand writing the xml mapping files. That is why I got excited when I heard that Jeremy Miller was open sourcing his mapping generation libraries. read more...

add a comment |category: |Views: 328

tags: another

Log4PostSharp - logging with AOP(herrmic-coding.blogspot.com)

submitted by digitalizdigitaliz(110) 3 years, 9 months ago

How to inject log4net logging code using PostSharp and Log4PostSharp. Shows you how to add logging to an application with a minimum of effort! read more...

add a comment |category: |Views: 335

tags: another

Brackets, braces, parentheses, and other such creatures(davesquared.blogspot.com)

submitted by nrstottnrstott(345) 3 years, 9 months ago

An interesting story about a common task in text-manipulation done with TDD. The problem is stated as such: This aim of this challenge was to determine whether any given string has a legal bracket structure. Basically, make sure all the '(', '[', '{', and '<' have matching ')', ']', '}' and '>'. We also need to take nesting into account, so that "({)}" is incorrect, and "({}<{}>)" will pass. read more...

1 comment |category: |Views: 12

tags: another