天黑以后 博客_学习编码:天黑了

天黑以后 博客

by Alexander Kallaway

亚历山大·卡拉威(Alexander Kallaway)

学习编码:天黑了 (Learning to Code: When It Gets Dark)

一些有用的心理技巧可以解决您的内心恐惧 (A Handful of Useful Mind Tricks Addressing Your Innermost Fears)

Let’s talk about how to stay on track. How to keep learning when you feel like there is just way too much to learn. How to keep going when it feels like you’re never getting that first coding job.

让我们谈谈如何保持正轨。 当您觉得有太多东西要学习时,如何继续学习。 当您感觉自己从未获得过第一个编码工作时,如何继续前进。

You find yourself thinking: “Maybe I’m just not cut out for it?”

您会发现自己在想:“也许我还没有为此付出努力?”

It’s like a cloud that follows you around, blurring and distorting reality, so that it can present the case of how bad and hopeless the situation is and how there is no way you can do it.

这就像一团乌云跟随着你,模糊和扭曲了现实,因此它可以呈现出情况有多糟,无望以及无法解决的情况。

Well I don’t know about you, but for me this happens every 4–5 days.

好吧,我不了解您,但是对我来说,这种情况每4-5天发生一次。

I have been learning to code since November 2014, slowly immersing myself into the field. I’ve used all sorts of resources: books, online courses, online challenges, blog posts, tutorials, etc. Free Code Camp has heavily influenced my learning by putting a positive spin on coding, and a clear path to advance along.

自2014年11月以来,我一直在学习编码,并逐渐将自己融入该领域。 我已经使用了各种资源:书籍,在线课程,在线挑战,博客文章,教程等。Free Code Camp通过积极推动编码和一条清晰的前进道路,极大地影响了我的学习。

During that time, I often had to fight off my mind’s tendencies to scare me off the path. I am almost sure that you also experience this from time to time.

在那段时间里,我常常不得不抵制我的思维倾向,以吓退我。 我几乎可以肯定,您也会不时遇到这种情况。

Steven Pressfield has famously dubbed this force “Resistance” in his book The War of Art. I highly recommend that you read this book. I find myself using the lessons from it on a daily basis (some days even by the hour).

史蒂文·普雷斯菲尔德(Steven Pressfield)在他的《 艺术大战 》( The War of Art)中将这种力量称为“抵抗”。 我强烈建议您阅读这本书。 我发现自己每天都在使用这些课程(有时甚至是一个小时)。

In this post I will share some mental techniques that I use to dissolve the negativity “cloud” — the Resistance — that can be so hard to beat. All of the advice is based on what I’ve learnt so far, and if you have other ideas — please share them here as well!

在这篇文章中,我将分享一些我用来解决消极的“云”(抵抗)的心理技巧,这些技巧很难克服。 所有建议都基于我到目前为止所学的内容,如果您还有其他想法,请在这里也分享!

I’m going to skip the most common motivational advice (which is usually too broad to be actionable), and focus on uncommon but effective advice. I’ve used these techniques and found them effective, and I hope you will, too.

我将跳过最常见的激励建议(通常过于宽泛,无法采取行动),而专注于不常见但有效的建议。 我已经使用了这些技术,并发现它们有效,希望您也能做到。

意识到每个人都遇到阻力 (Realize that Everyone Experiences Resistance)

When learning a new skill, many people assume that if things don’t immediately go smoothly without effort, then it is not for them. We always have this fantasy in our minds of how, for some people, everything flows naturally, and they just rapidly glide ahead on the surface of it all, without encountering any problems and obstacles in their journey.

当学习一种新技能时,许多人认为,如果事情没有立即努力就无法顺利进行,那对他们来说就不可行。 对于某些人,一切如何自然流动,我们始终心中有这种幻想,他们只是在所有事物的表面Swift滑动,而不会遇到旅途中的任何问题和障碍。

This could not be further from the truth. They might have had difficulties to surmount that we might not even know about. They might have been rejected, disappointed, they might have felt hopeless. We don’t know. Don’t judge yourself by the standard of what you imagine the other person’s journey has been.

