Real Python - You Got the (Python) Power

Hey there,

So this comment I got struck a cord with me—

Subscriber George writes:

The goal of the programming is to solve real-world problems:

You must understand how to translate a real-world problem in the physical world into a program that solves that problem.

That's the #1 goal of software engineering.

You know, when I first got into programming, I was obsessed with "pure" theoretical experimentation.

Punching little toy programs written in BASIC into my grubby Commodore 64 was the best...

I'd finally convinced my parents to buy this machine from classified ad in a local newspaper.

Sure, I'd forfeited my chances to get that sweet SNES gaming console, but this ugly little duckling of a "home computer" was way better anyhow...

Hours were spent typing out simple test programs from old "introduction to home computing" books I found at the library:

10 PRINT "HELLO, WORLD"
20 GOTO 10

Seeing those few lines of code run on a real machine made me jump with glee—

It fascinated me to see this flow of execution acted out in glorious 320x200 pixels resolution on the TV screen...

"Write some text to the screen!"

"Go to line 10 and do it again...and again...and again" — 

Wow! ;-)

And this went on for a long time. For the first couple of months all I did was play with code snippets that didn't serve a real purpose.

It must've been almost a year before I did anything "useful" with my fledgling programming skills...

I think my first program that solved a "real-world problem" was just a bunch of variables and math operators to help my dad calculate the area of a floor plan.

My dad was happy that this magical beige box hooked up to our family TV saved him a few minutes of punching the same numbers over and over again into a calculator...

But, to my surprise, writing this "useful" program wasn't satisfying at all—

By then I'd understood basic looping constructs, and just adding up a bunch of numbers and printing them out was...boring!

Looking back, it's kind of funny and ironic:

I enjoyed my theoretical "cutting edge" programming exercises so much that I didn't see the value in the skills I already possessed.

And this wasn't the last time I felt that way. I think it's a common affliction for us programmers:

"Sure, I could build this app but I need to learn OOP first."

"Yeah, but I don't want to start this project until I've mastered the new features in Python 3."

And so on.

This brings me back to George's comment: The goal of the programming is to solve real-world problems.

It's so true.

Don't get me wrong—there's great value in theoretical experimentation, "scientific" pursuits, and learning new things just for the fun of it.

But sometimes it's a good idea to ask yourself: 

"What problems can I solve right now with the skills I already have?"

Happy Pythoning!

— Dan Bader

Older messages

[CPython Internals Book] Final Update Released -- Early Access Ends Today

Tuesday, January 26, 2021

Hey there, I've got some great news to share: CPython Internals: Your Guide to the Python 3 Interpreter graduates from Early Access today and I've just released the final ebook files 🥳 As an

[PythonistaCafe] Q&A

Sunday, January 24, 2021

Hey there, At this point you should have a pretty good idea of what PythonistaCafe is about and what makes it special. In this email I want to answer some common questions that I get asked about the

[PythonistaCafe] What's in PythonistaCafe for you?

Saturday, January 23, 2021

Hey there, A couple of years ago I'd become quite interested in martial arts. Hours upon hours of watching "The Karate Kid" growing up must've taken their toll on me... And so, I

Python for mobile development?

Friday, January 22, 2021

Hey there, What about using Python for mobile app development? Historically, Python didn't have a strong story when it came to mobile application development. In fact, Android and iOS development

[PythonistaCafe] Why PythonistaCafe exists

Friday, January 22, 2021

Hey there, In one of my last emails I talked about how some online communities in the tech space devolve over time and turn into cesspools of negativity. This relates directly to how and why I started

You Might Also Like

Post from Syncfusion Blogs on 11/28/2024

Thursday, November 28, 2024

New blogs from Syncfusion All Things Open 2024 Takeaways, Part 3: Freedom vs. Sustainability By Marissa Keller Outten The role of sustainability and freedom in open source was discussed at the All

Top Tech 🏆 HTC VIVE Focus Vision Review — These Clip-on Earbuds Are Simple and Sound Good

Thursday, November 28, 2024

Also: Plugable Portable Monitor Review, and More! How-To Geek Logo November 28, 2024 😎 Question Reality If you're wondering what to buy on Black Friday or during the holiday rush, this week we

Hackers Exploit Popular Game Engine to Distribute Cross-Platform Malware

Thursday, November 28, 2024

THN Daily Updates Newsletter cover Programming with GitHub Copilot: Write Better Code--Faster! ($48.00 Value) FREE for a Limited Time Accelerate your programming with the most popular AI coding tool on

Edge 452: The AI Magic Behind Google's NotebookLM Audio Features

Thursday, November 28, 2024

How does NotebookLM generate such cool podcasts? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Check Out These Awesome Gifts!

Thursday, November 28, 2024

Let us help you check one thing off your to-do list with this guide to the best gifts for the holiday season. Make the holidays a little brighter with these great gift options. From health and wellness

🚀 Accelerate Your Growth As a Software Architect

Thursday, November 28, 2024

What students are saying about my courses More than 4300+ students already completed my courses. And they gave them a 4.9/5 ⭐ rating. I'd love to see your success story next on this wall of

🫵 Android Developer Previews Are Not For You — Virtual Reality Might Finally Be Socially Acceptable

Wednesday, November 27, 2024

Also: iPhone Camera vs. Digital SLR, and More! How-To Geek Logo November 27, 2024 Did You Know The band Radiohead was originally called "On a Friday"—the band was formed by high school

JSK Daily for Nov 27, 2024

Wednesday, November 27, 2024

JSK Daily for Nov 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted

Ranked | The World's Biggest Importers of Goods 🌎

Wednesday, November 27, 2024

As Trump tariffs are anticipated to disrupt global trade and push up prices for consumers, we show the world's biggest importers of goods. View Online | Subscribe | Download Our App >> 📱Book

Daily Coding Problem: Problem #1621 [Easy]

Wednesday, November 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some