DEV Community

Discussion on: C# 10 Roadmap ✅ Exposing NEW features

Collapse
glsolaria profile image
G.L Solaria

While I love the new features that get introduced into the language, when maintaining large code bases it can become problematic. Do you know of any tools or compiler functions that can help with the job of migrating a code base to the newer standard? I prefer to do this in bigger chunks rather than during refactoring when adding features to make the commits cleaner and rollback easier if bugs are found.

Collapse
salmanbabri profile image
salmanbabri

Jetbrains Resharper or Rider can help with some of those changes. For example converting null checks into safe traversal via '?' can be done en masse with a click of a button. You'll still need to review the code once though to be on the safe side.