4 ms·
While deceptive at first... Just try to imagine how "extract method" refactoring would work...
by mkleczek 3y ago
While deceptive at first... Just try to imagine how "extract method" refactoring would work...
- im3w1l 3y agoIt would have to do some clever rewriting of the logic or it could simply declare that extracting method isn't available on that region. The simplest way to rewrite the logic may be the introduction of new exception type(s) corresponding to the labels.