Refactoring: Prepare Your Code to Get Help (Overview)
At some point in your Python journey, you’ll look to other programmers for help with a sticking point in your code. When that day comes, it’s important to make sure that you’re asking a clear question and that your code is accessible and executable.
If you can make it easier for people to help you out, then you’re more likely to get the answers that you need.
In this video course, you’ll learn how to:
- Write a clear, concise question using how or why
- Remove obstacles and visual clutter from your code
- Improve your code by refactoring
- Raise and catch exceptions within nested functions
You’ll get insight from two Real Python team members in this Code Conversation. To connect with fellow programmers and have your own code conversations, you can join the Real Python community.
00:00 Welcome to today’s Code Conversation. I’m Philipp with Real Python, and today I’m going to have a conversation with Martin Breuss, who’s another Real Python team member. Here at Real Python, we have a big community Slack with members located worldwide.
00:16 It’s a fantastic resource for beginners and more advanced Python developers who are looking to expand their knowledge and ask questions.
00:26 Recently, a community member shared a programming problem with us, and Martin and I decided to jump on a Zoom call and talk about the code. The cool thing is that you’ll not only get an answer to the question, but you’ll also learn how to ask programming questions online to get the best help possible. Have fun joining our conversation, and let’s hop right in.
Become a Member to join the conversation.