Code Talks; Diversity & Inclusion in Programming

by Elliott Hauser

11 Jun 2018

Q&A

  • App peer review & self refleciton cancelled. Not enough time!
  • I will merge up your project ideas and provide feedback as I do.
  • Another batch of meetups! Observations?

Code Talks

Pair up & merge up.

First up: Turtle

Next up: Blackjack

Diversity & Inclusion in Programming: Group Discussion

You have a new superpower. SILSHack for good!

The readings for today

  • Silent Tech Privelege
  • Python’s Diversity Statement
  • We’re not Done Yet

Circle up & let’s chat a bit.

Classes

Classes are recipes for making objects. They allow you to use familiar notation to define methods, similar to functions, and attributes, similar to variables.

Here’s an example you’ll see in your reading:

You can also base classes on preexisting ones. This is called class extension. Here’s an example of how to make a BoxTurtle class, which is a turtle but different in key ways we specify.

For homework, I want you to use this new knowledge to improve an existing trinket, both by refactoring it and by adding some new feature using the abilities of classes.

Volunteer for an example?

If there’s time: Midterm Review

Let’s go over these questions. Or we can do it next time.

Elliott Hauser is a PhD Student in information science at UNC Chapel Hill. He's hacking education as one of the cofounders of Trinket.io. Find Elliott Hauser on Twitter, Github, and on the web.