这与事实相去甚远。 他们可能有难以克服的困难,我们甚至可能不知道。 他们可能被拒绝,失望,他们可能感到绝望。 我们不知道 不要以您想象的其他人的经历为标准来判断自己。

Sure, one thing might come easier for them, and that could be coding, but I assure you there are 10 other things they wish they could do more easily but still struggle with.

当然,对他们来说,一件事情可能会变得容易起来,而这可能是编码,但是我向您保证,他们还有10件事希望他们可以更轻松地完成,但仍然会遇到困难。

(To give you an idea of how powerful this Resistance can be: I’ve started writing this article back in December 2015. Yep, I know.)

(让您了解抵抗运动的强大力量:我从2015年12月开始写这篇文章。是的,我知道。)

如何实践: (How to practice this:)

Stop thinking of difficulties as these walls that have been built around you so that you can’t go where you want to go. Think of them as obstacles on your way to your goal — little challenges that make you stronger.

这些壁垒围绕您而建,因此您不必再去想困难了,因为您无法去想要去的地方。 将它们视为实现目标的障碍-小挑战会使您变得更坚强。

Don’t let yourself believe that the fact that you experience these emotions means that you are not cut out for programming. Everyone experiences the same uncomfortable emotions when they try to learn something new or do something out of their usual routine. It’s painful to push your boundaries and your so-called “limits” (Shhh. There is no spoon).

不要让自己相信您会经历这些情绪,这意味着您不会被编程所吸引。 当每个人尝试学习新事物或以平常的方式做某事时,他们都会感到同样的不适感。 突破界限和所谓的“极限”很痛苦(嘘。没有汤匙)。

What you feel is Resistance.

您的感觉是抵抗。

It is natural, and it can be your friend if you use it as your compass. It is a sign that tells you that you are on the right path, the path of personal growth.

很自然,如果您将它用作指南针,它可以成为您的朋友。 这是一个信号,告诉您您走在正确的道路上,即个人成长的道路。

每天都很重要 (Every Day Counts)

It’s very easy (trust me on this) to get discouraged when looking at the people who are already in the tech field. It’s even easier to get discouraged if you focus on the developers who have thousands of followers, and massive knowledge of the subject matter.

当看到已经在技术领域的人时,很容易灰心(请相信我)。 如果您专注于拥有数千名追随者并且对主题有大量知识的开发人员,那么灰心就容易得多。

The problem is that these are the people you see on Twitter, or in Google results for videos, tutorials, and articles on coding.

问题是这些人是您在Twitter或Google结果中看到的有关视频,教程和编码文章的人员。

You rarely see the regular developers who comprise the 98-or-so percent of the field.

您很少看到构成该领域98%左右的常规开发人员。

I am not saying your goal should be to just become one among that 98%. (You should push way further than that). All I am saying is that it is easy to scare yourself into believing that there is a metaphorical Grand Canyon between you and professional developers.

我并不是说您的目标应该是成为98%的人中的一员。 (您应该比这更进一步)。 我要说的是,很容易让自己感到害怕,因为您和专业开发人员之间存在隐喻的大峡谷。

So you’ve spent months learning to code, but it seems like you are still so far away from the pros that you are wondering: how can they be so far ahead? Is there any hope at all for me to ever reach that level?

因此,您花了几个月的时间学习编码,但似乎您与想知道的专业人士仍然相去甚远:他们如何才能遥遥领先? 我有没有希望达到这个水平?

Well, this is where your mind is playing tricks on you. You don’t look at a professional violinist and think to yourself: “Oh, I’ve been learning to play the violin for a year now, how come I’m not performing at anywhere close to their level?”

好吧,这就是您的头脑在欺骗您的地方。 您不会看专业的小提琴家,而会对自己进行思考:“哦,我已经学习小提琴一年了,为什么我的演奏没有达到他们的水平呢?”

But with coding, many of us do that every time.

但是,有了编码,我们很多人每次都会这样做。

You take a person who you consider to be a solid developer and ignore everything else about that person. You think: “It’s simple. They’re a great coder, and I am not. That’s it.”

您选择一个您认为是可靠的开发人员的人,而忽略了与该人有关的所有其他事项。 您认为:“这很简单。 他们是一个很棒的编码器,而我不是。 而已。”

