Talk:Making a Password Protected Door

From ComputerCraft Wiki
Revision as of 01:25, 16 April 2012 by 2.102.58.164 (Talk) (Created page with " == In response to 24.20.222.206 who reverted my changes with the comment "Make code better, again" == How is it 'better' to leave the computer running when it's not needed? ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In response to 24.20.222.206 who reverted my changes with the comment "Make code better, again"

How is it 'better' to leave the computer running when it's not needed? Assuming this is the desired behaviour, why is it 'better' to reboot the computer each time instead of using a loop? And assuming that is the desired behaviour, why is it 'better' to have the call to os.reboot() repeated inside the if blocks instead of once after the if?