Q&A
- Changing embed sizes
- Highlight + tab or shift-tab
- Python 2, 3 & Trinket
- Anything else?
- Lateness & the Late label. Help me out & tag your own stuff as late when it’s late.
Kudos
Yiyang really kept after the input validation
I saw a few others using techniques like this too. Well done.
Looking ahead
- My Treasure hunt game, demonstrating click events and with an instructions animation:
For Tuesday
Clicky Turtles!
Functions as Idioms
Generally, pull your function definitions up out of the code, then call them in your code.
Conditionally defining a function (probably a bad idea):
Who wants to help fix this and test out a new Trinket feature??
What are functions for?
Lingjie defined two different functions and wondered which was the better approach. It depends
Backing up: Anatomy of a function
I never really got parameter vs argument until late in my career. Now you know :)
Code Talks on your Turtle Refactors
- Review and merge your partner’s pull request.
- Read & discuss each other’s programs.
- Group up
- Circle up