You don’t take into consideration how that person might have struggled with programming or math and worked hard to surmount those difficulties, or might have spent countless nights after work stuck trying to comprehend error messages, and worrying about the same things as you are. Or how they might have spent 4 years in university learning software development full-time.

您无需考虑该人可能如何在编程或数学上苦苦挣扎,并努力克服这些困难,或者可能在工作后花了无数个晚上试图理解错误消息,并担心与您同样的事情。 或者他们可能如何在大学全职学习软件开发上花费了4年时间。

Nobody said it would be easy. Learning to do anything well takes time. A LOT of time. Resistance is basically telling you, how come they are at that level, and you are not? What’s up with that? It should be so easy, there must be a quick way, a shortcut, a secret to it, something!

没有人说这很容易。 学习做好任何事情都需要时间。 很多时间。 抵抗力基本上是在告诉你,它们在这个水平上是怎么回事,而你不是吗? 那是怎么回事? 它应该是如此的简单,必须有一种快速的方法,一条捷径,它的秘密等等!

Remind yourself that there is no such thing as something for nothing. The key is that you should know that it is possible for you to get there. It takes time, yes, but so what? All worthwhile things take time.

提醒自己,没有什么比什么都没有的东西。 关键是您应该知道自己有可能到达那里。 是的,这需要时间,但是那又如何呢? 所有有价值的事情都需要时间。

如何练习: (How to practice this:)

This has been one of my major struggles with learning to code, and the technique I share here has proven itself powerful many times over. Without this, I might have dropped coding like I’ve dropped many of the other things I’ve attempted to learn over the years.

这一直是我学习编码的主要努力之一,而我在这里分享的技术已经证明了自己的强大能力多次。 没有这个,我可能会放弃编码,就像这些年来我尝试学习的许多其他东西一样。

Here it is: Imagine how many people out of those who have started coding on roughly the same day as you did have already quit — or will quit today — giving in to the same temptation to stop the pain and discomfort of learning.

就是这样: 想象一下,在大约与您确实在同一天开始编码的人中,有多少人已经放弃了(或今天将要退出),同样地产生了诱惑,以停止学习的痛苦和不适。

Think of the strength (psychological, emotional) that you’ve developed during your journey. Your will and resilience increase each time you make a decision to go further, to not stop where you are and to not admit defeat. Every day you code is the day you’ve won.

想一想您在旅途中发展起来的力量(心理,情感)。 每当您决定走远一点,不停步不前,不接受失败时,您的意志和韧性就会增强。 您编码的每一天就是赢了的那一天。

全力以赴 (Go All In)

So you’ve decided that you will teach yourself to code. What’s stopping you from quitting after 6 months of not seeing the results you want to see?

因此,您已经决定要教自己编码。 是什么让您在6个月没有看到想要看到的结果后退出工作?

You need a goal to work towards. Once you have that goal, it will be harder to stop, as opposed to a situation where you are dabbling with code, or learning without a specific, well-defined goal.

您需要朝着一个目标努力。 一旦有了这个目标,就很难停止,这与您精疲力尽代码或没有特定的,明确定义的目标进行学习的情况相反。

My initial goal was to find a job in coding. It took me around 14 months to do that. I had a full-time job in marketing at the time, so I couldn’t code all day and all night, but I’ve tried to squeeze in as much coding time as I could into every day.

我的最初目标是找到编码工作。 我花了大约14个月的时间。 当时我从事市场营销的全职工作,所以我无法一整天都没有编写代码,但是我试图尽可能多地压缩每天的编码时间。

Another benefit to having a clear-cut goal is that it will be easier to choose between the topics you want to learn. I was confident that JavaScript would be the main technology I’d use on-the-job, so it was easier to say no to diversions into Python, Ruby, and other languages.

设定明确目标的另一个好处是,您可以轻松选择想要学习的主题。 我坚信JavaScript将是我在工作中使用的主要技术,因此,对使用Python,Ruby和其他语言的转移说不就容易了。

Focus the light of your efforts. If they look like a Wind Rose, bring the individual rays into the center, and you will become a laser. And you know how effective lasers can be. From time to time, we all need to gather the light that tries to spread in all directions, and focus it back on our goal.

