language agnostic - COMEFROM control flow -


according wikipedia comefrom flow control considered joke, unreadable or downright harmful. i'd imagine such feature useful in aop scenarios (ie. adding logger methods without adding logger calls methods).

does downside of non-obviousness of such control structure outweigh potential usefulness? there other downsides consider?

prompted ask question because of this.

for starters useless in modern language because need either:

  • reference position jump line number, , these volatile.
  • place marker or label in code denote position can jumped from, destroying possible benefits of not needing this.

also:

  • makes kind of debugging inspection useless.
  • can't capture context jumped unless keep variables persistant, asking trouble.

a better idea instead:

  • write hooking api.
  • call function!

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -