Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kamaal
on June 15, 2019
|
parent
|
context
|
favorite
| on:
I got asked LeetCode questions for a dev-ops syste...
Nothing. Probably the original developer was trying to do the same thing. There is always a context to what some one is doing.
pault
on June 16, 2019
[–]
I think the try/catch block is confusing commenters; it's irrelevant to the control flow in this case. You could consider it equivalent to:
for i=0; i<3; i++: doSomething(); if i<3: continue; else: break;
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: