The Programming Story of Little Printf: Chapter 2

The Programming Story of Little Printf: Chapter 2

[[160955]]

Chapter 2 of "Little Printf's Programming Story": I finally met Little Printf in the story. What will happen between them? - Previous Chapter

Chapter 2

And so I started giving speeches all over the world, teaching others how to do things that sometimes I hadn't done myself, but everyone seemed to believe that I was a real programmer, precisely because of the things I did that had little to do with programming.

One day, I was heading home from a meeting and was stuck at the airport. I was typing furiously on my terminal when I heard a strange, soft voice asking me:

"Can you design a system for me?!"

"What?!"

“Design me a system!”

I was surprised by the request and looked up to see who asked it. I looked around and saw a kid standing not far away. He said he wanted to be a developer and asked me to call him "Printf". I thought the name was a bit silly and fancy. He looked like this:

[[160956]]

"I don't know much about computers, but you look like an expert. I want to write programs and let everyone know about them through blogs. Please, design a system for me!"

This was a surprising request, and I hadn't slept for 20 hours, so I wasn't sure I had heard him clearly. I told him that developing a system was difficult. I didn't know what he wanted the system to do, how to handle exceptions, how many readers it should support, and where to deploy it, so I couldn't design a good system for him in this situation.

"That doesn't matter. Just design a system for me."

There was no other way, so I drew him the following architecture diagram:

He looked at the diagram, shook his head and said, "This system isn't good enough. Let's design another one." I did:

And introduced to him the principles behind them one by one.

My new friend smiled politely. "That's not what I was looking for. It's too complicated and has too many features that I don't need."

I was a little unhappy because I had considered many factors, including redundancy, monitoring, backup, caching, load, external payment, failover backup, and rapid deployment. I could charge a lot of consulting fees just for this system design! Finally, I lost my patience and just drew him a picture:

Then he added, "This is the design you want. The system you want is in that black box." I hoped that this messy answer would keep him away from me. But his answer surprised me again:

“This is the design I wanted!”

That’s how I met little Printf.

<<:  iOS View---Exploration of Animation Rendering Mechanism

>>:  Google confirms next version of Android will no longer use Oracle's proprietary Java API

Recommend

High imitation Baidu Nuomi

Source code introduction: High imitation of Baidu...

The dog never thought that his urine could save a bird's life! | Nature Trumpet

Welcome to the 17th issue of the Nature Trumpet c...

Analysis of online education marketing promotion methods!

As early as the end of last year, Meituan release...

People who blush when excited must be careful of this disease

The term "red fever" has become very po...

Can data-driven operations really lead to rapid user growth?

As the saying goes, "Good wine needs no bush...

[In-depth] How to name an App?

The Myth of Naming In order to name the App and t...

Do potatoes have “natural enemies”?

Potato (Latin name: Solanum tuberosum, English: P...

New iPod touch review: Is it worth the money?

Last month, Apple quietly released a new iPod tou...

Polluting the environment? Destroying the ecology? Fertilizers feel wronged

Since the birth of the first chemical fertilizer,...

Summary of WatchKit view transition control

[[134793]] For WatchKit App, you can create multi...