集中精力进行努力。 如果它们看起来像“ 风玫瑰” ,请将单个光线带到中心,您将成为激光。 而且您知道激光的效果如何。 有时,我们所有人都需要收集试图向各个方向传播的光线,并将其重新聚焦在我们的目标上。

Once you’ve decided on your goal, go all in. Spend as much time as you can coding.

确定目标之后,全力以赴。花费尽可能多的时间进行编码。

Who cares if you have all days available or only have 1 hour a day? If you don’t do it, it doesn’t matter how much time you have or don’t have.

谁在乎您是否有全天可用或一天只有一小时? 如果您不这样做,那么有多少时间也没关系。

I’ve read stories of people taking care of little kids and learning to code when they have a moment, but I haven’t read a single story of “How I’ve had my days free for a year and I still couldn’t learn to code”. You know why? These people have no stories to tell.

我读过一些故事,讲述了人们照顾小孩并在有空的时候学习编码的故事,但我还没有读过一个故事:“我如何度过一年的空闲时间,但我仍然无法学习编码”。 你知道为什么? 这些人没有故事可讲。

Use the time that you didn’t know you had: download an audiobook on coding and listen to it, get a book and read it on the subway or a bus, if you commute to work or elsewhere. Try to use multiple types of learning, but make sure you keep to the same subject.

使用您不知道的时间:下载编码的有声读物并收听,如果要上下班或在其他地方,则可以在地铁或公共汽车上阅读并阅读。 尝试使用多种学习方式,但要确保您选择同一门学科。

Don’t overdo it and become discouraged — if you feel like you can’t take JavaScript or Python (or any other subject you’re focusing on) anymore, relax for the rest of the day and do something else.

不要过度使用它,不要灰心–如果您觉得自己不再可以使用JavaScript或Python(或您正在关注的任何其他主题),请在一天的余下时间放松并做其他事情。

The idea I am trying to convey is that if you worry that you don’t have enough time to learn to code, it’s probably just your fear that is lying to you. This happened to me — I would often wonder: how long will it take me to learn this while working full-time? Is there any chance I will actually follow through?

我要传达的想法是,如果您担心没有足够的时间来学习编码,那么可能只是您的恐惧对您构成了欺骗。 这发生在我身上–我经常想知道:我全职工作要花多长时间来学习? 我真的有机会跟进吗?

Remember that the more effort that you are put in today (not plan to put in tomorrow), the faster you will get there.

请记住,您今天付出的精力越多(而不打算明天投入),您到达那里的速度就越快。

如何实践: (How to practice this:)

Define a specific, realistic goal to work towards. A well-defined goal would be: “I want to find a job as a Front-End Web Developer within the next 12 months.” Or: “I will create 3 simple iOS apps within the next 8 months.”

定义一个具体的,切实可行的目标。 一个明确定义的目标是:“我希望在未来12个月内找到一份前端Web开发人员的工作。” 或者:“我将在接下来的8个月内创建3个简单的iOS应用。”

Use all the time you can find and focus all your effort on learning to code. Why? Because it is not easy, and because the longer you spread your learning period (unless you have a specific time-bound goal), the more likely you will become discouraged by the feeling of “slow progress”.

尽一切可能找到并集中精力学习编码。 为什么? 因为这并不容易,并且因为您延长学习时间(除非您有特定的有时限的目标)的时间越长,您越有可能因“进度缓慢”而灰心。

你足够聪明。 (You ARE smart enough.)

Another big fear that I had when starting out my learning journey is that I just wasn’t smart enough to compare to those who’ve spent their youth solving math, physics, and programming problems. They started programming when they were 3 years old, and built a compiler when they were 5.

在开始学习之旅时,我最大的恐惧是,我还不够聪明,无法与那些年轻时解决数学,物理和编程问题的人进行比较。 他们三岁时就开始编程,五岁时就建立了编译器。

I had a false assumption that everyone in programming was an engineer with a Ph.D. from an ivy league university, and it was just too late for me.

我错误地假设编程中的每个人都是具有博士学位的工程师。 来自一所常春藤大学,对我来说太晚了。

First, I’ve come to know that there are all sorts of people in the tech industry, and they all had different paths to come to coding. So it’s okay for me to start relatively late.

