Little Printf's Programming Story: Chapter 1

Little Printf's Programming Story: Chapter 1

[[160813]]

The original author, Fred Hebert, is a Canadian programmer who wrote an introductory book on Erlang. The English name of this story is The Little Printf. It was shared by him at the CityCode conference in Chicago in October this year. It imitates the French classic "The Little Prince" and is interspersed with some of his own experiences in learning programming. This short story has a total of 11 chapters. According to the author's introduction, the illustrations should be drawn by himself. Friends who want to see the original author's sharing can go to YouTube. If there is anything wrong with the translation, please correct it!

[[160814]]

Chapter 1

I am glad that I was born before computers and video games became popular. My friends and I often played outdoors, and we could enjoy inventing games at that time.

We would play the hero, holding a branch that would instantly transform into a bow, a gun, a sword, or a telescope. We could turn the branch into anything except a boomerang, because once you threw it, you had to pick it up again.

As I grew older, it became a little embarrassing to continue playing these games. You couldn't use pine cones as grenades and pretend you had superpowers because the other kids thought the adult world was more interesting. I didn't fit in anymore. Eventually, I had to grow up. But, it was still a very lucky childhood.

Later, I had the opportunity to play video games and own a computer. In the games and computers, the fictional world I had always dreamed of appeared in front of me. I was completely immersed in it, and in that world, I lived a completely different life.

But most video games have one thing in common: you can’t create, you can only deal with and consume. When I was a teenager, I participated in improvisational theater. In the theater, I could communicate with others, create together, and let my imagination run wild.

Of course, the improv scene in Quebec is different; there's an ice rink inside - it's all about hockey.

From 2005 to 2008, I studied multimedia technology at university and came across programming by chance. I thought programming was incredible! I was full of creativity and could make money! At that time, I designed my first game prototype and jumped for joy.

But I was later told, "That's not a real video game." "It's just an HTML form, and it would be better if you replaced the text and options with arrays. The code needs to be cleaned up a bit more."

I was a little disappointed; the game was actually designed based on a script I wrote, which allowed players to "choose their own adventure journey." However, I also realized that if I wanted to make what I developed be recognized by more people, I had to learn a lot more related knowledge.

I had to learn "real programming". From JScript in GUI tools, to something better, like PHP. So I learned PHP, and JavaScript. Then someone told me what real programming was; PHP sucked. Someone said maybe I could try Python, so I did.

However, real programmers know more advanced things. Python's lambda is not enough, and object-oriented programming is not enough. Others told me that I'd better read SICP (Structure and Interpretation of Computer Programs) next, because this book is the Bible in the field of computer science.

That’s how I got into Scheme. Later I bought K&R (C Programming) because real programmers in the real world know C. I signed up for a training course at a local university because real programmers know data structures and math, and I learned a little bit of that. I started reading papers and technical books because real programmers need to keep up with the times and master the latest algorithms.

In the process, I learned Erlang and started making a living with it. I wrote a book about Erlang. Interestingly, no one questioned whether I could really write a book or draw illustrations. Anyway, I got a job teaching people Erlang without ever doing production development in Erlang.

Original text: http://ferd.ca/the-little-printf.html

<<:  A review of the top 10 losers and winners of 2015: Lei Jun and Luo Yonghao are on the list

>>:  Looking back at 2015 and looking forward to 2016, what progress has been made in the field of machine learning?

Recommend

Chinese scientists discover new cell type, plants can move now!

The world we live in is colorful because of the e...

Can you smell or taste the stench of snail noodles?

There are too many "have to" in life I ...

8 Practical Techniques for Programmers to Learn on the Weekend

Whether you are a novice programmer who is just s...

Why does the price of the same broadband differ by twice as much?

Nearly four months after the Beijing Municipal Hou...

14 tips to improve the conversion rate of advertising landing pages!

This article is a summary of the book "The B...

How to use coupons for promotion, here are 4 tips for you!

Coupons are the most commonly used tool in our op...

Are there still virgin forests in China? Where are they mainly distributed?

The natural zones on land are mainly deserts, for...

Apple iOS 13.2 beta adds new feature: can delete Siri dictation history

Apple released the first beta version of iOS 13.2...

Live broadcast design for 1 yuan trial class to paid group

There are endless online education courses on the...

Wireless charging, say goodbye to the "wired" life!

Wireless charging form There are three types of w...