top of page
Search
Writer's pictureKevin

Tales from the Slack: Fake it till you Make it

Updated: Nov 29, 2020

(During lockdown, Our team communicates mostly through Slack. Tales from the Slack are long posts from the mentors to team members. They sum up the last Virtual Meet Up, and provide a focus for progress for the upcoming week. For the purposes of the this blog, they provide a good update on the team's progress.) KEVIN: Hope you all learned a lot about simple code on today's session. Remember: a program doesn't have to be complicated. In fact, the simpler the code, the easier to read and understand by other people, and the easier it is to debug.


Universal coding tip of the day: Save and test often! You saw me write that 10 line program, and I tested it about 5 times while I did it.

  • If you have a working program, and you add 1000 lines to it, the bug could be anywhere.

  • If you have a working program and you add 5 lines to it and there's a bug, you know exactly where it is.


ASSIGNMENT See if you can turn your pseudocode into a working program! Doesn't have to be any more complicated than I did with Charlie's:

  • use "input" to simulate remote control

  • use "print" to simulate a robot action

  • use "def" for simple repeatable actions

  • use the while command != "quit": to make the whole thing repeat






6 views0 comments

Recent Posts

See All

Commentaires


bottom of page