Skip to content

Instantly share code, notes, and snippets.

@FavioVazquez
Created August 7, 2018 18:02
Show Gist options
  • Save FavioVazquez/d52c56d119045d2f2905bac8f102f50e to your computer and use it in GitHub Desktop.
Save FavioVazquez/d52c56d119045d2f2905bac8f102f50e to your computer and use it in GitHub Desktop.
Day Topics Blog post with explanations Code for the day
1 Intro to object oriented programming, classes, inheritance Day 1 Code day 1
2 Class methods, instance methods, static methods, using class methods as alternative constructors Day 2 Code day 2
3 Function annotations Day 3 Code day 3
4 To-string conversion, __repr__, __str__ Day 4 Code day 4
5 Decorators Day 5 No new code added
6 Properties, @property and property(), setters, getters Day 6 Code day 6
7 Underscore patterns for variable naming, _variable, __variable, __variable__, etc. Day 7 No new code added
8 New methods and classes added to the HP universe Day 8 Code day 8
9 Duck typing, EAFP principle Day 9 Code day 9
10 & 11 Namedtuples Day 10 & 11 Code day 10 & 11
12 - 15 Abstract Base Classes Day 12 to 15 Code day 12 to 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment