GulfOfMexico icon indicating copy to clipboard operation
GulfOfMexico copied to clipboard

Add "portal" keyword to jump directly to any line of code

Open snk-js opened this issue 2 years ago • 1 comments

print('hello')
go A // <---- go to defined portal A
print('hello')
print('hello')
print('hello')
print('hello')
print('hello')
portal B  // <---- defines portal B
print('luke')
go C // enters portal C
print('hello')
print('hello')
print('hello')
print('hello')
portal A // <---- defines portal
print('world')
go B // <--- go to portal B
portal C // defines portal C

// hello
// world
// luke

snk-js avatar Jun 22 '23 03:06 snk-js

I would consider this harmful. an emerge keyword, where you specify which portal you've entered to get to the current line of code, would be much better for developer experience.

eyalzus12 avatar Jun 23 '23 18:06 eyalzus12

Yeah, but, like, can't, um, you, like, have a, like, stack, to, um, keep, like, track, of the, um, like, um, like, portals, you, um, entered, like, previously?

TeraByte-Official avatar Jun 26 '23 21:06 TeraByte-Official