首先,我知道技术行业中有各种各样的人,他们都有不同的编码途径。 因此,我可以相对较晚地开始学习。

Second, and more important, I still encounter the fear of “what if I won’t be able to get to the best software engineering jobs out there?” at the likes of Google and Facebook. I might not at first, but I am going to do all it takes to get to that level.

其次,更重要的是,我仍然担心“如果我无法获得最好的软件工程工作该怎么办?” Google和Facebook之类的公司。 起初我可能没有,但我将尽一切努力达到这一水平。

The thing I am sure about is — if a person stays with coding long enough and makes the practice deliberate — they will get to any level they aspire to.

我确定的事情是-如果一个人在编码方面停留的时间足够长,并能使实践成为故意的事情-他们将达到他们渴望的任何水平。

By deliberate practice, I mean:

通过故意的实践,我的意思是:

  • examining the bugs and problems in the code

    检查代码中的错误和问题
  • going back to certain problems and trying to solve them in a better way

    回到某些问题,并试图以更好的方式解决它们
  • reading other people’s code to see how they solved these problems

    阅读其他人的代码,看看他们如何解决这些问题
  • refactoring your old code

    重构旧代码

To put it simply: doing rework rather than trying new things and switching topics all the time.

简而言之: 做返工而不是总是尝试新事物和切换主题

如何练习: (How to practice this:)

Trust me, you are smart enough. Believe that you are, and don’t let the thoughts of “I am not good enough” slip in. They are destructive in their nature.

相信我,你足够聪明。 相信自己,不要让“我不够好”的念头溜进去。它们本质上具有破坏性。

I will share with you an affirmation, and I don’t care what you think about affirmations:

我会与您分享一个肯定的观点,我不在乎您对肯定的看法:

“I am worthy of all the best in life and I can do anything I dream of doing!”

“我值得拥有生活中的一切,我可以做我梦anything以求的任何事情!”

If you find yourself fearing that you are not smart enough, repeat that affirmation. You might want to repeat it 5 times whenever the fear gets ahold of your thoughts, or as many times as you need throughout the day. Your mind is like clay, and it’s your job to discipline it and mold it into your friend.

如果发现自己担心自己不够聪明,请重复该确认。 每当恐惧感出现时,您可能想要重复5次,或者一整天重复一次。 您的思想就像黏土,将它管教成自己的朋友是您的工作。

Look at us. We are the same as you. All aspiring to code and to get better. We all have this same fear.

看着我们。 我们和你一样。 所有人都渴望编写代码并变得更好。 我们都有同样的恐惧。

The ultimate factor of whether you will make it as a professional developer is not your IQ or your “talent for code,” but your resilience and grit.

您是否会成为专业开发人员,最终因素不是您的智商或“代码天赋”,而是您的韧性和毅力。

There is a Mountain-Everest-Higher chance that you will not make it because you will scare yourself out of success, as opposed to not being as smart as some other people (or people upon whom you project extraordinary brilliance in your mind).

您有一个千山万水的机会,您之所以不会这样做,是因为您害怕自己会失去成功,而不是不像其他人(或您心目中的杰出人才)那么聪明。

If you are interested in self-image, and how it relates to success, I recommend you read Psycho-Cybernetics by Maxwell Maltz.

如果您对自我形象及其与成功的关系感兴趣,建议您阅读Maxwell Maltz撰写的《心理控制论》

不要四处奔波 (Don’t Spray Your Effort Around)

Whenever the learning gets difficult — like when you start getting into intermediate stuff after having learnt the basics — you will find yourself exploring other not-so-closely related areas of programming.

每当学习困难时(例如,当您学习了基础知识之后开始学习中级知识时),您就会发现自己正在探索其他不太紧密相关的编程领域。

If your focus is on Ruby, you will suddenly start finding Swift so fascinating and wonderful, and oh so magical.

如果您将重点放在Ruby上,您会突然发现Swift如此迷人而美妙,而且如此神奇。

So how to stay on track while also not growing too tired of the same topic?

那么,如何在保持进度的同时又不厌倦同一主题呢?

如何练习: (How to practice this:)

