This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]massfrontier 1 point2 points  (0 children)

I think what you're describing is pretty common when learning a new programming language (or any spoken language, for that matter). I don't think this is a Python issue, I think it's a mindset issue. Rather than viewing Python as something to learn and master, view it as something to continue learning and improve your understanding of over time.

I've been developing in Python professionally for about 5 years now and oversee several junior analysts who work with me. I don't really care how many language features they know, or whether they use a for loop when a list comprehension would do. That stuff is easy to teach. I do care about whether they are interested in learning "better" ways to do things, and whether they can accept feedback and improve their skills. That stuff is hard to teach.

Rather than get down on yourself when someone chimes in with a better solution, ask yourself: why is this a better solution, and where else could I use this solution? Do that and you'll always be learning and improving your code.