热门关键词:格林娱乐,格林娱乐网注册登录  
当前位置:首页 > 产品与服务 > 传感器
格林娱乐_JQuery之父: 每天都来点代码吧
2021-04-08 [50982]

【格林娱乐网注册登录】Last fall,Workon my coding side projects came to a head : I wasn ' t making adequate progress and I couldn ' t find a way to get more done withone去年秋天我的业余编程项目There were a few major problems with how I was working on my side projects . I was primarily working on them duringthis was a problem as there ' s no guarantee that every weekend will be free-nor that I ' ll want to program all day for two days(remoo Of relaays)我业余编程项目怎么处理有相当严重的问题。我通常在周末或特定工作日的晚上写代码。

格林娱乐

就像结果一样,这种策略不适合我。周末我拖着巨大的压力,尝试尽可能多的完成高质量的代码。(如果我没有完成,我会指出我结束了。

) (阿尔伯特爱因斯坦)这样就有一个问题。因为不需要每个周末都确认是否有时间,不想抓住机会或娱乐,而是想整个周末都写节目。(大卫亚设,Northern Exposure(美国电视剧),)There ' s also the issue that a week between working on some code is a long time,It ' s vvnot to mention if you miss a weekend you end up with a two week gap as a result . that massive multi-week context switch can be deadly(I Side projects DD你更容易记住在做什么,什么还没做完(记录也没用)。不用说,如果你错过周末,你就不会面临大约两周的间隔。

两周以上的很多事故转换都很可怕。(我的许多业余项目因精力严重不足而中断。

)Inspired by the incredible work that Jennifer dewalt completed last year,In which she taught herself programming by building 180 web sites is我对Jennifer Dewalt去年完成的工作感到愤慨,她花了180天为自学编程建立了180个网站,受到她的启发,迫使我每天尝试开展我业余项目的类似战略。I decided to set a couple rules for my self 3360我是1 .I must write code every day。I can write docs,or blog posts,Or other things but it must be in addition to the code that I write . 1 .我每天都要写代码。可以写文档、博客等。

但是要贴在我写的代码上。2.“it must be useful code . no tweaking indentation,no code re-formatting,and if at all possible no refactoring”代码不能微调,代码不能重新排列,如果可能的话这些事情都是允许的,但不是当天特有的事情。

)3 .all code must be written before midnight。3.所有代码必须在午夜前完成。4.the code must be open source and up on github . 4 .代码必须是开源的,并且必须上传到Github。 some of these rules were arbitrary . the code doesn ' t technically need to be written before midnight of the day of but I wanted to avoid staying Late wrate其中一些规则有点不合理。

技术上代码不合适,但午夜前不需要写,但休息时间太长,想阻止写糟糕的代码。而且,代码没有在Github上正确打开。这只是强迫我写代码时多用甜点而已。

(看重视程度,要求研发过程,就不用模块了。) (阿尔伯特爱因斯坦,代码名言)Thus far I've been very successful,I ' m nearing 20 weeks of consecutive work . I wanted to write about it as it ' s compul如果with this in mind a number of interesting things happened as a result of this change in habit 3360有这样的规则,由于习惯的改变,很多有趣的事情又发生了:minimum viable code.i was(it ' s really hard to write meanings Ess time,Especially after remembering where you left off the day before)。)someweek days I work a little bit more(usually no more than an hour)And on weekends I ' m some times able to work a full day。

格林娱乐网注册登录

最大不切实际的代码(Minimum viable code)。每天至少要写30分钟的代码。(很难在少量时间内写出有意义的代码。

特别是回想前一天写到哪里后),平日里写得多一些,但通常是一个小时以上。(威廉莎士比亚,温斯顿,时间)周末有时一整天都可以当程序员。code as habit . it ' s important to note that that I don ' t particularly care about the outward perception of the above github chart . I to St important编码是习惯(Code as habit)我指出,这是这个实验中我教过的最重要的东西。这不是关于让你的工作接近别人,而是关于你人生中为你自己而展开的变化。

约翰肯尼迪,工作) (约翰肯尼迪)这也仅限于通过某种方式减肥或磨练。如果你不提高自己,你总有一天会顺利的。(约翰肯尼迪,减肥名言)battlinganxiety . prior to starting this experiment I would frequently feel a high level of anxiety over not having completerough " progress "(both of which are relatively un quantifiable as my side projects had no specific deadlines)。

I realized that the feeling of making progress is just as important as making actual progress . this was an eye-opener . once I started Ent progress抵抗情绪(Battling anxiety)我知道想要进展和实际进展在一定程度上是最重要的。这让我突然容光焕发。当我每天开始取得持续的进展时,感情开始消失。

