100天59万行代码_如何抽出100天的代码时间

100天59万行代码

Life moves pretty fast. If you don’t stop and look around once in a while, you could miss it. — Ferris Bueller
生活发展很快。 如果您不停地走动,不时环顾四周,您可能会错过它。 —摩天轮

My time at freeCodeCamp was a fun and exciting one. When I first began with freeCodeCamp, I’d often come across this message, which also sounded like a preamble —

我在freeCodeCamp的时间很有趣。 当我刚开始使用freeCodeCamp时,经常会看到此消息,听起来像是前言-

Let’s pick up a new skill and get a new job, all in a few months.
在几个月内,让我们学习一种新技能并找到一份新工作。

You will see a lot of articles like “Hey all, I was a school teacher before, and now I’m earning $100k as a engineer for x startup”. If you’re starting out in web development and you surround yourself with other people who want to achieve things — they will, you know, achieve. And so will you!

您将看到很多文章,例如“嘿,我以前是一名学校老师,现在作为x初创公司的工程师,我的年薪为10万美元”。 如果您刚开始进行Web开发,并且与其他想要实现目标的人一起度过了,他们就会实现。 你也一样!

There’s a bit of expectation vs. reality here. If you are the kind of person that can memorize a ton of information relating to your chosen field, then you’re onto a winner. As for myself, it’s about repetition and repetition, until it becomes a habit. And there’s a lot to be said about habits.

这里有一些期望与现实的对比。 如果您是那种能够记住与所选领域相关的大量信息的人,那么您将成为赢家。 至于我自己,这是关于重复和重复,直到它成为一种习惯 。 关于习惯,还有很多要说的。

Forming habits takes time though. On December 30, 2016, I decided to take part in the #100DaysOfCode challenge. I couldn’t give you an idea of how I felt then, but reviewing the log entries I seemed pretty confused and a little frustrated with it all.

养成习惯需要时间。 2016年12月30日,我决定参加#100DaysOfCode挑战赛。 我无法告诉您当时的感受,但是查看日志条目时,我似乎很困惑,对这一切感到有些沮丧。

At the end of it, it’s definitely been an enriching and life changing experience for me. Along the way I have met some truly awesome and inspiring people, happy to help with any issues or problems you may have. The support I found not just in the #100DaysOfCode community but the web dev community as a whole is truly amazing.

最后,对我来说,这绝对是一次充实和改变人生的经历。 一路上,我遇到了一些真正令人敬畏和鼓舞人心的人,很乐意为您解决任何问题。 我不仅在#100DaysOfCode社区中找到了支持,而且在整个Web开发社区中也确实感到非常惊奇。

I’m going to go over some steps I have taken to help me with learning to code (again) and cracking #100DaysOfCode.

我将介绍一些步骤,以帮助我( 再次 )学习编码和破解#100DaysOfCode

有耐心 (Having Patience)

Being patient is essential — instant gratification doesn’t work all the time. This will soon come to light if you start to compare yourself to how other people (your cohorts) are progressing. You may start to wonder why you’re not progressing as fast as other people appear to be. This might probably add to any anxiety you may have, whether you can do something or not. Do not concern yourself with this and instead use that energy to focus on what you need to do, and code.

耐心是必不可少的-即时满足并不总是有效。 如果您开始将自己与其他人(您的队列)的发展进行比较,这很快就会发现。 您可能会开始怀疑为什么自己的进步速度没有别人想象的那么快。 无论您是否可以做某事,这都可能加重您的焦虑感。 不要为此担心,而要用这种精力专注于您需要做的事情和编写代码。

不同的人以不同的速度进步,以不同的方式学习 (Different people progress at different rates and learn in different ways)

As for myself, I have found that I’m a visual learner. I’ve known this for a long time actually, where to be able to ‘join up’ concepts and paradigms that I need to see in action. This is why I will always gush about courses by Kent C. Dodds or Wes Bos, as they are great at explaining complex subjects, among many others. Their content on egghead.io and wesbos.com are awesome at explaining concepts simply and visually.

至于我自己,我发现自己是视觉学习者。 实际上,我已经知道了很长时间了,可以在这里“结合”我需要在实际操作中看到的概念和范例。 这就是为什么我会一直热衷于Kent C. Dodds或Wes Bos的课程的原因,因为他们擅长于解释复杂的主题,还有很多其他方面。 他们在egghead.iowesbos.com 内容非常 擅长简单直观地解释概念。

