Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
benaubin
· 6y ago · 0 comments
10 [EASY|QUICK|WEIRD] STEPS = Range
[list expr] FOR [variable name] = map operator
Comments
[–]
rcfox
6y 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.