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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your