您的里程可能会有所不同。 因此,找出适合您的方法并坚持下去! (Your mileage may vary though. So find out what works for you, and stick with it!)

I have discovered recently that splitting my time between projects wasn’t really helping me. So I decided to work on one particular project each time I sat down to code. The first time I did this, I was struggling for hours with little to nothing show for it. It felt futile and I was getting anxious about not moving on. It was at this point when I would usually switch context and work on something else. I found though that pushing that little bit more was all I needed.

最近,我发现在项目之间分配时间并没有真正帮助我。 因此,每次我坐下来编写代码时,我都决定从事一个特定的项目。 我第一次这样做,是在数小时之内挣扎,却几乎没有表现出来。 感觉是徒劳的,我为不继续前进而感到焦虑。 在这一点上,我通常会切换上下文并进行其他操作。 我发现尽管需要多加一点是我所需要的。

This was such a psychological win for me, and gave me the confidence to do more. It has paid dividends, as I now have 6+ demos of projects I have made on my portfolio.

对我来说,这是一次心理上的胜利 ,并给了我做更多事情的信心。 它已经带来了红利,因为我现在在自己的投资组合中进行了6个以上的项目演示。

避免分心 (Avoiding Distractions)

I get distracted by things like Slack, email and Twitter. These apps should not be opened, as it will eat up your time. You have a set amount of time to get something done. This will come to light when you have finished reading your Twitter updates and Slack messages, only to realize you have fifteen minutes left to complete the task you set out to do.

我对诸如Slack,电子邮件和Twitter之类的东西分心。 这些应用程序不应打开,因为它会占用您的时间。 您有一定的时间来完成某件事。 当您阅读完Twitter更新和Slack消息后,就会发现这一点,而这仅意味着您还有15分钟的时间来完成您要完成的任务。

I noticed this soon into starting #100DaysOfCode. What I did was turn off all my phone notifications. If you need to check something then check it. But don’t let your phone dictate where your attention needs to be directed.

我注意到这很快开始#100DaysOfCode。 我要做的是关闭所有电话通知。 如果您需要检查某些东西,请检查一下。 但不要让您的手机决定需要将注意力转移到哪里。

I turned off all browser notifications for Slack and Gmail. My phone is left in another room on “Do Not Disturb” while I work. While in Do Not Disturb mode my phone will not make a noise, unless someone on my stared contacts list calls me. I pick up the phone in the afternoon to check for missed calls, listen to voice mails and return any calls if needed.

我关闭了Slack和Gmail的所有浏览器通知。 工作时,我的电话留在“请勿打扰”的另一个房间中。 在“请勿打扰”模式下,除非我的联系人列表中有人打电话给我,否则手机不会发出声音。 下午,我拿起电话检查未接来电,收听语音邮件并在需要时返回所有电话。

腾出时间 (Making time)

Saying that you don’t have the time to do 1–2 hours of coding a day isn’t going to help. Yes it’s tough, but it’s not about having the time. It’s about making the time to do it.

说您没有时间每天进行1-2个小时的编码对您没有帮助。 是的,这很艰难,但这并不是要有时间。 这是要花时间去做。

如果这对您很重要,您将为此付出时间。 (If it’s important to you, you will make time for it.)

You’re the only one that can make these things happen. Often I get asked “So what do you like to do”? I struggle to answer this, as all I have been doing for the last 18 months is learning to code!

您是唯一可以实现这些目标的人。 我经常被问到“那么你想做什么”? 我很难回答这个问题,因为过去18个月我一直在学习编码!

建立平衡 (Creating Balance)

It’s the key to everything. I am not perfect here — this journey has taken its toll on my health. Towards the end of 2016 I was 95 kg, and today as on February 26th I’m 115 kg.

这是一切的关键。 我在这里并不完美-这次旅行对我的健康造成了损害。 到2016年底,我的体重为95公斤,而截至2月26日,我的体重为115公斤。

This weight gain is a mixture of illness at the start of 2017 and bad diet choices thereafter. In the past I consciously opted for ‘healthy’ foods, spending that little extra time deciding what to eat.

这种体重增加是2017年初患病和其后不良饮食选择的混合体。 过去,我有意识地选择了“健康”食品,只花很少的额外时间来决定吃什么。