我对我大幅度完成的工作量深感悲伤,我仍然过度可怕地希望完成更好的工作。weekends . getting workdone on weekends use to be absolutely critical towards making forward momentum(as they were,typically,The only)that ' s not so much the case nowand that ' s a good thing . building up a weeks-worth of expectations about what I should accome D only ended)in favor of getting more work done . I strongly feel that while side projects are really important they shOuld not be to the exclusion of life in general。周末(Weekends)。

周末完成的任务目前对前进工程进度起着最重要的作用。的确,从表面上看,这是我唯一一次完成业余项目的明显代码量。但是现在不是这样,但很好。

周末完成了我整个星期期待的有价值的内容,不能让我以挫折告终。(威廉莎士比亚,哈姆雷特,希望如此)我很少需要完成所有我想做的事情。这使我能够在其他周末强行退出我不喜欢的活动(例如不吃中式甜点,参观博物馆,去公园和我的小伙伴一起玩游戏等),完成更好的工作。

(威廉莎士比亚,模板,希望如此) (威廉莎士比亚,模板,希望如此)我非常确信业余项目是最重要的,但总之,他们不能妨碍你平时的生活。back ground processing . an interesting side effect of writing side project code every day is that your current task is frequently running in the be backup or every other week . instead that time was consumed thinking about some other task or,usually,Replaced with anxiety over not getting any sii 发呆(Background processing)。每天写业余项目的一个有趣副作用是,现在业余项目的任务不经常暴露在你的大脑中。因此,当我走路、睡觉或开展其他不使用精神力量的活动时,我总是想下次写什么代码,找个好方法来解决问题。

(译者:别人肯定是呆着的。)这在我每周或每两年每周写一次代码时不常出现。忽视这些时间花费在事故的其他任务上。

一般对上周无法完成业余项目的工作量感到惊讶。context switch . there ' s always going to be a context switch cost when resuming work on a side project . unfortunately it ' s extremely King aboutdaily work has been quite help ful in this regard as the time period between work Is much shorter,making it easier to remember what I was working on“Context switch(内容交换机)”。此后,业余项目总是不需要转换事故的费用。

出乎意料的是,当你整个星期都在做其他任务时,这个变化是非常困难的。每天写代码很不利。

格林娱乐网注册登录

因为工作间歇时间更短。这很容易记住你在做什么。work balance . one of the most important aspects of this change was in simply learning how to better balance work/life/Side project。

knowing that I was going to have to work on the project every single day I had to get better at balancing my time . if I was scheduled Go out in the eveningI should note that I ' ve been finding that I have less time to spend on hobbies(such as wood block printing)But that ' s a reasonable trade OE工作平衡(Work balance)。这一变化最重要的方面是要学会更好地衡量工作/生活/业余项目。具体来说,我每天都在业余项目上工作,所以我需要更好地平衡我的时间。

如果我晚上计划外出,不晚回去,我会在一天中早点开始我的可汗学院的主要工作之前,完成我业余项目的工作量。(大卫亚设、Northern Exposure(美国电视剧)、Northern Exposure(美国电视剧)还有,如果我已经不能完成我的任务,一个人过得晚,我会跑回家,一天都不漏地完成他。 我应该注意到,我享受很少的时间可以用在爱好上(如版画),但这是我必须面对的合理折衷。outward perception . this has all had the added benefit of communication this new habit externally . my partner understands that I have to fining Rk evenet其他我的小伙伴解释我每天都要完成这项工作,所以有时活动决定也考虑到我的工作。

格林娱乐

“没问题。我们可以出去看电影或者看电影但是一会儿就会成为程序猿。

”需要说。而且要解释和考虑是很悲伤的。(大卫亚设,Northern Exposure(美国电视剧),)How much code was written?I have a hard time believing how much code I ' ve written over the past few months . I created a couple new web sites,re-wrote some frames And crote你能写多少代码?我真不敢相信我上个月写了多少代码。

我建立了新的网站,重写了框架,创建了很多新的节点模块。(node modules) (node modules,Node Modules,Node Modules,Node Modules)因为我写了这么多,所以我有时还记得我到底拉了什么,上周的事情看起来都是很遥远的记忆。

对我已经完成的工作量感到失望。I consider this change in habit to be a massive success and hope to continue it for as long as I can。

in the meantime I ' ll do all that I can to recomme Nd this tactic to others who wish to get substantial side project work done . let me know if this technique同时,我将尽最大努力向其他期待业余项目取得实质性进展的人推荐这一战略。不管这个技术对你来说简单与否,请告诉我。我会很高兴听到更多有趣的故事!。

本文来源:格林娱乐网注册登录-www.egeblue.com