First, remind yourself of your goal. Next, my advice gets contrary to what you might have thought it would be. I say — go have that short honeymoon with that new exciting subject!

首先,提醒自己您的目标。 接下来,我的建议与您可能会想到的相反。 我说-去参加那短暂的蜜月,参加这个令人兴奋的新话题!

I recommend spending the next couple of days out to explore the new shiny subject that caught your interest. It’s okay.

我建议花几天的时间探索引起您兴趣的新主题。 没关系。

I’ve done that with Ruby. I’ve done that with Python. Then, after that breather, I would remind myself of my goal — finding a coding job. I would think: it would be nice to explore this and that, but I really want to get better at this one thing, so I’d better focus on it once again! And I would jump back into learning JavaScript with newly found energy and enthusiasm.

我已经用Ruby做到了。 我已经用Python完成了。 然后,经过一番喘息,我会提醒自己自己的目标-找到编码工作。 我会认为:对此进行探索会很不错,但是我真的想在这一件事上做得更好,所以我最好再次关注它! 然后,我将以新发现的精力和热情重新学习JavaScript。

What would happen if you didn’t allow yourself such breathers? Studying one subject for a long period of time is like being on a diet. You will do really well and be fine and happy, until that one day when you break and just can’t take it anymore. Say, you go nuts into this 6-month learning journey of a completely different topic, only to find that you haven’t mastered any of the many topics you’ve tried learning.

如果您不允许自己呼吸,会发生什么? 长时间学习一个主题就像节食一样。 直到有一天休息时,您再也忍受不了了,您会做得很好,并会幸福快乐。 假设您对这个完全不同的主题进行了为期6个月的学习之旅,但发现您没有精通尝试学习的许多主题中的任何一个。

Also, food for thought: you never hear the stories of “I dabbled with coding in Ruby, JS, Python, C++, and Java, and then started my successful coding career.”

此外,值得深思的是:您永远不会听到“我涉足Ruby,JS,Python,C ++和Java的编码,然后开始了我成功的编码职业”的故事。

In order to get your start, you should have at least one thing that you are amazing (or at least good) at. Choose it, pursue it, and only allow yourself brief diversions in order to keep your sanity.

为了起步,您应该至少拥有一件令您惊讶(或至少擅长)的事情 。 选择它,追求它,并且只允许自己短暂转移注意力,以保持理智。

数量一致性 (Consistency over Quantity)

When we decide to take on something big, like learning to code, we usually make the “New Year Resolution” mistake of thinking that starting next Monday we will spend 3–4 hours daily after work learning to code.

当我们决定承担一些重大任务(例如学习编码)时,通常会犯“ New Year Resolution”(新年决议)错误的想法,即认为从下周一开始,我们每天将在工作后花费3-4个小时学习编码。

What happens next? We do it for two days, then we get invited to a friend’s house for dinner, miss a day, and feel so terrible that we only start coding again after a couple of days or more have passed — if we return to it at all.

接下来发生什么? 我们进行了两天,然后被邀请到朋友家吃晚饭,错过了一天,感到如此恐怖,以至于我们只在几天或更长时间过去后才重新开始编码-如果我们完全返回的话。

We need to understand that slower, but more consistent progress always wins out over the progress of a person who skips days, and then tries to make up for it by cramming for a whole day, or pulling an all-nighter.

我们需要了解,缓慢但始终如一的进步总是会胜过跳过几天的人的进步,然后再努力地整天或拉一个通宵来弥补这一点。

Fifteen to thirty minutes of learning each day is better than 10 hours of learning over the weekend. You will remember more — and learn faster — if you come back to it every day, than if you try to remember what you did a week ago.

每天学习15至30分钟要比周末学习10小时要好。 如果您每天都回来学习它,那么您将比起记得一周前所做的事情,会记住更多,并且学得更快。

I know this is common knowledge, but we often forget all this when we get inspired with the desire to get better faster.

我知道这是常识,但是当我们渴望更快地变得更好时,我们常常会忘记所有这些。

如何实践: (How to practice this:)

Make a clear-cut, “bright-line” rule that you will code for at least 30 minutes a day. If you can do more, do it. But once you’ve done your 30 minutes, give yourself the permission to feel accomplished for the day.

