News for hackers. Stuff that matters.
Re:Show HN: Parachuting robots – a programming puzzle by kanche on Friday October 30, 2015 @09:24AM (#10477597)
You don't need the 'goto double' line, execution is anyway going skip to 'double: left' making the line redundant

Also say each step takes one unit of time, so one 'start' loop requires 3 units to go one unit of distance, whereas 'double' takes 3 units to go 2 units of distance, even if you use one left statement in the 'double' loop, robot will still move faster than the other as it will require only two units of time to go one unit of distance.

:)

There are no comments on this comment yet.