by jcoder · 4y ago · 0 comments
I'd go for one of those.
It's almost if that natural language thing is highly ambiguous which is why we needed to create a new grammar to give precise instructions for machine-driven processes.
Thread.sleep(5 * 60 * 1000); light.off();
Avoids reciting the steps you want and gives you reliability, but I suppose requires any 'variables' to be hardcoded (or for you to create multiple instances)