Tobias Lewen’s Post

This week I spent 2 hours debugging a pipeline that broke because of a subtle mutable default argument. Last week I finished DataCamp's "Intermediate Python for Developers" - and guess what chapter was in there. Funny how that works sometimes. A few takeaways that'll stick with me: • Mutable defaults are a trap, even for people who "know Python" • Decorators aren't magic - they're just functions returning functions (but the mental model matters) • Comprehensions > loops, until they don't fit on one screen anymore Working with Python daily on dbt models, and data transformations, it's easy to get comfortable in a narrow slice of the language. Stepping back to revisit the fundamentals consistently makes my production code cleaner. What's your approach - do you block time for structured learning, or learn purely on the job? #Python #DataEngineering #LearningInPublic

  • diagram

To view or add a comment, sign in

Explore content categories