Error!
Success!

Refactor Switch to Dictionary

0
kicks

Refactor Switch to Dictionary  (Unpublished)

In my post on Z3, I created an extension method for proving an equation. This extension method used a switch statement to analyze a result and return a string. This is a bad practice: the mapping of one type to another is trapped in code. Here's a better way.


Kicked By:
Drop Kicked By: