阿里的事前验尸_(不太完全)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.mzph.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…