如何自學寫程式??—?心法是成功關鍵 by tinaaaaaleee

资讯 2024-07-13 阅读:22 评论:0
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

一個少女從自學寫程式到創立區塊鏈公司和進入UC Berkeley區塊鏈研究院的故事

The story of a teenage girl who's been learning to write from school to create a chain company and enter the UC Berkeley District Chain Institute.

寫這篇文章是想分享給想自學卻不知道如何開始的朋友 — 就像給過去的自己的一封信。希望幫助到嚮往快速學習新事物的大家,一起加入自學這個大家庭:)

This article is written to share with friends who want to learn but don't know how to start -- like a letter to their past. People who want to help learn things quickly join the family:

ps. 這篇文章雖然是從自學寫程式的觀點出發,但同理可應用到其他領域

ps.

對我來說,寫程式有三大好處是我特別喜歡的

For me, there are three advantages to the program that I really like.

  1. 工具只需一台電腦:這點是讓我『開始』寫程式的原因。相較於硬體、生物科技、化學工業,寫程式可以說是工具成本最低的一個職業了,不用特別到實驗室或向他人借器材,只要電腦在手,隨時可以開工。

    The strong tool requires only one computer : That's why I'm to start writing programs. Compared to hardware, biotech, chemical industries, the program can be described as the lowest cost of tools, without special reference to the laboratory or lending equipment to others, as long as the computer is in hand.

  2. 工作地點和時間非常彈性:這點是讓我『持續』寫程式的原因。一個最有趣的例子,就是我前年暑假在香港一家區塊鏈新創公司實習的那三個月,都是早上10點出門外拍到約晚上6點,晚上7點到12點遠端在台灣的家工作 XD 如果不是寫程式的時間彈性,我也不可能有那麼多白天的時間去做我最喜歡的事。這個優點真的給了我非常多的自由,至今我都覺得寫程式是世界上最美好的職業:)

    The most interesting example is that I spent the last three months of my summer vacation with a new business company in Hong Kong, out at about 6 a.m., working at home in Taiwan from 7 p.m. to 12 p.m., and I wouldn't have had so much daytime to do my favorite thing if I didn't have the time to play the program. This really gave me a lot of freedom, and so far I thought that writing was the best job in the world:)

