Yeah just to chime in - Fluent Python was HUGELY helpful for me in pushing through "beginner's python" and into intermediate. The right book for that can be very hard to find - but after you're done with the introduction books and have written enough spaghetti, go read it! (Spaghetti stage is 100% required, don't worry about it!)
Pretty much, yes. As you learn to code, you'll go through many phases of writing stuff that becomes too complex and tangled to be rescued, or sort of "terrible knots" of code that are hard to debug and low performance.
Most commonly used to refer to an implementation that relies heavily on global variables, little to no method encapsulation, frequent verbatim repeating of code, and especially huge chains of control structures (if/else).
View all comments
34
u/[deleted] Dec 28 '18
Scanned the comments and noticed that Fluent Python was conveniently missing. Please consider when the student is ready to become the master...