While being ill at the start of 2017, I developed a bit of an addiction to cereals (granola) ?. It was quick to prepare and easy to eat, and I got a quick boost from it.

在2017年初生病时,我对谷物(格兰诺拉麦片)有点上瘾了。 它准备Swift且易于食用,从中我得到了快速发展。

Quick and easy soon became the norm after that. I have identified this now and am making an effort to reduce this, while also making time for my development.

此后,快速和轻松很快成为常态。 我现在已经确定了这一点,并且正在努力减少这一点,同时也为我的开发腾出了时间。

You need to have a balanced diet too! ?

您也需要均衡饮食! ?

使用工具 (Using Tools)

I use some tools to help me ‘get on’ with what I’ve set out to do.

我使用一些工具来帮助我“着手”完成我打算要做的事情。

A while back I started using Todoist. This is great for when you’re scrolling through your Twitter feed and find a link to a really neat looking tutorial or post you want to read, but don’t want to go down the rabbit hole of working out where to document it. I usually add such links to Todoist and come back to it when I get the capacity to work on it.

前一段时间我开始使用Todoist 当您滚动浏览Twitter提要并找到想要阅读的看上去非常整洁的教程或帖子的链接时,这非常有用,但又不想钻研在哪里记录它的麻烦。 通常,我会向Todoist添加此类链接,并在有能力进行处理时再返回。

WakaTime is a great tool for quantifying your coding — pretty handy when doing #100DaysOfCode.

WakaTime是量化您的编码的好工具-在执行#100DaysOfCode时非常方便。

RescueTime is handy for helping you identify your productivity black holes and give you a nice breakdown of where your time is spent on your computer and mobile.

RescueTime可以帮助您识别生产力的黑洞,并且可以很好地细分您在计算机和移动设备上花费的时间。

正在使用生活技巧… (Using Life hacks…)

They’re called hacks, so everyone can think they’re used for “cheating the system”. In reality they’re some helpful rules to aid you if you need to find some extra time.

它们被称为黑客,因此每个人都可以认为它们被用来“欺骗系统”。 实际上,如果您需要更多时间,它们是一些有用的规则来帮助您。

Get up early. I’ve taken to getting up an hour earlier than I used to, to squeeze an hour and a half out of the morning. I have an MI band that I have set to vibrate to wake me at that time, so I do not disturb my wife.

早点起床。 我已经比以前早起了一个小时,将自己挤了一个半小时。 我当时有一个MI乐队,我准备振动来唤醒我,所以我不会打扰我的妻子。

Go to bed early. Sleep is important kids — anyone that says otherwise obviously doesn’t get enough sleep.

早点睡。 睡眠对孩子很重要-否则,显然任何人都睡不着。

…还有一些好运吗? (…and some Good luck ?)

When I finished my last (VBA) contract in October, I used that time to fully immerse myself in web development.

当我在10月完成上一份(VBA)合同时,我利用这段时间完全沉浸于Web开发中。

At the time (which was good timing actually) I started a build to learn project with two other remote developers — one in Egypt, and one in Serbia. We were all participating in the Chingu Voyage, and this has been a real eye opener for me. It has given me the confidence to get all my portfolio projects ready for potential employers to view.

当时(实际上是个好时机),我与另外两个远程开发人员(一个在埃及,另一个在塞尔维亚)一起开始了构建项目的学习。 我们都参加了Chingu Voyage,这对我来说真是大开眼界。 它使我有信心准备好所有投资组合项目,以供潜在的雇主查看。

While taking part in the project, I got to treat it as a full time job — which my WakaTime stats will attest. This was one of the triggers for me that I should start applying for jobs as a junior dev.

参与该项目时,我必须将其视为全职工作-我的WakaTime统计数据将证明这一点。 这对我来说是触发因素之一,我应该开始以初级开发人员的身份申请工作。

谢谢阅读 (Thanks for reading)

If there is anything I have missed, or if you have a better way to do something then please let me know.

如果我错过了任何事情,或者您有更好的做某事的方法,请告诉我。

Find me on Twitter or Ask Me Anything on GitHub.

Twitter上找到我,或者在GitHub上问我

This was originally posted on my blog.

这最初发布在我的博客上

You can read other articles like this on my blog.

您可以在我的博客上阅读其他类似的文章

翻译自: https://www.freecodecamp.org/news/how-to-make-time-for-100-days-of-code-776cd6e0de49/

100天59万行代码

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值