Webinar – Refactor Now or Never
The same popular metaphor of unit-testing – write the test, break it, fix it – can be applied at a higher level of abstraction to improve the average quality of your codebase just as you code.
Got the point of the code you’re going to write? Then write it to see if it fits, ensure it works as it should, fix it and then check-in. Let’s face it! You’d better put any reasonably possible effort in writing code right the first time as you’ll never have realistically the time to clean it later. Write your code as if your peers are violent psychopatics that know where you live. Or, more quietly, write your code as a message to the posterity.
However, nobody writes code right the first time and any code one second after having been written is legacy code. Aim then at having the classiest legacy code ever. There are a number of wrinkles you can iron out in the code and all of them have a fancy name: primitive obsession, oddball solution, large classes, long methods, data clumps just to name a few. Each of them comes with a handful of suggested refactorings that are for the most part battle-tested. No effort and no creativity: it’s simple a matter of will and attitude. This webinar presents a number of code smells with different levels of popularity that once fixed make your code walk closely with the complexity of the business domain it is written for. Any codebase a domain specific codebase, lean, mean and clean.
About the Presenter
Dino Esposito authored quite a few books and articles in a so far 25 years long career and it is commonly recognized that his writing and speaking effort helped the professional growth of thousands of .NET and ASP.NET developers and software architects worldwide. He also has extensive real-world experience on the field, but that’s another story. Dino is on Twitter as @despos.
Subscribe to Blog updates
Thanks, we've got you!
Eager, Lazy and Explicit Loading with Entity Framework Core
Entity Framework Core (EF Core) supports a number of ways to load related data. There’s eager loading, lazy loading, and explicit loading. Each of these approaches have their own advantages and drawbacks. In this post, let’s have a quick look at each of these ways to load data for navigational prope…
OSS Power-Ups: bUnit – Webinar Recording
The recording of our webinar, OSS Power-Ups: bUnit, with Egil Hansen and Steven Giesel, is available. This was the twelfth episode of our OSS Power-Ups series, where we put a spotlight on open-source .NET projects. Subscribe to our community newsletter to receive notifications about future webi…
Join us for JetBrains .NET Day Online ’23
On September 26, we are holding JetBrains .NET Day Online ’23, a free annual event. We’ve invited 10 amazing community speakers who will cover topics they’re passionate about. Join us for 11 hours of insights into .NET development, lots of demo-rich sessions, and useful tips for all skill levels. …
Webinar – OSS Power-Ups: bUnit
Join us Wednesday, August 23, 2023, 17:00 – 18:30 CEST (11:00 – 12:30 EDT or check other timezones) for our free live webinar, OSS PowerUps – bUnit, with Egil Hansen and Steven Giesel. This is the twelfth episode of our series of OSS Power-Ups, where we put a spotlight on open-source .NET …