-
Recent Posts
Recent Comments
- elopezrios on Force .NET application to run in 32bit process on 64bit OS
- mck ☠ on Migrating to Git
- Michael Freidgeim on Dynamic reflection versus static reflection
- Groverboy on Synchronizing calls to the UI in a multi-threaded application
- Rvsawant21 on Step-by-step Introduction to Delegates and Lambda Expressions
Archives
Categories
- asynchronous
- book
- bootstrapper
- brownfield
- BUILD
- ClickOnce
- commands
- Conference
- CQRS
- data binding
- delegates
- design
- developer
- didactics
- Event sourcing
- Fluent NHibernate
- fluent Silverlight
- framework
- Git
- hiring
- How To
- installation
- interactive extensions
- introduction
- job
- jQuery
- lambda expressions
- learning
- legacy code
- methodology
- misc
- Mock
- mocking framework
- Mono
- Mono Cecil
- MSIL
- multi threading
- MVVM pattern
- NHibernate
- no-database
- NSIS
- patterns
- personal
- plugins
- practices
- presentation
- PTOM
- refactoring
- reflection
- reporting
- review
- Setup
- Silverlight
- SOLID
- Styles and Templates
- TDD
- tutorial
- Uncategorized
- validation
- Windows
- WIX
- Workflow
Meta
Category Archives: refactoring
Refactoring challenge Part 2 – Preparation
Other posts in this series: Refactoring challenge – cry for help Part 1 – Examination In the last part of this series, I took a closer look at the code smells found by commenters, which included: No tests Feature envy … Continue reading
Refactoring challenge Part 1 – Examination
Most of the time I post code on my blog, it’s something I’m proud of. Other times, it’s code I didn’t write, which I promptly lambaste. In my last post, I threw up code I did write, but couldn’t see … Continue reading
Refactoring challenge
I don’t like messy, obfuscated code. But occasionally often, I write it anyway as I can’t quite see the right way to go. Today is one of those days where I can’t seem to get past some ugly code, none … Continue reading
How not to do Dependency Injection, in NerdDinner
Checking out the NerdDinner code the other day, I found a common Dependency Injection anti-pattern. One of the core concepts of DI is that components are not responsible for locating their own dependencies. The code went part of the way … Continue reading
Fighting technical debt with the wall of pain
Technical debt, even on the agile-ist of agilista teams, still accumulates. Debt is inevitable, as initial design is always based on assumptions, not all of which pan out. I never view that as a failure, as all we can do … Continue reading
Refactoring legacy code
Lately my co-worker asked me to pair with him and make a code review with him of one of his projects. After having spent some hours on refactoring this legacy application together with my co-worker I want to share some … Continue reading
Also posted in design, practices
11 Comments
Favor Defect Prevention Over Quality Inspection And Correction
In the manufacturing world, you would never find a company that assembles a bunch of parts into a final product before inspecting any of the individual parts, and they would not wait until the end of the assembly line to … Continue reading
Also posted in How To, introduction, Mono, Mono Cecil, MSIL, Silverlight
4 Comments
PTOM: Descriptive State Enumeration
This post is part of the November 2008 Pablo’s Topic Of The Month (PTOM) – Design Patterns and will primarily outline the State pattern, with an Enumeration or Descriptor pattern thrown in for good measure. Switch statements and if-then statements … Continue reading
Also posted in Fluent NHibernate, introduction, NHibernate
1 Comment
Finding Design Smells In Non-Design Related Places
In my last post, I talked about the idea of encapsulation and using it to ensure that our business rules were enforced correctly. What I didn’t talk about, though, was the second half of the conversation that my coworker and … Continue reading
Also posted in design, patterns, practices, SOLID
7 Comments
Encapsulation: Entities, Collections And Business Rules
Yesterday, I was involved two very separate yet very related conversations. One was via twitter with Colin Jack and Jimmy Bogard (which I was only a partial contributor to – mostly just reading their conversation) and another after work with … Continue reading
Also posted in didactics, learning, methodology
6 Comments
