阿里的事前驗尸_(不太完全)100天的代碼-驗尸

阿里的事前驗尸

by JS

由JS

(不太完全)100天的代碼-驗尸 ((Not quite) 100 Days of Code — A Postmortem)

At the end of last year, I wrote about my experience coding and making daily commits to GitHub for 30 consecutive days. I also pledged to keep the streak going for as long as I could. I am happy to report that I made it through 90 straight days! It was an incredible experience, and I learned a ton.

去年年底,我寫了自己的經驗編碼,并連續30天每天對GitHub進行提交。 我也保證會繼續保持連勝紀錄。 我很高興地報告我已經連續90天做到了! 這是一次令人難以置信的經歷,我學到了很多東西。

The following is an overview of the projects I completed and some lessons I learned along the way. I hope it motivates some of you to make your own daily commitment to code.

以下是我完成的項目的概述,以及我在此過程中學到的一些經驗教訓。 我希望它能激勵你們中的一些人對代碼做出自己的日常承諾。

完成freeCodeCamp的前端認證 (Completed freeCodeCamp’s Front-End Certification)

I had worked on the more basic freeCodeCamp material ages ago. I still had to complete eight intermediate and advanced front-end projects and a series of small coding challenges before I could claim my certification.

很久以前,我就已經開發了更基本的freeCodeCamp材料。 在獲得認證之前,我仍然必須完成八個中級和高級前端項目以及一系列小的編碼挑戰。

The projects covered a wide variety of topics and proved quite challenging at times. I used an API to display the local weather, and for another I built a working clone of the children’s game Simon. The combination of good resources and the patience of some more experienced friends helped me finish them to earn my certification.

這些項目涵蓋了廣泛的主題,有時證明非常具有挑戰性。 我使用API??來顯示當地天氣,另外我還建立了兒童游戲Simon的有效克隆。 良好的資源和一些更有經驗的朋友的耐心相結合,幫助我完成了他們的認證工作。

These projects taught me how to organize and write clean code. I honed my JavaScript skills and learned how the language differs from other more classically object-oriented languages such as Ruby and Python.

這些項目教會了我如何組織和編寫簡潔的代碼。 我磨練了我JavaScript技能,并了解了該語言與其他更經典的面向對象的語言(如Ruby和Python)的區別。

A few weeks after I earned my certification, I went back and refactored some of the initial projects. I applied the DRY principle and included some functional programming concepts I had subsequently learned. It was great fun trying to eliminate all of the for loops in my code.

在獲得認證的幾周后,我回去重構了一些最初的項目。 我應用了DRY原理,并包含了后來學到的一些函數式編程概念。 嘗試消除代碼中的所有for循環非常有趣。

寫了一篇關于學習JavaScript的廣泛共享的文章(無論如何對我來說) (Wrote a widely-shared (for me, anyway) article about learning JavaScript)

After finishing my first blog, which freeCodeCamp was kind enough to publish on its Medium page, I had the itch to write something else.

在完成我的第一個博客(freeCodeCamp足以在其“中型”頁面上發布)之后,我很想寫其他東西。

Because it can be so hard to figure out which learning resources are actually worthwhile, I decided to put together a study plan for beginners looking to learn JavaScript based on what I had found useful. The article was again published by freeCodeCamp and currently has over 15 thousand views and 700 recommends.

因為很難弄清楚哪些學習資源真正值得,所以我決定為希望根據我發現有用的知識學習JavaScript的初學者制定一項學習計劃 。 該文章再次由freeCodeCamp發布,目前有超過15,000次瀏覽和700條推薦。

Not exactly ‘viral,’ sure, but for someone who had never done any public writing as recently as six months ago, it was exhilarating to see my article resonate with a bunch of people.

當然,這并非完全是“病毒”,但對于六個月前從未進行過任何公開寫作的人來說,看到我的文章在一群人中引起共鳴是令人振奮的。

學過的React (Learned React)

