Being new to C#, I browsed the MS docs section on Classes briefly and wrote up an OOP program as I normally would in my preferred language in a very short amount of time… nice. The program works etc. But then I noticed the paintbrush on the left margin and realized that my code could be refactored/improved (I now have a ton of using statements all over the place and some => here and there and lots of string interpolation). There were also some suggestions that I didn’t quite understand such as extract Base Class and Generate Overrides. I know what these are, but I don’t see a reason for them in my situation. I can see the refactoring is pretty cool, but how far does a typical C# programmer go with it?
Consider them hints for improvements.
I forget exactly what the refactor was that I saw several years ago, but I saw it suggested something so I went with it.
Immediately afterwards, the paintbrush was still there. Hmm. So I read it, didn’t quite get what it was saying, and applied it just to see what it did. It undid the first change that it had made!
If you apply every single thing it recommends, you will literally go around in circles, changing something and then changing it back. Since then, I’ve viewed them not even as suggestions in most cases, but as information: “you know, you could do it this way too, if you wanted”.
I do find them helpful for getting me up to speed with new features when a new language version comes out.