制定一条清晰的“明线”规则,规定您每天至少要编码30分钟。 如果您可以做更多,那就去做。 但是,当您完成30分钟的练习后,就可以授予自己一天的成就感。

Thus, your efforts will become more consistent and you will get to your goal faster.

因此,您的努力将变得更加一致,并且您将更快地实现目标。

不要欺骗自己,以为成为一名开发人员必须回到大学或付费的训练营。 这不是真的。 (Don’t trick yourself into believing you have to go back to University or to a paid bootcamp in order to become a developer. it isn’t true.)

Yes, there are plenty of people who got into software development by going back to university for a second degree, or attending an in-person boot camp. But guess what? There are far more who got into the field by learning on their own. So don’t let yourself forget this.

是的,有很多人通过回到大学获得第二学位或参加亲自参加的新兵训练营来从事软件开发。 但猜猜怎么了? 有更多的人通过自己学习进入该领域。 因此,不要让自己忘记这一点。

如何实践: (How to practice this:)

Stop worrying about this, and know that it is possible to get a job in coding without doing either of those things.

不必为此担心,并且知道无需做任何一件事情就可以从事编码工作。

If you can get a degree or go through a coding bootcamp, you might consider doing so. If you can’t, don’t let that discourage you one bit.

如果可以获得学位或通过编码训练营,则可以考虑这样做。 如果您做不到,请不要让您失望。

Also, the time you are now spending feeling sorry for yourself (I know I’ve done that a whole lot), you can instead spend writing code and learning.

另外,您现在花的时间为自己感到难过(我知道我做了很多事情),您可以花时间编写代码和学习。

The good thing is that there is a great demand for good developers, and there are plenty of free resources. Free Code Camp is a good place to start.

好消息是,对好的开发人员有很大的需求,并且有大量的免费资源Free Code Camp是一个不错的起点。

寻找志同道合的人 (Find Like-Minded People)

Okay, this might be the same advice you find in every article on this topic, but it makes a lot of sense. Go to hackathons and other tech events.

好的,这可能是您在该主题的每篇文章中都可以找到的相同建议,但这很有道理。 参加黑客马拉松和其他技术活动。

First, you get to know more people and learn their stories. It will help you see that there are millions of different paths that people took that got them to where they are now.

首先,您会认识更多的人并学习他们的故​​事。 它将帮助您看到人们采用了数百万种不同的途径将他们带到了现在。

Second, you will get to ask all the questions you have, and hopefully get help with whatever problems you are having with the projects you’re working on.

其次,您将要问自己所有的问题,并希望就正在处理的项目遇到的任何问题获得帮助。

Though these tech events may seem intimidating to someone with beginner-level knowledge, don’t worry about feeling stupid, or not understanding anything. Most of these events are welcoming of beginners.

尽管这些技术事件对于具有初学者知识的人来说似乎是令人生畏的,但不必担心自己会变得愚蠢或一无所知。 这些活动大多数都欢迎初学者。

What helped me realize the importance of coding events were the following. In late 2014, I found Free Code Camp. It was still early in its evolution. The site had a list of cities with groups of people who met to learn to code together called campsites. It also had instructions for establishing a campsite in your city if it didn’t have one yet.

以下是使我意识到编码事件的重要性的原因。 2014年底,我发现了Free Code Camp。 它仍处于发展初期。 该站点列出了一些城市,其中有一群人在一起开会学习一起编码,这被称为露营地。 它还有关于在您的城市建立营地的指示(如果尚未建立的话)。

There wasn’t one for Toronto back then. I love organizing stuff, so I thought: “Wow, what an opportunity!” I quickly created one.

那时多伦多没有人。 我喜欢整理东西,所以我想:“哇,真是个机会!” 我很快创建了一个。

I was surprised to see how quickly people started joining the new campsite! As the group grew, I decided to create our first event.

我很惊讶地看到人们开始如此Swift地加入新的露营地! 随着小组的扩大,我决定创建我们的第一个活动。

Today we’re approaching our “anniversary” meet-up in June, and it has been amazing. The group is now has more than 800 members, and I have enjoyed every single meeting we had.

