Categories: Blog

C# Edit and Continue Announced

If you hadn’t seen the announcement EnC is coming to C#.  While I know that everyone and their brother has asked for it, I still think it’s a bad idea.  EnC is a bug-introducing machine. Why?  Because you get to focusing on that one bug and twiddle the code to fix that one bug and introduce six more.  When you’re debugging, you’re debugging, not editing.  When you start editing, you need to stop to think and plan for the ramifications of those changes.  To paraphase Dykstra: “Use of a debugger is an indication of slopping thinking.  Use of EnC is an indication of insanity!” J

What a minute!?  We’re a company that fixes bugs as a big part of our consulting business!  Let me take that all back.  Please, please use EnC!  The more you use it, the more you’ll need our services!  EnC users are going to get me a Ferarri yet!  w00t!

Anyway, I’m going to get blasted for this so let me preempt two of the main arguments:
1.  EnC lets you change and debug without having to reset up the tests and test data that may have to be constructed.
– If you can only recreate the data on the fly, instead of introducing bugs with EnC, how about spending your time building reproducible test cases?
2.  EnC lets you avoid the large project startup and 20+ steps to get to the point where you want to make the changes.
– Granted, your time is money.  In that case, buy bigger hardware and pipes.  Consider how much time you’re going to waste fixing introduced bugs through sloppy thinking using EnC.  That’s magnitudes more than the five minutes waiting to get back to a breakpoint.

I have my asbestos skivvies on so start the flaming! J

John Robbins

Recent Posts

8-Step AWS to Microsoft Azure Migration Strategy

Microsoft Azure and Amazon Web Services (AWS) are two of the most popular cloud platforms.…

3 weeks ago

How to Navigate Azure Governance

 Cloud management is difficult to do manually, especially if you work with multiple cloud…

4 weeks ago

Why Azure’s Scalability is Your Key to Business Growth & Efficiency

Azure’s scalable infrastructure is often cited as one of the primary reasons why it's the…

1 month ago

Unlocking the Power of AI in your Software Development Life Cycle (SDLC)

https://www.youtube.com/watch?v=wDzCN0d8SeA Watch our "Unlocking the Power of AI in your Software Development Life Cycle (SDLC)"…

2 months ago

The Role of FinOps in Accelerating Business Innovation

FinOps is a strategic approach to managing cloud costs. It combines financial management best practices…

2 months ago

Azure Kubernetes Security Best Practices

Using Kubernetes with Azure combines the power of Kubernetes container orchestration and the cloud capabilities…

2 months ago