Enterprise icon indicating copy to clipboard operation
Enterprise copied to clipboard

Lack of `GOTO` Support

Open veloper opened this issue 6 years ago • 8 comments

For true enterprise-level-caliber-code it's clear that the tried-n-true versatility, performance, and maintainability of GOTO is an absolute necessity in order to empower the actualization of language's potential.

GOTO <line>;;;

Param <line> mixed
  - String ("One", Forty-Two")
  - Int (-1,3,4)
  - Float (0.0, 2.4, 1.3e10)
  - Object (Line, Number, and possibly Money)
  - Array (of <line>s => ["One", 3.5, -5, ..., Line(23)] )

veloper avatar Aug 27 '18 22:08 veloper

GOTO. Disruptive.

But we need something different from other languages. Something we can have a proper patent. Maybe rethink the term GOTO. What about LEAPTO?

Ideas ideas.

joaomilho avatar Aug 28 '18 00:08 joaomilho

SOARTO?

veloper avatar Aug 28 '18 01:08 veloper

I like LEAPTO and SOARTO, but how about INNOVATE? You've already got disrupt pretty well covered. You'd have to give up a keyword, but that's disruptive!

sizer99 avatar Aug 28 '18 01:08 sizer99

WARP <line>

veloper avatar Aug 28 '18 01:08 veloper

MEETING because it is always a void - it never returns to do any more work. Oh wait, that's LUNCH

CADbloke avatar Aug 28 '18 04:08 CADbloke

+1 MEETING -- that's fantastic!

veloper avatar Aug 28 '18 13:08 veloper

If the proposed LEAPTO or SOARTO statement is assigning control to the final return statement, I propose JUMPTOCONCLUSION as the instruction name. Seems like additional statements for reassigning control would be sufficiently disruptive. Shall we circle back on this after the catered lunch? Or is post-afternoon coffee better for everyone?

KMSkelton avatar Aug 28 '18 19:08 KMSkelton

May I humbly suggest that this is all marginal tinkering. What you want instead is COMETO that pulls you in from a labeled line to the COMETO line. That’s disruptive.

adamjrice avatar Sep 02 '18 14:09 adamjrice