One Punch Python

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters

There is a fun anime series called "One Punch Man". And surprisingly, it has some great lessons for mastering Python.

The story takes place in a slightly more modern world than ours, where heroes defend the modern cityscape from regularly invading monsters. Imagine a parade of mini-Godzilla or Mothra-like critters, but more diverse and colorful and intelligent, and ranging widely in their size and threat level.

This goes on to the point where a formal league of heroes gets formed, with ranks for different perceived skill. Enter the protagonist, named Saitama. Read More

He is not as flashy as the other heroes.

If anything, at first glance he looks harmless.

But it turns out he is so effective as a martial artist, so unparalleled in his skill, he is able to knock out massive powerful beasts with a single punch, every time. Hence the name.

This show is a comedy, filled with hilarious situations created by the hero-managing institutions failing to recognize his super-talent over and over. I am leaving a lot out here - it is worth digging up and watching.

But the show has a powerful lesson for us Pythonistas.

Because the source of Saitama's mastery is revealed in the first season. Every day, without fail, he did

 

  • 100 pushups.
  • 100 situps.
  • 100 squats.
  • And then ran ten kilometers.

 

Notice how SIMPLE this is.

He's drilling these fundamental exercises with relentless consistency. And somehow, it manages to unlock superhuman skill.

That reminds me of what happens when you deeply master the basics of Python programming.

OOP, for example. Because OOP is the critical foundation ALL complex software is built on. A little OOP knowledge goes a long way... but greater understanding unlocks ENTIRE NEW UNIVERSES of software to you.

Or automated tests, like unit tests. When you master writing those, you can suddenly create shockingly powerful software systems that non-test-writers cannot touch. Writing tests is a legit superpower.

 

 


ema james

10 בלוג פוסטים

הערות