javascript 开发_如何不成为普通JavaScript开发人员

javascript 开发

重点(Top highlight)

你不会一样(YOU WON’T BE THE SAME)

The life of a developer is not easy, developers are problem solvers 👷‍♂️ and constantly learning individuals 🏫. They have to keep upgrading📈.

开发人员的生活并不轻松,开发人员是解决问题的人👷‍♂️并不断学习个体🏫。 他们必须继续升级📈。

Just learning a new JavaScript framework or library won't make you better. That is just one half, for the other half you need to make progress on things other than frameworks. Libraries will keep changing, new APIs will keep coming out, but there is something that is going to stay constant throughout.

仅学习新JavaScript框架或库不会使您变得更好。 这只是一半,对于另一半,您需要在框架以外的其他方面取得进展。 库将不断变化,新的API将不断涌现,但是在某些方面将保持不变。

The other half is having the right mindset, attitude, and character, which are very important as a developer. Approaching a problem or a task a certain way will determine your worth.

另一半具有正确的心态,态度和品格,这对于开发人员而言非常重要。 以某种方式解决问题或任务将决定您的价值。

In this post, I have listed some important things that I believe will help you get your mind straight into the path of progress and development.

在这篇文章中,我列出了一些重要的事情,我相信这些重要的事情将帮助您将思路直接带入进步和发展的道路。

每天编写代码 (Write code daily)

The no 1 way to get better at something is to practice that thing, sadly there is no other way. A child learns to walk only by trying to walk. Likewise, as developers, we need to write more code to code better.

擅长于某事的第一方法就是实践那件事,可悲的是没有别的办法。 一个孩子只能通过尝试走路来学习走路。 同样,作为开发人员,我们需要编写更多代码才能更好地编写代码。

No amount of books or tutorials will be sufficient to make you better, only you can improve is by practicing.

没有任何书籍或教程足以使您变得更好,只有通过练习才能提高自己。

“Knowledge is of no value unless you put it into practice.” — Anton Chekhov

“除非实践,否则知识就毫无价值。” —安东·契kh夫

Learned Object-Oriented Programming, then make a project that incorporates OOP, If you just keep reading books or keep watching youtube about OOP then you will forever be learning OOP and never understanding it to the fullest.

学习过面向对象的程序设计,然后创建一个包含OOP的项目。如果您只是继续阅读书籍或观看有关OOP的youtube,那么您将永远学习OOP,并且永远不会完全理解OOP。

That design pattern that seemed hard to implement or least understand, at the start will seem like ‘hello world’ after you have practiced its use in multiple different situations.

当您在多种不同情况下实践了这种设计模式后,一开始似乎很难实施或至少难以理解的设计模式就好像是“ hello world”。

编写干净的代码 (Write Clean Code)

Every developer has their own opinion about what clean code is. But in short, clean code is a code that is easy to understand and easy to change.

每个开发人员对于什么是干净代码都有自己的看法。 简而言之,干净的代码是易于理解和更改的代码。

Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees. Every year countless hours and resources are wasted due to bad code.

甚至错误的代码也可以起作用。 但是,如果代码不干净,它将使开发组织屈服。 每年,由于错误的代码,浪费了无数的时间和资源。

If you write clean code, then you are helping your future self and your co-workers. With such code, you are reducing the cost of maintenance of the application you are writing, and fixing bugs will be easier.

如果您编写干净的代码,那么您正在帮助自己和自己的同事。 使用这样的代码,您可以减少正在编写的应用程序的维护成本,并且更容易修复错误。

With clean code, you are making it enjoyable to work on the code. Ultimately you are making life easier for everyone involved in the project.

有了干净的代码,您就可以轻松地处理代码。 最终,您将使项目中的每个人的生活变得更加轻松。

You can easily differentiate yourself from others by just writing your code cleaner. Please don't show off with one-liner code if that introduces an unnecessary complication. Take another 3 lines but make it digestible.

您可以通过编写代码清洁器轻松地将自己与他人区分开。 如果这会带来不必要的复杂性,请不要炫耀单行代码。 另取3行,但使其易于消化。

停止填塞,开始询问为什么和如何 (Stop Cramming and start asking Why and How)

If you ever want to learn something new, the only way is to, understand it better. To understand it better you need to ask the Why at each and every line of code. Please stop cramming. That won't work! Instead, start questioning each and every bloody thing.

如果您想学习新的东西,唯一的办法就是更好地理解它。 为了更好地理解它,您需要在每一行代码中询问“为什么”。 请停止填塞。 那行不通! 相反,开始质疑每件血腥的事物。

“I have no special talent. I am only passionately curious.” — Albert Einstein

“我没有特殊才能。 我只是充满好奇。” 爱因斯坦

If you want to mix that new concept in your blood then never stop asking Why.

如果您想在自己的血液中融合新概念,那就永远不要停止问为什么。

Please ask: Why is ‘ let ’ used here instead of ‘ const ’, why is callback used here, Why I need to use something asynchronously. Just keep firing never-ending why.

请问:为什么在这里使用'let'而不是'const',为什么在这里使用回调,为什么我需要异步使用某些东西。 只要保持射击永无止境的原因。

活到老学到老 (Never stop learning)

