Re:Show HN: Hivemind – Distributed jobs using AWS Lambda fun...
by J-dawg on Friday September 29, 2017 @07:33AM
(#15364374)
wouldn't that return the value of currentChunk before it was incremented? So it would need an additional line to be equivalent to the example (making it a bit more readable in my opinion):
Which is perhaps what you meant all along. Please excuse the pedantry.
[ Parent
| on HN ]
Re:Show HN: Hivemind – Distributed jobs using AWS Lambda fun...
by barryhoodlum on Friday September 29, 2017 @12:22PM
(#15366642)
Yeah, that's what I meant - instead of taking the shortcut with a comment explaining it, just don't take it in the first place.