This workshop has sold out.
Join the wait list to get early notice about the next workshop.
What if your Python code was more readable?
Tired of looking back at your old Python code and wondering "why did I write it that way?" 🤔
Want to improve the readability and maintainability of your code?
3 Weeks of Python refactoring
Join me for a three-week series on refactoring Python code, starting on June 6.
We'll take functional Python programs and refactor them to make each more readable and maintainable. We'll use many Python features along our refactoring journey, pausing occasionally to discuss when we might prefer one technique over another.
Mistakes are encouraged
In each session, you can expect…
- Brainstorming and collaboration: be ready to type in the chat or unmute yourself!
- Variety: we'll refactor 3-5 Python code blocks per session
- Active recall: you'll practice recalling familiar concepts and discover new ideas too
- Mistakes: we'll sometimes make the code less readable and then learn from our mistakes
Bring your questions and your code
We'll spend the first 60 minutes of each session refactoring as a group. These first 60 minutes will be recorded, so you can re-watch later in case you miss anything.
The last 30 minutes of each session will not be recorded, so we can answer more personal questions and take a look at your code (if you're willing to share).
When is this?
This refactoring adventure will come in three 90 minute sessions:
- June 6, 2023 at 5pm PT (8pm ET)
- June 13, 2023 at 5pm PT (8pm ET)
- June 20, 2023 at 5pm PT (8pm ET)
You can save a seat in all three sessions for $250.
Save your seat in this small workshop
I want to spend as much time as possible chatting with you about your code, so these sessions will be limited to 30 attendees.
Ready to claim your spot?
All 30 seats are claimed. Join the wait list below.
Love the Code You Write is a completely different paradigm on learning how to write Python code. Come into the class knowing the language's constructs and "syntactic sugar" and you'll come out knowing how to write real code.
I expected to learn a little more about Python from these sessions, but it was so much more! This was better than either a MOOC or a university programming class. I learned when to use certain Python constructs, how to use them, why one construct was better than another, and just as importantly, when not to use specific constructs.
I learned a ton about Python. Had I known beforehand how much great information I would get out of these sessions, I wouldn't have even blinked at the cost. I knew after the first session that this was absolutely worth the time and money.
This was one of the best programming experiences I've had.
This Love the Code You Write class with was great. It was very engaging and not boring! This opened my mind to new Python idioms and reinforced others I already knew about.
I also really appreciated the lesson recaps Trey sent out. Even though I haven't had time to work on any exercises on my own yet, this was still worth it for me.
Love the Code You Write will help you understand how to refactor your code without living in fear that you are going to break everything.
I really enjoyed the class. I liked that you did small, step-wise refactorings and emphasized the importance of running the tests often to make sure nothing was broken. This class reinforced good practices and provided a lot of re-enforcement of Python idioms.
If you can write loops, functions, and classes from scratch in Python, you should be able to keep up with most of the code we'll be refactoring.
We'll mostly focus on refactoring using the Python standard library, but we may discuss common third-party libraries as well.
We'll mostly steer clear from diving deep into niche topics, though you're welcome to ask about niche topics during the Q&A sections.
Yes they will be! You'll receive a video recording with closed captions within 2 days after each session.
The last 30 minutes will not be recorded, so if you'd prefer not to have your question recorded you can ask it during the final portion of each session.
Not currently, though I may sell access to recordings of this workshop at a later date.
Do keep in mind that the last 30 minutes of each session will not be recorded and this workshop is very interactive and intended for a live audience.
After each session, you'll get access to the initial code we started with, the code we ended up with, and automated tests to verify that our code continues to work.
I highly recommend attempting each refactoring on your own a few days after each session. This individual rehearsal serves two purposes:
Yes! As long as you're okay with me sharing the code during the 30 minute Q&A session.
I'll share details on how to share your code before the sessions begin.
We don't have plans to send a certificate of completion, but if your employer needs a certificate of completion (i.e. for reimbursement purposes) please email us and we'll make a certificate for you.
This workshop has sold out.
Join the wait list to get early notice about the next workshop.