In addition to completing the freeCodeCamp Front-End Certification, I also began learning React. Thanks to a few great tutorials (shout out to the excellent Wes Bos course, React for Beginners), I was able to finish a few React projects. These included a live-searchable recipe repository. I also became comfortable using the create-react-app CLI tool to scaffold React applications.

除了完成freeCodeCamp前端認證之外,我還開始學習React。 多虧了一些很棒的教程(向優秀的Wes Bos課程大喊“ React for Beginners” ),我才得以完成一些React項目。 其中包括一個可實時搜索的配方存儲庫。 我也對使用create-react-app CLI工具來搭建React應用程序感到滿意。

在第91天打破了我的連勝紀錄 (Broke my streak on Day 91)

With progress so great, why did I stop? The path I paved for myself had slowed down. I felt intimidated by some of the upcoming projects on freeCodeCamp, so I shifted my efforts to learning D3.js, a data-visualization library. At the time, it proved to be a bit too impenetrable for me despite multiple attempts to grasp it.

進步如此之大,我為什么停下來? 我為自己鋪的路已經放慢了。 我對即將在freeCodeCamp上進行的一些項目感到害怕,因此我將精力轉移到學習數據可視化庫D3.js。 當時,盡管我多次嘗試掌握它,但對我來說還是有點難以理解。

Also, I didn’t have a compelling personal project to work on, and needed a break from the grind of working full-time and coding at night for multiple hours.

另外,我沒有一個引人入勝的個人項目,需要從全職工作和晚上多個小時的編碼工作中解脫出來。

The most important thing I learned about keeping a streak like this going is to always know what to work on tomorrow. When you sit down at your computer, you should already have a clear idea of what you’re going to do. If you make that decision ahead of time, it removes a barrier to getting started.

我了解到保持這樣的連勝最重要的一點是, 總是知道明天該做什么 。 當您坐在電腦旁時,您應該已經對要做什么有一個清晰的了解。 如果您提前做出決定,它將消除入門的障礙。

Take a moment before you decide to stop coding for the day and make sure you have something concrete to do tomorrow. I stuck to this plan for the vast majority of my streak and it was a major factor in my success. It was only when I stopped planning ahead that I eventually missed a day.

請花一點時間,然后再決定停止當天的編碼,并確保明天有具體的工作要做。 我在大部分時間里都堅持這個計劃,這是我取得成功的主要因素。 直到我停止提前計劃時,我才最終錯過了一天。

完全值得的體驗 (A completely worthwhile experience)

At the beginning of my not-quite #100DaysOfCode, I had some familiarity with the Ruby on Rails ecosystem and HTML/CSS with only a few hours of JavaScript under my belt.

剛開始我不很熟練的#100DaysOfCode時,我對Ruby on Rails生態系統和HTML / CSS有所了解,只用了幾個小時就掌握了JavaScript。

Three months later, I gained a good, foundational knowledge of JavaScript, learned React, got a bunch of cool projects in my GitHub portfolio, and had two articles published on freeCodeCamp’s Medium page. I am a far better developer today than I was when I started this daily coding experiment a few months ago.

三個月后,我獲得了很好JavaScript基礎知識,學習了React,并在我的GitHub投資組合中獲得了很多很棒的項目,并且在freeCodeCamp的Medium頁面上發表了兩篇文章。 今天的開發人員要比幾個月前開始進行此日常編碼實驗時要好得多。

下一步 (Next steps)

Having taken a pretty substantial break, I want to continue working on React projects, dip my toes into some backend JavaScript, and learn more about algorithms and data structures. I also hope to keep writing.

經過了相當長的休息之后,我想繼續從事React項目,將腳趾浸入一些后端JavaScript,并了解有關算法和數據結構的更多信息。 我也希望繼續寫作。

If you enjoyed this article and want to continue the discussion, come find me on Twitter.

如果您喜歡本文并希望繼續討論,請在Twitter上找到我。

翻譯自: https://www.freecodecamp.org/news/not-quite-100-days-of-code-a-postmortem-d27124f023f2/