The world of technology changes every day at a rapid rate and If you want to not get left behind on this rapidly changing road then you have to keep learning new skills. Keep upgrading and hustling, but never settle⛹️‍♀️.

技术世界每天都在Swift变化,如果您不想在这条瞬息万变的道路上落伍,那么您就必须不断学习新技能。 保持升级和忙碌,但不要安定下来⛹️‍♀️。

A good developer understands the importance of being up to date and approaches things smartly.

优秀的开发人员了解保持最新状态的重要性,并能明智地处理问题。

帮助你下面的人 (Help those below you)

Helo other developers that are junior to you. This way you are going to socialize more and end up improving your leadership skills. Never say no or get disgusted by juniors asking you for help.

Helo其他对您而言是初级的开发人员。 这样,您将可以进行更多的社交活动并最终提高您的领导能力。 永远不要说不,也不要被大三生向您寻求帮助而感到厌恶。

Be open to help for stuff you might not be the best at, you might end up learning something valuable from the problems they are facing. Juniors usually ask some really weird questions, answering such questions will give your concepts work-out. These are the questions you may have never imagined or thought.

乐于为您可能不是最擅长的事情提供帮助,最终可能会从他们面临的问题中学到一些有价值的东西。 大三学生通常会提出一些非常奇怪的问题,回答这些问题将使您的概念变得可行。 这些是您可能从未想过或想到的问题。

If you can’t explain it simply, you don’t understand it well enough.

如果您不能简单地解释它,则说明您不够了解。

— Albert Einstein

- 艾尔伯特爱因斯坦

从事您的梦想项目(Work on your dream project)

Personal projects are a great way to learn new frameworks and technologies which you might not experience at work.

个人项目是学习您可能在工作中不会遇到的新框架和技术的好方法。

Developers are people with superpowers. We don't need to hire someone to make our dream project, we can make ourselves.

开发人员是具有超能力的人。 我们不需要聘请任何人来完成我们的梦想项目,我们可以做到自己。

You don't like some features on Instagram, Ok make a clone with features you would like to add. I do such projects very often.

您不喜欢Instagram上的某些功能,请使用您要添加的功能进行克隆。 我经常做这样的项目。

With your personal project, you are the product manager, you are the developer, and the designer.

在您的个人项目中,您是产品经理,开发人员和设计师。

务实诚实 (Be realistic and Honest)

Be truthful and honest about what you know and you don't. Being pretentious will never get you anywhere. You don't know some concepts in JS, admit it. This way only you are going to work for improving it.

对您知道和不知道的事要诚实和诚实。 自命不凡永远不会带你到任何地方。 承认,您不了解JS中的某些概念。 这样,只有您才能进行改进。

The first step towards development or learning is admitting that you don't know something. This way you are making the right midset.

迈向发展或学习的第一步是承认您不了解某些东西。 这样,您就可以做出正确的中音。

Please Stop pretending. There is nothing bad at not knowing everything.

请停止假装。 一无所知并没有什么不好。

贡献开源 (Contribute to open source)

Contributing to open source can expose you to scenarios which might never occur at work and thus limiting your perception.

对开源做出贡献会使您暴露于工作中永远不会发生的场景,从而限制了您的感知。

You learn how a project is run in a distributed manner. You get to see the latest cutting edge technologies being used worldwide. You get to interact with the code of people above your domain as well as below yours.

您将学习如何以分布式方式运行项目。 您会看到全球正在使用的最新前沿技术。 您可以与域中以上和域以下人员的代码进行交互。

Yes, you won't be paid to contribute, but the knowledge and experience you will gain are priceless.

是的,您将不会获得报酬,但是您将获得的知识和经验是无价的。

寻找更快的方法 (Find faster ways)

A good developer is not the one who works like a donkey and takes infinity to complete a task.

一个好的开发者不是像驴子那样工作并且需要无限的力量来完成任务的开发者。

A good developer keeps finding better and faster ways to complete a task. He/She uses all the tools, extensions, and APIs to build apps in a short time. We have limited time, use it wisely.

优秀的开发人员不断寻找更好,更快的方法来完成任务。 他/她使用所有工具,扩展程序和API在短时间内构建应用程序。 我们的时间有限,请明智地使用它。

I am not the best developer in the world, but I think having the right mindset, attitude, and character is way more important. We need to keep rewiring our brains and keep thinking of ways to improve.

我不是世界上最好的开发人员,但我认为拥有正确的思维方式,态度和品格更为重要。 我们需要不断地动脑筋,不断思考改进方法。

“Most people say that is it is the intellect which makes a great scientist. They are wrong: it is character.” — Albert Einstein

“大多数人说,是才智造就了一位伟大的科学家。 他们错了:这是个性。” 爱因斯坦

All these things I have mentioned are what I believe, you may be different, I would love to hear you out.

我提到的所有这些都是我所相信的,您可能有所不同,我很想听听您的声音。

Thanks for giving your valuable time 😃

感谢您的宝贵时间😃

普通英语JavaScript (JavaScript In Plain English)

Enjoyed this article? If so, get more similar content by subscribing to Decoded, our YouTube channel!

喜欢这篇文章吗? 如果是这样,请订阅我们的YouTube频道解码,以获得更多类似的内容

翻译自: https://medium.com/javascript-in-plain-english/how-to-not-be-a-mediocre-javascript-developer-212363eebfba

javascript 开发

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值