Refactor Now or Never – Webinar Recording
The recording of our October 31 webinar with Dino Esposito is now available.
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.
- 0:06 Introduction
- 5:48 Code smells
- 9:10 Method-level code smells
- 28:16 Class-level code smells
- 45:26 General code smells
- 55:00 Virtues of software
- 1:02:08 Summary
Tip: want to learn more about code smells and refactoring code? Check out the code smells series – sharpen your sense of code smell on our blog!
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.
Subscribe to our community newsletter to receive notifications about future webinars.
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 …