阿里的事前驗尸

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/395686.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/395686.shtml
英文地址,請注明出處:http://en.pswp.cn/news/395686.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

php超市管理系統論文,超市管理系統的設計與實現

當今社會為信息社會,世界已經進入在計算機信息管理領域中激烈競爭的時代。對于一般的商戶而言,雜亂無章地陳放著的商品無疑會耗費他們大量的時間去對其整理并一一分類。他們需要更加便捷的手段去管理他們的商品以節約他們的時間成本以及人工成本。并且就…

只能輸入正整數 以及常用的正則表達式

<input typetext idSYS_PAGE_JumpPage nameSYS_PAGE_JumpPage size3 maxlength5 οnkeyupthis.valuethis.value.replace(/[^1-9]/D*$/,"") οndragenter"return false" οnpaste"return !clipboardData.getData(text).match(//D/)"" sty…

jq 自動滑動輪換(向后插入小塊)

// JavaScript Documentvar Marquee { arrIdObj : {/*marqueebox : {distance:-95,//移動距離delay:3000,//延遲時間speed:1000//移動時間},minCount:2 */}, //創建對象 startMarquee:function(){ //給參數賦值 if(this.arrIdObj ! null && typeof this.arrIdObj &qu…

bzoj 2178 圓的面積并 —— 辛普森積分

題目&#xff1a;https://www.lydsy.com/JudgeOnline/problem.php?id2178 先看到這篇博客&#xff1a;https://www.cnblogs.com/heisenberg-/p/6740654.html 好像本應算弓形面積、三角形面積之類的&#xff0c;但不會...于是用辛普森積分硬做... 參考了這篇博客&#xff1a;ht…

php獲取訪問者ip地址匯總,php獲取訪問者IP地址匯總_PHP

//方法1&#xff1a;$ip $_SERVER["REMOTE_ADDR"];echo $ip;//方法2&#xff1a;代碼如下:$user_IP ($_SERVER["HTTP_VIA"]) ? $_SERVER["HTTP_X_FORWARDED_FOR"] : $_SERVER["REMOTE_ADDR"];$user_IP ($user_IP) ? $user_IP : $…

Charles抓包工具的使用

2019獨角獸企業重金招聘Python工程師標準>>> 感謝唐巧分享的文章&#xff0c;受益匪淺 文章目錄 1. 目錄及更新說明2. Charles 限時優惠3. 簡介4. 安裝 Charles5. 將 Charles 設置成系統代理6. Charles 主界面介紹7. 過濾網絡請求8. 截取 iPhone 上的網絡封包 8.1. …

python每秒20個請求_使用Python每秒百萬個請求

python每秒20個請求by Pawe? Piotr Przeradowski通過Pawe?Piotr Przeradowski 使用Python每秒百萬個請求 (A million requests per second with Python) Is it possible to hit a million requests per second with Python? Probably not until recently.使用Python每秒可以…

iOS開發——處理1000張圖片的內存優化

一、項目需求 在實際項目中&#xff0c;用戶在上傳圖片時&#xff0c;有時會一次性上傳大量的圖片。在上傳圖片前&#xff0c;我們要進行一系列操作&#xff0c;比如&#xff1a;旋轉圖片為正確方向&#xff0c;壓縮圖片等&#xff0c;這些操作需要將圖片加載到內存中&#xff…

jquery ui php,php – 打開帶有動態內容的jQuery UI對話框

我有一個關于jQuery UI對話框的問題,并顯示數據庫中的動態內容.所以我得到了一個web應用程序,我還需要創建一個管理模塊來管理所有用戶和其他信息.我創建了一個頁面,顯示列表中的所有用戶,在每一行中我也創建了一個編輯按鈕.我想這樣做,當你按下用戶的編輯按鈕時,會打開一個對話…

linux shell的單行多行注釋

1.單行注釋&#xff0c;使用符號# echo "123456"echo "test"#echo "comment“ 2. 多行注釋 &#xff08;1&#xff09;使用 :<<! &#xff01; filenametest.txt :<<! fileContentcat $filenamei0 for line in $fileContent dofileList[…

