Y
Hacker News
new
|
ask
|
show
|
jobs
by
benaubin
2091 days ago
10 [EASY|QUICK|WEIRD] STEPS = Range
[list expr] FOR [variable name] = map operator
1 comments
rcfox
2091 days ago
Would be nice to fit "NUMBER X WILL SURPRISE YOU" in there as a way to break out of the loop (`if (i == x) { break; }`), but I think that would require tracking the loop variable as context, which kinda sucks.
link