今天,我们正接近六月的“周年纪念”聚会,真是太神奇了。 该小组现在有800多名成员 ,而我每一次开会都很开心。

Finally, there was a sense of community, and not only was I learning to code and sharing my experiences, I was also meeting the best people I could otherwise find anywhere . The people who were interested in developing themselves, getting better, doing new things, learning and, generally, getting more out of life!

最终,我有一种社区意识,不仅学习了编码和分享经验,而且还结识了我在任何地方都能找到的最好的人。 那些对自我发展,变得更好,做新事物,学习以及总体上从生活中受益的人感兴趣!

Some of the people I’ve met became my really good friends, and I am enjoying sharing the resources, challenges and thoughts with them and the people who come to the events.

我遇到的一些人成为了我真正的好朋友,我很乐意与他们以及参加活动的人们分享资源,挑战和想法。

如何练习: (How to practice this:)

Go to coding events, such as Free Code Camp’s coffee-and-code events, where the focus is not only on coding, but on the sense of community.

参加编码活动,例如Free Code Camp的咖啡和编码活动,该活动不仅关注编码,还关注社区意识。

I don’t know which events are held where you live, but I am pretty sure you will find a local coffee-and-code event at the Free Code Camp campsite for your city.

我不知道您住的地方将举行哪些活动,但是我很确定您会在您所在城市的Free Code Camp营地找到一个本地的咖啡和编码活动。

If there isn’t one yet, you know what to do. ;)

如果还没有,那你知道该怎么办。 ;)

阅读其他人的编码起源故事 (Read other people’s Coding Origin Stories)

Reading how other people learned to code is both informative and motivational. You quickly learn their circumstances and which resources they used.

阅读其他人如何学习编码既有益又有益。 您可以快速了解他们的情况以及他们使用了哪些资源。

I spent the first month or two reading these while trying to decide which programming language should I should start learning. Once I decided to focus on JavaScript, the new question was how should I approach learning it. Was it realistic to teach myself and to find a job afterward?

我花了第一两个月的时间阅读这些内容,同时试图确定应该开始学习哪种编程语言。 一旦我决定专注于JavaScript,新的问题就是我应该如何学习它。 自学并事后找工作是否现实?

I’ll be honest and say that some of these stories — of people going to expensive bootcamps for 3 months and getting a job after — were not inspiring for me. I had a job and other responsibilities, and there was no way I could attend one. However, if you are considering a bootcamp, these stories may have a different effect on you.

我会说老实话,其中一些故事-人们去昂贵的训练营里待了三个月,然后又找到了工作-对我没有启发。 我有一份工作和其他职责,没有办法参加。 但是,如果您正在考虑进行训练营,这些故事可能会对您产生不同的影响。

In spite of this, I’ve read some stories of single parents learning to code, of people using Free Code Camp, Coursera, EdX, and other resources to teach themselves, and succeeding. It helped me get the courage and confidence that I would succeed, too.

尽管如此,我还是读了一些单身父母学习编码的故事,以及使用Free Code Camp,Coursera,EdX和其他资源自学并成功的人们的故事。 它帮助我获得了勇气和信心,我也将成功。

如何练习: (How to practice this:)

Read people’s stories and I promise you will get inspired, and a lot of your fears will dissipate.

阅读人们的故事,我保证您会受到启发,并且您的许多恐惧都会消失。

All right, enough reading, go write some code :)

好吧,足够的阅读,去写一些代码:)

If you have any questions about learning to code that are burning a hole in your mind, ask away — I would absolutely love to help you!

如果您对学习编码有任何疑问在您的脑海中深深刺痛,请提出来-我绝对​​愿意为您提供帮助!

If you liked this article, please let me know — it would make my day!

如果您喜欢这篇文章,请告诉我-这将使我高兴!

If you are interested, follow me on Medium or Twitter: @ka11away and I will make sure to write more articles sharing my experiences!

如果您有兴趣,请在Medium或Twitter上关注我:@ ka11away,我将确保撰写更多分享我的经验的文章!

Thank you so much for reading!

非常感谢您的阅读!

翻译自: https://www.freecodecamp.org/news/learning-to-code-when-it-gets-dark-e485edfb58fd/

天黑以后 博客

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值