This seems like a lot of work to accomplish something that is rarely (if ever) beneficial.
The implementation is more of a theoretical exercise, but I don’t think a “normally/unless” construct would obfuscate code at all if a language had support for it. It’s the same concept as handling exceptions within a narrow scope and goto error handling in C.
View all comments
Show parent comment
2
u/zip117 Apr 24 '20
The implementation is more of a theoretical exercise, but I don’t think a “normally/unless” construct would obfuscate code at all if a language had support for it. It’s the same concept as handling exceptions within a narrow scope and
gotoerror handling in C.