G-E0MD0XV4HH 我的孫兒孫女今個暑假要學編程——於是我決定了解編程到底是什麼 Skip to main content

-

Learning AI after 80—simple, practical, and real.

I’m David, a retired grandfather exploring AI step by step.

我的孫兒孫女今個暑假要學編程——於是我決定了解編程到底是什麼

(Scroll down to see the English version)

最近,女兒告訴我,她的兒子和女兒將會在暑假期間學習編程(Coding)。

其實,我早已聽過「編程」這個詞。它經常出現在新聞報導、科技文章,以及各種有關未來發展的討論之中。然而,如果有人當時問我:「編程究竟是什麼?」我恐怕很難清楚地回答。

正因如此,我產生了好奇心。

既然我的孫兒孫女要學編程,也許爺爺也應該花點時間了解一下,究竟什麼是編程。

編程到底是什麼?

經過一些閱讀和探索後,我發現編程其實沒有想像中那麼神秘。

簡單來說,編程就是向電腦發出指令。

例如沖泡一杯茶,我們通常會按照以下步驟:

  1. 煮沸開水;

  2. 把茶包放進杯子裡;

  3. 倒入熱水;

  4. 等待幾分鐘;

  5. 取出茶包。

電腦程式其實也是同樣的道理。

程式設計師把一連串步驟寫下來,電腦便會按照這些指令逐步執行。

這些指令便稱為「程式碼」(Code)。

換句話說,編程就是人類與電腦溝通的一種語言。

原來程式碼就在我們身邊

最令我驚訝的是,原來我們每天的生活都離不開編程。

我每天都會使用:

  • WhatsApp 與朋友和家人聯絡;

  • Google Maps 和 Waze 導航;

  • 網上銀行服務;

  • 旅遊預訂網站;

  • ChatGPT 和其他人工智能工具。

而這些應用程式的背後,都有無數程式設計師編寫的程式碼在運作。

我們平時看不見它們,就像開車時看不見引擎內部一樣,但它們卻默默地支撐著我們的數碼生活。

為什麼孩子們要學編程?

起初,我以為學校推廣編程只是為了培養未來的工程師。

後來我才發現,原因遠不止如此。

學習編程可以訓練孩子的邏輯思維能力。

當遇到問題時,他們需要學習:

  • 如何把大問題拆分成小問題;

  • 如何按步驟思考;

  • 如何測試結果;

  • 如何找出錯誤;

  • 如何持續改進。

這些能力無論將來從事什麼工作,都十分有價值。

因此,編程不單是學習電腦,更是在學習如何思考和解決問題。

今天的編程比從前容易得多

在早期電腦年代,編程給人的印象十分複雜。

程式設計師要在黑色螢幕上輸入一大堆看不懂的指令和符號。

但今天情況已經大不相同。

許多兒童學習編程時,會使用像積木一樣的圖形化工具。他們只需拖曳不同顏色的方塊,就能創作遊戲、動畫和簡單程式。

學習編程的門檻已大大降低。

然後,人工智能出現了

當我進一步了解編程時,發現另一件更有趣的事情。

人工智能(AI)正在改變編程本身。

過去,程式設計師需要親手撰寫幾乎每一行程式碼。

如今,AI 已經能夠根據人們用自然語言描述的需求,自動產生大量程式碼。

例如,只需輸入:

「請建立一個展示我旅遊照片的網站。」

AI 便能幫助生成網站所需的大部分程式碼。

這是一個非常重要的變化。

未來的程式設計師,也許不再把大部分時間花在輸入程式碼上,而是花更多時間構思創意、解決問題,以及指導 AI 完成工作。

未來還需要學編程嗎?

我相信答案是肯定的。

不過,學習的內容可能會有所改變。

就像計算機的出現並沒有讓數學消失一樣,AI 的出現也不會讓編程消失。

人們仍然需要理解:

  • 邏輯思維;

  • 系統架構;

  • 問題分析;

  • 科技運作原理。

工具會越來越容易使用,但背後的思維能力依然十分重要。

給銀髮族的一點思考

作為長者,我們有時聽到新的科技名詞,會覺得那是年輕人的世界。

我以前也曾認為,編程只是電腦專家的事情。

如今,我的看法改變了。

了解編程,其實是在了解我們生活的數碼世界。

我們未必需要成為程式設計師,也不需要親自撰寫複雜的程式。

但理解基本概念,能幫助我們明白科技如何影響社會,以及未來世界將如何發展。

爺爺的感想

今年暑假,我的孫兒孫女將會學習編程。

而我,也許會花一些時間學習「編程究竟是什麼」。

他們學得一定比我快得多。

但重點並不在於誰學得快。

真正重要的是,學習永遠不會因年齡而停止。

無論是八歲還是八十歲,保持好奇心都是人生最珍貴的能力之一。

