davehogue

Stories submitted by davehogue

Immutable types: understand their benefits and use them(codebetter.com)

submitted by davehoguedavehogue(160) 4 years, 4 months ago

There is a powerful and simple concept in programming that I think is really underused: Immutability Basically, an object is immutable if its state doesn’t change once the object has been created. Consequently, a class is immutable if its instances are immutable. read more...

add a comment |category: |Views: 4

tags: another

Extension Methods are the Devil(blechie.com)

submitted by davehoguedavehogue(160) 4 years, 4 months ago

An entertaining read warning against the over use of extension methods. read more...

1 comment |category: |Views: 3

tags: another

This code sucks....(devlicio.us)

submitted by davehoguedavehogue(160) 4 years, 5 months ago

How many times as developers have we taken a look at someone else's code and said 'This stuff sucks' or 'WTF where they thinking'? I know I have said this plenty of time. I also am pretty sure that others have said this about my code. In fact I am KNOW I have said that about my own code when I have to go back at a later date and maintain it. read more...

add a comment |category: |Views: 0

tags: another

Writing Testable Code Is About Managing Complexity(haacked.com)

submitted by davehoguedavehogue(160) 4 years, 6 months ago

One of the key benefits of the new ASP.NET MVC framework is improved testability of web applications. Phil Haack talks about why improved testability is good and how it helps to manage complexity and separate concerns. read more...

add a comment |category: |Views: 9

tags: another