Code Quality Metrics
Artists sometimes pause after they’ve been painting a while and step back. They relax and look at their painting. This gives them a clue whether they are doing what it takes to get to the picture of what they had been envisioning. We programmers can take a cue from our painter friends. While developing programs, developers can pause for a while to see whether we are getting where we wanted to go. However, till now all the resources we had worked on compiled assemblies. That means we couldn’t have checked the state as we go (from uncompilable source). Thanks to Microsoft, Roslyn changed that. With the Roslyn Syntax API, we can check our code as we build it—much like our artist friends.