In part 1 of this article, I explained how to implement proper data encapsulation. In part 2 I want to talk about encapsulating business logic. I see this missing in a lot of type design, especially when using an ORM like Entity Framework. It’s the job of the architect and coder of that type to … Continue reading Proper Type Encapsulation – Part 2
Category: Coding Standards
Proper Type Encapsulation – Part 1
Encapsulation is the first pillar of Object-Oriented Programming and maybe the most important. This is how wikipedia.org defines encapsulation: Encapsulation is one of the fundamentals of OOP (object-oriented programming). It refers to the bundling of data with the methods that operate on that data. Encapsulation is used to hide the values or state of a … Continue reading Proper Type Encapsulation – Part 1
Is Quality Part of Open-Source Projects Your App Is Using?
Is code quality important to your team? It should be at the top of the list, not only to make your customers happy, but make your team happier when bugs arise and when features need to be added. Putting quality in your code in the future is a lot more expensive than doing it when … Continue reading Is Quality Part of Open-Source Projects Your App Is Using?
Defensive Programming – Let Type Checking Work for You
Since I have been a speaker and a teacher, I have always stressed the importance of practicing proper object-oriented programming (OOP) techniques. If you don’t practice OOP, no matter what language you are using, I guarantee you will end up with a “house of cards” and they all eventually fall. The first “pillar” of OOP … Continue reading Defensive Programming – Let Type Checking Work for You
Make Encapsulation Easy with dotNetTips.Utility
Encapsulation is the first pillar of Object-Oriented Programming (OOP), yet most code that I see does not implement encapsulation correctly or not all. Like I say in many of my conference sessions "If you do not implement encapsulation, you aren't doing OOP!" I also say "Bad data in, bad data out!".Several years ago, Microsoft Labs … Continue reading Make Encapsulation Easy with dotNetTips.Utility
dotNetDave Rocks Silicon Valley Code Camp 2016
The Silicon Valley Code Camp in San Jose, CA is on October 1st - 2nd, 2016. It's the largest Code Camp in the United States (maybe the world) and I hope to see you there. I will be doing the sessions below. Röck Yoür Apps With >= 10 Things You Probably Aren’t Doing This session … Continue reading dotNetDave Rocks Silicon Valley Code Camp 2016
dotNetDave Rocks Desert Code Camp 2016
The Desert Code Camp in Phoenix is back on October 8th, 2016! It's always a great Code Camp and I hope to see you there. I will be doing the sessions below. Röck Yoür Apps With >= 10 Things You Probably Aren’t Doing This session will go over 10+ things that I see developers not … Continue reading dotNetDave Rocks Desert Code Camp 2016
Improving Code Quality… One Developer At A Time Video Series
All of my conference sessions are designed to make the quality of software better. If you missed one of my sessions at a conference or you couldn't make it, you can still see my session(s) on video by going here. You can also get all of these sessions, slide decks and sample code by purchasing … Continue reading Improving Code Quality… One Developer At A Time Video Series
Coding Standards Survey (2016): How Can Code Quality Be Made Better?
This is the last question I ask in the survey. I know in my experience the answer is always getting buy in from management. While I hope that most developers care about code quality, management cares about feature, feature, feature. Here are what others are saying. The ability of not using stupid variable names within … Continue reading Coding Standards Survey (2016): How Can Code Quality Be Made Better?
Coding Standards Survey (2016): Taking Over Someone’s Code
Have you ever taking over someone's code? Did you enjoy this experience? When I ask this question in my conference sessions, I usually see 90% of hands go up. I also see many pained looks and hear groans. The next question I ask is what is the first thing you want to do after taking … Continue reading Coding Standards Survey (2016): Taking Over Someone’s Code

You must be logged in to post a comment.