有時候,要與下一代建立聯繫,最好的方法並不是教導他們,而是願意走進他們的世界,了解他們正在學習和探索的事物。

也許,這正是編程在我尚未寫下第一行程式碼之前,已經帶給我的重要啟發。


Hashtags

#AI123 #編程入門 #人工智能 #終身學習 #銀髮族學科技 #數碼時代 #祖孫同行 #科技教育 #AI學習 #活到老學到老


My Grandchildren Are Learning Coding This Summer—So I Decided to Learn What Coding Really Means

Recently, my daughter told me that her son and daughter would be learning coding during their summer vacation.

I had heard the word "coding" many times before. It often appeared in news articles, technology discussions, and conversations about the future. Yet, if someone had asked me to explain exactly what coding was, I would not have been able to give a clear answer.

That conversation sparked my curiosity.

If my grandchildren are learning coding, perhaps it is time for Grandpa to learn a little about it as well.

What Exactly Is Coding?

After some reading and exploration, I discovered that coding is simply the process of giving instructions to a computer.

Think about making a cup of tea.

You follow a series of steps:

  1. Boil water.

  2. Put a tea bag into a cup.

  3. Pour in the hot water.

  4. Wait a few minutes.

  5. Remove the tea bag.

A computer program works in much the same way. Someone writes a series of instructions, and the computer follows them step by step.

Those instructions are called code.

In other words, coding is the language humans use to communicate with computers.

The Hidden World of Code Around Us

What surprised me most was realizing how much of our daily lives depend on coding.

Every day I use:

  • WhatsApp to communicate with friends and family.

  • Google Maps and Waze for navigation.

  • Online banking services.

  • Travel websites.

  • ChatGPT and other AI tools.

Behind every one of these applications are countless lines of code written by programmers.

Most of us never see that code, just as we rarely see the engine inside a car. Yet it powers everything we do.

Why Are Children Learning Coding?

Many schools now introduce coding at an early age.

At first, I assumed this was simply preparation for future technology careers. While that is certainly one reason, there is more to it.

Coding teaches children how to think logically.

When faced with a problem, they learn how to:

  • Break large problems into smaller pieces.

  • Follow a sequence of steps.

  • Test solutions.

  • Fix mistakes.

  • Keep improving their work.

These skills are valuable regardless of what profession they choose later in life.

Coding is not only about computers. It is also about problem-solving.

Coding Has Become Much Easier

When computers first became popular, coding looked intimidating.

Programmers typed complicated commands on black screens filled with mysterious symbols.

Today, many children begin with visual tools that resemble building blocks or LEGO pieces. They can create games, animations, and simple programs by dragging colorful blocks on a screen.

Learning coding has become far more accessible than it was a generation ago.

Then Came Artificial Intelligence

As I explored the topic further, I discovered something even more interesting.

Artificial intelligence is changing coding itself.

In the past, programmers had to write nearly every instruction manually.

Today, AI tools can generate code from simple descriptions written in ordinary language.

For example, someone can type:

"Create a website that displays my travel photos."

An AI system can generate much of the underlying code automatically.

This is a remarkable shift.

Instead of spending all their time writing code, future programmers may spend more time designing ideas, solving problems, and guiding AI systems.

Will Coding Still Matter in the Future?

I believe it will.

However, the nature of coding may change.

Just as calculators did not eliminate mathematics, AI will not eliminate coding.

People will still need to understand logic, structure, and how technology works.

The tools may become easier to use, but understanding the principles behind them will remain valuable.

A Lesson for Seniors

As seniors, we sometimes hear new technological terms and assume they belong to younger generations.

I used to think coding was something only computer professionals needed to understand.

Now I see it differently.

Learning about coding is really learning about the digital world we live in.

We do not need to become software engineers. We do not need to write complex computer programs.

But understanding the basics helps us appreciate how modern technology works and why it is shaping our future.

Grandpa's Reflection

My grandchildren may spend part of their summer learning coding.

Meanwhile, I may spend part of mine learning what coding means.

They will probably learn much faster than I ever could. But that is not the point.

The point is that learning never stops.

Whether we are eight years old or eighty years old, curiosity remains one of life's greatest gifts.

And sometimes, the best way to connect with a younger generation is simply to learn about the world they are growing up in.

Perhaps that is one of the most important lessons coding has taught me—before I have even written my first line of code.


Meta Description

Curious about coding after hearing that my grandchildren would study it this summer, I explored what coding really means, why children are learning it, and how AI is transforming the future of programming.

Hashtags

#AI123 #CodingForBeginners #ArtificialIntelligence #DigitalLiteracy #LifelongLearning #Grandparenting #TechnologyForSeniors #FutureSkills #LearningTogether #AIEducation


Comments

...

From Google AI Blog

...