July, 4, 2021

4件我希望學Python之前就知道的事

初學者通常太擔心又其實不重要的事

Blog - 4 things I want someone to tell me before learning Python

很多人初學Python的一個常見錯誤是太緊張,以為編程是完美主義者的遊戲,要了解每一樣細節才能學會。當然,要學好是需要花功夫練習,和理解最核心的概念。然而,一個好的Python初學者亦不需要樣樣細節都做到完美。接下來,我想分享一個Python初學者有甚麼事需要學好,還有甚麼事是不需要太上心。

 

你不需要精通編程就能寫程式

學編程對好多人而言好像好難,以為是一種要瘋狂練習到變成黑客,才能有小成的遊戲。實際上,學編程就似學一樣新運動。要精通當然需要練習,但只要幾個小時的訓練,就可以開始自己玩

 

這聽來有點不合常理。其實Python的語法非常簡潔,往往幾句就能寫完一個有用的程式。因此,你很快便能感受到編程的威力。

 

你不需要記得所有細節

正如我們日常所說的英語廣東話一樣,Python都是由語法組成的。一開始學時,你可能會被太多的細節所嚇到,比如說每一種數據類型都有無數的操作。是的,你必須要學會理解語法才能寫程式。幸好,你其實不需要記得所有細節。即使老練的Python開發者亦不會記得所有細節,但他們知道當他們需要時,該去甚麼地方才會找到參考。這才是Python初學者真正要學習的技能:理解核心概念,知道何處找到細節。

 

最好的工具未必適合初學者

在我剛學Python的時候,我花了大量時間閱讀老手們推薦甚麼工具。比如說編輯器,有些人認為 Vim 最好用,亦有些人說Jupyter Notebook才適合初學者。我現在知道我當初花太多時間去糾結了。其實大部分你可以在網上找到的工具都足夠好,它們的一點點分別對初學者而言根本不重要。

 

而且,最好的工具未必適合初學者。比如我用PyCharm做日常的開發工作,我當然認為它好用。然而,它的功能太多了,我不認為一個初學者應該花時間去學這些無關痛痒的功能,因為好可能要到幾個月後才會用到。先不要理別人覺得甚麼最好,用你覺得舒服的工具就可以了。

 

不要太擔心學哪一種語言

另一個我當初太糾結的問題是應該學哪種語言。對於初學者而言,由於不太了解行情,要知道哪一種語言對自己最有用非常難。每一種語言都有限制,就算強如Python都有限制。Python的常用領域是數據分析和人工智能,對前端開發便無能為力。

 

當我發現學習第二種語言是多麼容易時,我才真正釋懷。因為大部份的程式語言都有相似的概念,只要你學會了第一種,很容易便可以學會其它語言。所以,你其實並不需要徹底考慮哪種語言對你最有用,只需要選一種功能足夠強大又容易學的就好了。如果以這兩個標準的話,Python絕對是你的最佳選擇。

 

那又如何

我希望你讀完後會覺得學Python沒有你想像這麼難。其實,如果有適當指導的話,大概五十小時的訓練你就能成為一個不錯的Python開發者了。當然,MasterPython 是你最佳的選擇。MasterPython 課程的設計方針是專注核心概念,減省無謂的細節,亦減少你花在記憶的心力。

6 reasons to learn python

Why learn Python?

01.

Top 1 language

Ranked as the most popular programming language in the world. It means it is most needed.

02.

Easy to Learn & Friendly

Python is designed for easy understanding and it reads like plain English.

03.

Shortcut to Tech World

Learning Python as your first coding language can be the easiest step to get into the Tech World.
04.

Code for AI & Analytics

Python is like the default language for AI & Analytics as most related tools are in Python.

05.

Multi-purpose Language

Python is a general-purpose language, which means that it can be used to build about anything.

06.

High Demand for Jobs

From the Developer Survey, Python was one of the most in-demand languages in recent years.

Why MasterPython?

Our In-person courses are For all the beginners who want to get into tech world

“Why it doesn’t work?”, “It’s another Error Message and I don’t understand…” There are too many pitfalls at the start of learning a programming language. We know how difficult it is to learn Python without any help when you do it completely online, that’s why we tailor all of our course in in-person setting to help you pass through the hardest part in your learning journey – the Learning Threshold.

Why MasterPython? Best Python Courses in Hong Kong & Singapore

Advantages of Our In-Person Courses

01.

Walk you through the learning threshold

Everybody needs help at the beginning, especially for programming. Our in-person courses are deliberately designed to make your success easy by walking you through the learning threshold.

02.

Learn, Checkpoint, Apply - We make it engaging

Effective learning is a systematic process. Learn – to absorb new knowledge. Checkpoint – to check if you fully get it. Apply – to ensure you can put it into practice. Engaging learning starts here.

03.

Ask your Questions in class, get clear as you progress

It is not unusual to spend a couple of hours just on solving one little error in Python when you just start learning, and that’s really discouraging. That’s why we are here in class to answer your questions to make sure you progress.

MasterPython helps you pass through the Learning Threshold - Best Python Courses in Hong Kong & Singapore
Walk you through the learning Threshold with us.
Disadvantages of Learning your first programming language online