MapReduce Input Split 輸入分/切片

MapReduce Input Split&#xff08;輸入分/切片&#xff09;詳解 public static long getMaxSplitSize(JobContext context) { return context.getConfiguration().getLong(SPLIT_MAXSIZE, Long.MAX_VALUE); } 如果沒有設置這maxsize默認是Long.MAX_VALUE public static long …

win7無損擴大c盤空間_無損網絡導航的空間模型

win7無損擴大c盤空間by Patryk Ada?通過PatrykAda? 無損網絡導航的空間模型 (A Spacial Model for Lossless Web Navigation) In my last post I described the concept of navigation trails as an evolution of the standard tabbed browsing model.在我的上一篇文章中&am…

php訪問者信息,如何通過PHP檢索訪問者的ISP?

我試圖糾正拉姆庫馬爾的答案,但每當我編輯他們的帖子,我將被暫時禁止,我的修改被忽略。(至于為什么,我不知道,這是我第一次也是唯一一次在這個網站上編輯。)由于網站更改和管理員執行基本的bot檢查(檢查標題),他的代碼不再工作:$IP $_SERVER[REMOTE_ADDR];$User_Agent Mozill…

從《在小吃店遇見凱恩斯》初識經濟

最近在看《在小吃店遇見凱恩斯》這本書&#xff0c;算是對經濟和經濟學的初步認識。 那些概念 1. 經濟與經濟學 經濟&#xff1a;經世濟民&#xff0c;經營國家、救贖百姓&#xff0c;發展國家經濟進步、促成人人致富。 經濟學&#xff1a;研究發展國家經濟進步、促成人人致富的…

2pc 3pc_在1990年代如何宣傳PC

2pc 3pcby Ilya Pestov通過伊利亞佩斯托夫(Ilya Pestov) 在1990年代如何宣傳PC (How PCs were advertised in the 1990s) Today, hard drives are boring. You can buy a terabyte hard drive for $50. But back in the day, people would get excited when they saw ads anno…

WPF自定義空心文字

WPF自定義空心文字 原文:WPF自定義空心文字首先創建一個自定義控件&#xff0c;繼承自FrameworkElement&#xff0c;“Generic.xaml”中可以不添加樣式。 要自定義空心文字&#xff0c;要用到繪制格式化文本FormattedText類。FormattedText對象提供的文本格式設置功能比WPF提供…

php默認日志位置,Laravel 修改默認日志文件名稱和位置的例子

修改默認日志位置我們平常的開發中可能一直把laravel的日志文件放在默認位置不會有什么影響&#xff0c;但如果我們的項目上線時是全量部署&#xff0c;每次部署都是git中最新的代碼&#xff0c;那這個時候每次都會清空我們的日志&#xff0c;顯示這不是我們所期望的&#xff0…

【轉】UITableView詳解(UITableViewCell

原文網址&#xff1a;http://www.kancloud.cn/digest/ios-1/107420 上一節中,我們定義的cell比較單一,只是單調的輸入文本和插入圖片,但是在實際開發中,有的cell上面有按鈕,有的cell上面有滑動控件,有的cell上面有開關選項等等,具體參加下面2個圖的對比: 我們可以通過…

Android 最簡單的MVP案例;

隨手擼個發出來&#xff1a; V&#xff1a;界面層 //界面層需要實現P.View方法&#xff0c;然后重寫P.View中的方法&#xff1b;M層給的數據就在這些個方法的參數中&#xff1b; // 還要獲取到P.Provide的實例&#xff0c;使用P.Provide去調用M層的方法&#xff1b; public cla…

c++編碼風格指南_100%正確編碼樣式指南

c編碼風格指南Tabs or spaces? Curly brace on the same line or a new line? 80 character width or 120?制表符或空格&#xff1f; 在同一行或新行上大括號&#xff1f; 80個字符的寬度還是120個字符&#xff1f; Coders love to argue about this kind of stuff. The ta…