這三張都是那時候拍的  (https://wwwhttp://www.360doc.com/content/19/0524/21/tinaaaaalee/)這三張都是那時候拍的 (https://wwwhttp://www.360doc.com/content/19/0524/21/tinaaaaalee/)

  1. 只要會搜尋,沒有解決不了的問題:這點是讓我『克服困難』的秘訣。可能對學其他科目的人來說,要單純靠上網搜尋答案是非常困難的,很多問題也沒有標準答案,更別提如何驗證解答的正確性。但對寫程式來說,能編譯過的,能快速達成目標的就是解答,複製貼上一試就知道,還會有錯誤訊息提示你解答的方向(通常直接搜尋錯誤訊息就可找到解答)。而且,相信是工程師的人都知道,在Github上搜尋自己要做的專案的關鍵字,常常可以找到類似的程式碼,或是工具庫(如NPM Modules),讓寫程式更快更容易。網路上更是有非常多程式教學,如我自學寫網頁的起點W3SchoolPluralsight 等,還有無數個部落格和Medium。

我是高二時加入北一女中的資訊研究社開始學C++的。那時因為有學姊和資訊老師認真的教學,很快就上手,並開始在高中生程式解題系統 ZeroJudge 解有趣的程式題(有點像機智問答,大部分題目乍看很難,想通了就有非常簡單的解法 XD),並開始往資訊競賽方向前進,因為當時視野狹隘,以為寫程式只有這條路可以走 qwq。

I started with C++ when I joined the North Women's Information Research Agency in my second year. I started to learn C++ because of the fact that there were sisters and information teachers who were serious and quickly started working on the high school student program system ZeroJudge to solve interesting program questions (a bit like a smart question, most of which are hard to read and have a very simple solution XD) and to move forward towards the information competition because of the qwq that was the only way to write.

就這樣一路堅持到大一,最好的成績只有在全國的成大資訊競賽中拿到第五名,沒有特別出色的表現,也發現我讀的香港科技大學,程式競賽的風氣不如高中,幾乎全校只有不到20個人對這個有興趣。

In the same way, the best results were achieved only in the fifth year of the nation's major information competition, without any special success, and in the Hong Kong University of Science and Technology, which was less competitive than high school, where almost 20 people were interested in it.

於是,在大一下看到黑客松活動的傳單之後,我決定一試,那是我第一次寫C++以外的語言。

So, after seeing the flyer of the hacker pine, I decided, for the first time, to write a language other than C++.

我花了兩天,把 W3School 上 html, css 教學都讀了一遍,跟著網站上的線上編譯器試著改每一段code再編譯,直到能熟悉並背出大部分語法為止。

It took me two days to read W3School html, csss compiler tried to re-compose each section until it became familiar with and reproducing most language.

W3School線上編譯器:https://wwwhttp://www.360doc.com/content/19/0524/21/html/tryit.asp?filename=tryhtml_defaultW3School線上編譯器:https://wwwhttp://www.360doc.com/content/19/0524/21/html/tryit.asp?filename=tryhtml_default

W3School line translator: https://www.360doc.com/content/19/05/21/html/tryit.aspname_wwwfile_text_www.int_w_Wchool_s7School_t=ahryt= <hryf = http://hrylan=http://www.undunct_www.int/comt_www.int/html_www.int/comt_www.html/comt_www.html/comt_www.html/comt_www.html/comt_www.html/comt_www.html/www.html/www.html/.html/html/www/ft_www/.html/www.html/.html/.html/.html/.html/.html/.html/.html/.html/.html/.html/.</p><p>接著,我開始學後端語言NodeJS,一開始查了超多教學都沒有看懂(不像html css 那樣直覺),直到讀了這篇 <a href=Node入門 並照著裡面的範例程式跑才開竅。 開竅的定義是:能從一個空白的檔案,生出一整個有後端有前端的網頁,並自由加新功能,可以查網路找解答,但絕對不能複製現成網站。

And then I started learning the back language NodeJS, and I started looking at the ultra-multi-pedagogical unreadable (not like html css) until and followed the example in it. The opening definition is that

接下來,我開始找一些實作應用的教學,例如[如何用NodeJS、Express、MongoDB 和 SocketIO 做一個聊天機器人](http://How to build a real time chat application in Node.js using Express, Mongoose and Socket.io)。每個名詞只要看不懂就丟進Google搜尋,不要跳過,那時我的心法是:

Next, I'm looking for practical lessons, such as how to use NodeJS, Express, MongoDB and SocketIO as a chat robot (http://How to build a real timechat application in Node.js using Express, Mongoose and Socket.io).

這個心法讓我奠定了良好的基礎,不像很多人學寫程式,為求速成而直接複製現成的網站,到後來因覺得架構太難太複雜,無法掌握而放棄。永遠都要從最簡單的架構開始,習慣了再慢慢套用更複雜的框架,這樣才能有自己靈活運用程式碼的能力,而不是不斷的在修復錯誤訊息中,讓程式碼越來越複雜。

This approach has allowed me to build a good foundation , unlike many people who have learned to write programs, to copy existing sites directly for speed, and then to give up because they feel too complicated and unmanageable. It is always necessary to start with the simplest structures, to get used to a more complex framework, so that they can use the code in a dynamic manner, rather than constantly making the code more complex by restoring the wrong message.

學會了網頁前後端之後,我就開始積極參加黑客松練功,至今已有近20場比賽經驗,也贏了幾場國際黑客松,其中包含以太坊全球黑客松舊金山站(Medium 心得文)。黑客松真的是每個工程師必去的練功活動,在時間的壓力下,跟第一次認識的隊員合作,從零寫出一個專案,並呈現給不同背景的評審,這也是我覺得創業非常重要的技能之一。

After learning about the back end of the web page, I began to participate actively in Medium’s Minded . The hackers are really one of the most important skills of every engineer,

除了參加黑客松外,我也開始探索資訊工程的不同領域,例如AI, Robotics, CyberSecurity 和 Blockchain。大一時我入選香港科技大學每年從200多位申請者中選出的20位新機器人隊隊員之一。加入的初衷是因為機器人隊是我們學校最難進的社團之一,要花近一年的培訓與最終決賽,贏的隊伍才有可能加入。對,就是因為『虛榮心』而加入,非真正有興趣。

In addition to participating in hacking pine, I have also started exploring different fields of information projects, such as AI, Robotics, CyberSecurity and Blockchain. I was elected to the Hong Kong University of Science and Technology as one of the 20 new robots selected every year from more than 200 applicants.

於是,惡夢開始了。我花了半年時間,每個禮拜進實驗室10到20小時做無人車 smart car 機器人,除了寫能用車身前置鏡頭判斷左轉右轉之外,從焊 mainboard 到畫車身設計圖,甚至鉅板子都做過。 時間不夠的壓力讓我養成了在上課當下就學會,不回家複習這個習慣,還有用最少能應付考試的力氣上課,極端一點例如翹掉所有課,期末考前再一次性把上課影片看完 XD 這些快速、長時間專注學習的習慣也讓我至今受用無窮。人在沒有其他退路的時候有無限潛能,這時我的心法是:

So, the nightmare began. I spent six months in the lab 10 to 20 hours a week as a smart car robot, working from weld mainboard to drawing car body designs, and even on board. Time was not enough to feed me to a strong meeting in the middle of my class, not to go home to study the habit of /strang, and , to drop all the lessons, and to see XD again before the final exam.

自學網頁發開一段時間後,我又發現一件事:『網頁開發只是寫程式賺錢中的最基礎入門版』,還要加上其他應用(如人工智能、區塊鏈)才會更有價值,否則在產業裡非常沒有競爭力(只能削價競爭 !?)

After a while, I discovered that , , was the most basic of the programs' profits, adding other applications (e. g. artificial intelligence, block chains) would be more valuable, or would it be very uncompetitive in the industry?

故事是這樣的,我在成為網頁開發工程師後,第一份工作就被一家香港小公司剝削,以小時計費,時薪是50港幣一小時(約200台幣),低於學校活動 student helper 時薪53港幣。那時我沒多想就接受了這個 offer,因為畢竟自學這些都是免費的,沒有理由跟人家收費很高。

The story is that, after I became a web developer, my first job was cut by a small Hong Kong company at an hourly rate of 50 Hong Kong dollars (about 200 Hong Kong dollars) per hour, less than 53 Hong Kong dollars per hour of school activity. I didn’t want to accept the offer, because it was free after all, and there was no reason to charge them very high.

結果,悲劇的是那位香港老闆要求我幾乎無時無刻都要在線上,處理他臨時想加的網頁新功能,老闆還會一直催進度,我只好傻傻的照要求做,並老實按小時計費,最後一個多月邊上學邊兼職的薪水只有3000多港幣,老闆還會一副你做得不夠快不夠好我就換人的樣子。這次經驗中,唯一的好處就是讓我養成了能快速開發任何功能的能力,和讓我瞭解到:

As a result, the tragedy was that the Hong Kong boss asked me to be online almost all the time to deal with the new web features he wanted to add, and the boss kept pushing, and I had to do what I was stupid enough to do, and I had to do it on an hourly basis, with more than 3,000 Hong Kong dollars on the end of the month, and the boss would change his face if you didn't do it fast enough. The only good thing in this experience was that I was able to develop anything fast , and I realized:

於是,我開始在教學影片平台(如Coursera, Udemy, YouTube)上,同時學人工智能與區塊鏈,看哪一個領域更有趣,我能堅持得比較久。後來當然是覺得區塊鏈更神秘、更有趣,所以更喜歡他。

So I started teaching video platforms like Coursera, Udemy, YouTube, learning artificial intelligence at the same time, and looking at which field is more interesting, and I could hold it longer. Then, of course, I thought the chain was more mysterious and interesting, so I liked him more.

而當時我選擇區塊鏈而非人工智能的另一個原因是,對剛入門的我來說,選擇的心法是:

And the other reason I chose a chain instead of an artificial intelligence was that, for me, the way I came in, the choice was:

結果很幸運的,我的大學開了一個名為 Blockchain Application 的研究專題,我也報名上了,因此我學區塊鏈就更有目的了,也在博士生的指導下在 ACM CryBlock 發了第一篇區塊鏈的論文。

As a result, fortunately, my university opened a research topic called Blockchain Application, and I signed up, so I got more purposeful on the chain, and I published the first section on the chain at ACM CryBlock under the direction of a doctoral student.

跟很多人一樣,我以前的夢想也是進大公司過好日子。

Like a lot of people, my old dream was to get into a big company.

去年暑假,靠許多黑客松與比賽的得獎經歷,和在區塊鏈界的小成就(面試官覺得發Medium區塊鏈教學文章太有意思,特別喜歡我),我以大二的身份成功錄取了香港微軟人工智能部門與匯豐銀行合辦的一年實習計畫。原本是給即將畢業的學生申請的,並有機會畢業後直接進入微軟工作。

Last summer, thanks to a lot of hackers and contest winners, and small achievements in the sector chain (the interviewer found medium chain articles too interesting and especially liked me), I successfully took a year-long internship in my capacity as a sophomore in Hong Kong's Microsoft Artificial Intelligence Department and the Rich Bank. It was originally for graduating students to apply and get a chance to go directly to Microsoft work after graduation.

Microsoft Hong Kong Office — Data & AI TeamMicrosoft Hong Kong Office — Data & AI Team

但在大公司工作後我才發現,雖然工作內容比新創公司輕鬆很多(通常新創公司因為缺人手,會把一個人當十個人用),卻沒有像新創公司那樣,讓我覺得我的角色非常重要,會影響整家公司,並跟著公司一起前進的感覺。每天的工作也重複性較高,不像新創公司,每天都有很酷的新工作出現。工作中的挑戰也不像新創公司,在大公司裡分配到的任務幾乎都是前輩們已經有能力做到的,只是給我這個實習生練習,而以前在香港的新創公司裡,很多任務是從前沒有人做過,我是第一個做出來的。我決定退出微軟,休學一年在台灣發展的心法是:

But after the big company worked, I realized that, while the job was much easier than that of the start-up company (often because of a shortage of people, the start-up company uses one person as ten people), it didn't make me think that my role was as important as that of the start-up company, that it would affect the company as a whole and follow the company

Turing Chain 圖靈鏈科技: https://Turing Chain 圖靈鏈科技: https://

TurringChainTechnology:

((感覺是個超不乖的學生 XD

# Feels like a really bad student XD #

就這樣,我從去年10月退出微軟後,在台灣發展了約半年,並在今年3月正式來到 Berkeley 區塊鏈研究院

As a result, I have developed in Taiwan for about six months since I withdrew from Microsoft last October, and in March this year officially to the Berkeley Collar Institute .

得到這個去 Berkeley 的機會也是一個很有趣的故事。我在2018年10月退出後,飛到舊金山去參加了全球以太坊黑客松,並在那裡認識了 Berkeley 區塊鏈研究院和加速器的主辦人。她也因為我們團隊贏了一個小獎而對我們印象深刻,並提出這個來 Berkeley 當短期學者的 offer。

This opportunity to go to Berkeley is also an interesting story. After leaving in October 2018, I flew to San Francisco to attend the Global Ether Boxer Pine, where I met the owner of the Berkeley section chain institute and the accelerator. She was also impressed by a small award that our team won and offered this as a short-term scholar offer.

所以,其實收到這個 offer 是11月的事,為什麼拖到隔年 3 月才去就是因為我一直不確定『去國外發展的必要性』。

So, it was November when I got this offer, and why it took me until the next year, March, because I was never sure of the need for `strong' to go abroad'.

在台灣一切都看似很美好,我有一小群喜歡我的區塊鏈教學的粉絲,有許多幣圈鏈圈的好友,也常常被邀請去公司內部或公開活動演講與教課。公司業務方面也在超厲害的共同創辦人兼執行長 Jeff Hu 的幫助下,有一些穩定的客戶。但我後來意識到:

In Taiwan, everything seems wonderful. I have a small group of fans who like my sector chain teaching, friends in many currency chains, and often invited to speak and teach inside the company or in public events. The company also has some steady clients with the help of a superb co-organizer and executive Jeff Hu. But then I realized:

於是我現在在 Berkeley 的校園裡寫下這篇文章,在這裡認識了很多區塊鏈公司的創辦人,和對區塊鏈和創業有興趣的朋友,也成功在拉斯維加斯大學和最大化學工廠 BSAF 演講,很慶幸自己又做出了正確的選擇。

So I'm writing this article at Berkeley's campus, where I met many of the founders of the chain companies, friends interested in the chain and the business, and I made a successful speech at the University of Las Vegas and the Max Institute BSAF, and I'm glad I made the right choice.

總結了自己自學的歷程,我覺得對初學者最好上手的還是『課程觀念加實作影片』,我學區塊鏈時發現網路上知識非常零散破碎,而且多為英文,不像學網頁開發那樣容易,一直想著『如果區塊鏈也能有很清楚的影片入門教學就好了』,我就不用到處拼湊知識,能夠更快地上手。

As a result of my own self-study experience, I think that the best thing for starters is the , and when I learned the chain, I discovered that knowledge on the Internet was very fragmented and that it was much easier in English than in Internet development, and I kept thinking,

這就是我開始在 Hahow 這個中文自學平台上開區塊鏈入門課的動機。

This is how I started the in this Chinese self-learning platform.

從自學區塊鏈到專家!https:///cr/berkeley從自學區塊鏈到專家!https:///cr/berkeley

https://cdn-images1http://www.360doc.com/content/19/0524/21/max/3840/1*pes9AfP7U5Qny1sta.jpeg'at=from the school-room chain to the expert! https://cr/berkeley'em>

希望能透過這堂課,讓更多像我一樣對區塊鏈有興趣的學生,不用走冤枉路,並且能直接上手寫程式應用。而這門課也是讓你試學,『決定區塊鏈是不是你要繼續專研的領域』一個很輕量的起點。

It is hoped that, through this course, more students like me who are interested in the chain, will be free from the wrong path and will be able to apply determines whether the chain is a very light start in the field that you will continue to study

網路課程還有一個很大的優點就是可以隨時播放或暫停,自己控制學習的進度,又比學校直接修課,萬一不喜歡還要痛苦的考試還要自由

One of the great advantages of the Internet course is that it can be played or suspended at any time by , that it controls the progress of its studies and that it is more likely to be free than the school to study directly, if it does not like it, to have a more painful test .

感謝大家!歡迎任何對文章的建議,如果喜歡也可以幫我拍手鼓勵或分享!

Thank you! Any suggestions for the article are welcome, and if you like, you can give me a hand-clapping or sharing!

Thanks for your time reading!!

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 0.00003374个比特币等于多少人民币/美金

    0.00003374个比特币等于多少人民币/美金
    0.00003374比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00003374比特币等于2.2826 1222美元/16.5261124728人民币。比特币(BTC)美元(USDT)人民币(CNY)0.00003374克洛克-0/22216.5261124728比特币对人民币的最新汇率为:489807.72 CNY(1比特币=489807.72人民币)(1美元=7.24人民币)(0.00003374USDT=0.0002442776 CNY)。汇率更新于2024...
  • 0.00006694个比特币等于多少人民币/美金

    0.00006694个比特币等于多少人民币/美金
    0.00006694比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00006694比特币等于4.53424784美元/32.5436 16人民币。比特币(BTC)美元(USDT)人民币(CNY)0.000066944.53424784【比特币密码】32.82795436 16比特币对人民币的最新汇率为:490408.64 CNY(1比特币=490408.64人民币)(1美元=7.24人民币)(0.00006694USDT=0.0004846456 CNY)汇率更新时...
  • 0.00015693个比特币等于多少人民币/美金

    0.00015693个比特币等于多少人民币/美金
    0.000 15693比特币等于多少人民币?根据比特币对人民币的最新汇率,0.000 15693比特币等于10.6 1678529美元/76.86554996人民币。比特币(BTC)【比特币价格翻倍】美元(USDT)人民币(CNY)0.000/克洛克-0/5693【数字货币矿机】10.6 167852976.8655254996比特币对人民币的最新汇率为:489,807.72 CNY(1比特币= 489,807.72人民币)(1美元=7.24人民币)(0.00015693 U...
  • 币圈院士:5.20比特币(BTC)以太坊(ETH)行情分析

    币圈院士:5.20比特币(BTC)以太坊(ETH)行情分析
    利空出尽?华尔街多头坚信美股将摆脱泥潭 经济衰退风险被夸大A lot of people on Wall Street believe that beauty will escape the quagmire; the risk of recession is exaggerated. 从目前美国经济的情况加上美股先有的走势来判断,确信通胀已经或即将见顶,这为价格压力回落铺平了道路,这最终将使美联储得以放缓...
  • 2000年美国GDP占世界的304%,中国GDP仅占35%,现在呢?

    2000年美国GDP占世界的304%,中国GDP仅占35%,现在呢?
    GDP作为全球公认的实力基准,就像是一个大国实力的代言人,它是布雷顿森林体系下全球团结的声音。它不仅仅是数字的累积,更是大国综合实力的人格化,默默诉说着每个国家的辉煌与荣耀。虽然GDP不是衡量一个国家综合实力的唯一标准,但无疑是最关键的指标之一。作为一面镜子,它反映了国家的经济实力和发展水平,是国家综合实力的重要体现,不容忽视。2000年,中国GDP迈过/克洛克-0/万亿美元的重要门槛,达到/克洛克-0/。2/克洛克-0/万亿美元(折合人民币7。7万亿元)。然而,在全球经济的...
标签列表