一年前端开发工程师简历
A year ago I started learning to code, focusing on front-end development. This was not completely new to me, as I’ve been doing this learning to code thing for a few years now. Most of the time it was something that I did for fun.
一年前,我开始学习编码,专注于前端开发。 这对我来说并不完全陌生,因为几年来我一直在学习这种东西来编写代码。 大多数时候,这是我做的有趣的事情。
Looking back over the years, and especially over 2015 when I decided to focus on front-end development, I’ve noticed some patterns in the way I was learning and doing things. These patterns lead to a series of mistakes that I am now fixing or got fixed in the past.
回顾过去的几年,尤其是在2015年,当我决定专注于前端开发时,我注意到了我学习和做事的方式。 这些模式导致了一系列错误,这些错误我现在已经解决或过去已解决。
Please note that although I am using “you” across this article, I’m referring to my own errors. I am not offering advice to anyone, I don’t think I’m in the position to do so. This is a way for me to make a conscious note of the mistakes I made. I also hope that whoever reads this thing will find it useful and avoid these mistakes.
请注意,尽管我在本文中使用“您”,但我指的是我自己的错误。 我不向任何人提供建议,我不认为我可以这样做。 这是我有意识地记下自己犯过的错误的一种方法。 我也希望读过此书的人会发现它有用并避免这些错误。
So, without further ado, here are some of the numerous errors I made.
因此,事不宜迟,以下是我犯下的许多错误。
无需事先计划即可直接进行编码 (Jumping right into coding with no prior planning)
This is probably one of the biggest mistakes one can do when learning to code. This works for a while, when you’re learning the most basic things, like loops and conditionals, but afterwards you’ll need a plan. And this is when you realize that you need to think the problem through and break it down into the most simple steps.
这可能是学习编码时可能犯的最大错误之一。 当您学习最基本的知识(例如循环和条件)时,这会工作一段时间,但是之后您需要一个计划。 这就是当您意识到需要仔细思考问题并将其分解为最简单的步骤时。
This is how I plan a project now. This approach seems to be working for the moment and it offers a more structured approach to coding.
这就是我现在计划项目的方式。 这种方法目前似乎行之有效,它提供了一种更加结构化的编码方法。
First, on paper:
首先,在纸上:
- I write down the objective of the thing I am coding 我写下我正在编写的东西的目标
- I break that objective into steps 我将目标分解为几步
- Every major step is then broken down into even smaller bits
<