Every C# developer knows there are classes and structs, and at least once in an interview was asked about boxing. Additionally, they understand the concepts of mutable and immutable. This is where this puzzle will focus today. Note: Scroll selectively to not spoil the results. Lets jump into it. We have a class with anContinue reading “C# Puzzles – Puzzle #3: Mutable Structs”
Category Archives: Uncategorized
Repository Pattern: Retrospective and Clarification
I read a simple article today about a leadership principle Bezos believes in. It reflects the purpose of Part 1 and Part 2. You really can’t accomplish anything important if you aren’t stubborn on vision, but you need to be flexible about the details because you gotta be experimental to accomplish anything important, and thatContinue reading “Repository Pattern: Retrospective and Clarification”
C# Puzzles – Puzzle #1
I think it is fun to find abnormal behavior in the language you use, but C# is a language that doesn’t have many abnormal behaviors. I plan on posting a few that I know, and hope to find more. This is my first puzzle and it stems back 10 years for me. I once spentContinue reading “C# Puzzles – Puzzle #1”
Typical Anti-Repository Arguments
I have shown a more advanced approach to using the Repository Pattern in the Post: The Repository Pattern isn’t an Anti-Pattern; You’re just doing it wrong. Now, let me address the other typical concerns. Typical arguments are going to be around these factors: Restrictiveness Performance Flexibility Complexity Utility Purpose I find these arguments pretty lackadaisical.Continue reading “Typical Anti-Repository Arguments”
Calling a Pattern an Anti-Pattern is actually an Anti-Pattern
Pick your favorite pattern and search for it followed by “Anti-Pattern”. Some blogger somewhere will misuse that pattern and tell you why it is bad. Yes some patterns don’t achieve everything we desire in quality code today, but that doesn’t mean they are Anti-Patterns. If a pattern achieves what it sets out to do semi-efficientlyContinue reading “Calling a Pattern an Anti-Pattern is actually an Anti-Pattern”
The Repository Pattern isn’t an Anti-Pattern; You’re just doing it wrong.
If you already hate the Repository Pattern, I get it. You had a bad experience with it. Implementing Repos over and over again has no benefits. I 100% agree. I although have not have had the same experience, as I do not recommend that approach. I focus on a zero rework implementation. People don’t giveContinue reading “The Repository Pattern isn’t an Anti-Pattern; You’re just doing it wrong.”
My First Blog Post
Photo by Lacie Slezak A [individual] who does not plan long ahead will find trouble at his door. — Confucius In my career I have worn many different hats. The hat I wear today is the one of an Enterprise Architect. I come from a consulting career and have worked for the big four, and alsoContinue reading “My First Blog Post”