微信小程序新手容易犯的错误

To become a Senior Java Developer, I’ve been learning Java for many years and still I’m not gonna stop learning as actual coding never stops teaching. I’ve also been teaching it for over seven years now. Just fancy how many mistakes I’ve already made myself and how many I’ve watched my students doing. I am pretty sure now I know a hundred wrong ways of learning to code (as well as dozens of the right ones).

要成为一名高级Java开发人员,我已经学习Java多年了,但我不会停止学习,因为实际的代码永远不会停止教学。 我也已经教了七年以上。 只是幻想我已经犯了多少错误,以及看着我的学生有多少错误。 我现在可以肯定,我知道一百种错误的学习编码方法(以及数十种正确的方法)。

Plenty of paths are available for you to start your developer career. But the same thing creates an illusion that all roads to success in coding are equally good. From my experience, I can say that it’s not completely so. Here I will share the ineffective ways on how to learn to program and show you better alternatives.

您可以使用很多途径来开始您的开发者职业生涯。 但是,同一件事产生了一种幻觉,即编码成功的所有道路都是一样的好。 根据我的经验,我可以说并非完全如此。 在这里,我将分享有关如何学习编程的无效方法,并向您展示更好的替代方法。

9种无效的编程学习方法 (9 Ineffective Approaches to Learn Programming)

1.一次做完 (1. Doing it all at once)

When you feel like you are in a mood for an achievement you’re itching to do everything at once. You open several web pages and start learning a bit of Java, and then a bit of PHP, and then you give a short glimpse at JS frameworks. By the end of the day, you think you know a lot about programming. But no.

当您想获得成就时,就渴望立即做所有事情。 您打开几个网页,开始学习一些Java,然后学习PHP,然后简要了解JS框架。 归根结底,您认为您对编程了解很多。 但不是。

See how you wake up the next morning and suddenly realize you remember next to nothing from yesterday. Several hours of study for a (seemingly) zero result! Well, that’s the trick of learning anything new: focus on something. Java — then Java only. Stay with this strategy for at least first few months. Later it might be even beneficial for you to go to the other technologies and try them together in real projects.

看看您第二天早上如何醒来,突然意识到您从昨天起几乎一无所有。 几个小时的学习(看似)为零! 好吧,这就是学习新知识的窍门:专注于某些东西。 Java-仅Java。 至少在最初的几个月内保持这种策略。 之后,使用其他技术并在实际项目中一起尝试可能对您甚至有益。

2.跳过基础 (2. Skipping the fundamentals)

Who cares about the simple alphabet when you can start writing your first novel right away? Why waste time doing something only losers would do? Yeah, right. Skip the dull fundamentals. Why would you bother learning anything about classes or inheritance if the Next Big Thing is waiting for you?

当您可以立即开始撰写第一本小说时,谁在乎简单的字母? 为什么要浪费时间做只有失败者才能做的事情? 是的,对。 跳过沉闷的基础知识。 如果“下一件大事”等着您,您为什么还要花时间学习有关类或继承的任何知识?

Well, not exactly. Learning the basics is the brick and mortar of your future career. If you don’t do your job building it carefully now, you will stumble over it for years. When you get a real job you might really be very short on time to go back to basics. So the best moment to slowly move from points A to B is now. No, you are not the smartest crayon in the box (yet!), so don’t skip learning the fundamentals.

好吧,不完全是。 学习基础知识是您未来职业的基石。 如果您现在不认真地构建它,那么您将迷失数年。 当您找到一份真正的工作时,您可能真的没有时间恢复基本知识。 因此,现在是从点A缓慢移至点B的最佳时刻。 不,您不是盒子里最聪明的蜡笔(但!),所以不要跳过学习基础知识。

3.在蓝月亮中学习一次 (3. Studying once in a blue moon)

The next trick, which is connected with the previous one: learn regularly. Think “consistency” is just another buzzword? No, it’s not. This is the way the memory works: you have to repeat things several times before they actually become a skill. And without any further use, the skills you worked so hard to build will vanish out of your memory again. That’s why several hours of study with several days of oblivion is a direct course toward failure. Learning programming for thirty minutes per day is better than three hours of practice every other Monday.

下一个技巧与上一个技巧有关:定期学习。 认为“一致性”只是另一个流行词? 不,这不对。 这就是记忆的工作方式:您必须重复多次才能真正使它们成为一项技能。 而且,如果不再进一步使用,那么您辛苦地建立的技能将再次从您的记忆中消失。 这就是为什么数小时的学习和几天的遗忘是走向失败的直接途径。 每天学习30分钟的编程要比每隔一个星期一的三个小时的练习要好。

4.独自学习编码 (4. Learning coding in solitude)

“I will do it on my own.” “I thought coding was about typing the right lines. Why would I need people?” These are some of the excuses I’ve heard for not connecting with other people while you learn. Yeah, if you envision yourself hiding behind the monitor and coding genius things in solitude and silence… Well, say goodbye to this illusion! No matter how introverted software developers are, their profession is about teamwork. Yours will be too.

“我会自己做。” “我认为编码是要输入正确的行。 我为什么需要人?” 这些是我在学习过程中不与他人联系的借口。 是的,如果您设想自己躲在显示器后面并以孤独和寂静的方式编码天才事物……那么,告别这种幻觉! 无论软件开发人员多么内向,他们的专业都是团队合作。 你的也一样。

On your learning path, help from peers may also be crucial. And who knows, maybe you’ll also meet your future colleague or even employers there. Where? On the programmers’ forums, professional communities, etc. Come join forums like CodeGym, Stack Overflow, Reddit (e.g., subreddits like r\learnprogramming, r\java, and r\learnjava). Talk to others about your studies and work, ask for help, help others, and get some inspiration. This will definitely speed up your professional skills and — which might be even more important — your soft skills.

在您的学习道路上,同伴的帮助也可能至关重要。 谁知道呢,也许您还会在那里见到您未来的同事甚至雇主。 哪里? 在程序员的论坛,专业社区等上,加入诸如CodeGym , Stack Overflow , Reddit之类的论坛(例如,诸如r \ learnprogramming,r \ java和r \ learnjava之类的子reddit)。 与他人谈论您的学习和工作,寻求帮助,帮助他人并获得启发。 这肯定会加快您的专业技能,甚至可能更重要的是您的软技能。

5.仅阅读,观看视频并再次阅读 (5. Only reading, watching videos, and reading again)

The more you read about programming, the better the programmer you become. Well, no. Theory only, even if it is in the form of a bright YouTube cartoon, won’t get you far unless you also practice. Try some coding challenge platforms, play games, and learn by doing. Here are some online options I’ve picked up for you.

您对编程的了解越多,您成为一名更好的程序员。 好吧,不。 仅凭理论,即使是以明亮的YouTube卡通形式出现,除非您也进行练习,否则它不会带您走远。 尝试一些编码挑战平台,玩游戏,边做边学。 这是我为您准备的一些在线选项。

  • Gitconnected

    Gitconnected

Gitconnected is a community full of tutorial resources for learning programming. All materials are filtered by software engineers and developers, so the quality of content is super high. Here members not only learn but communicate with each other to find the best possible solutions to complete the tasks.

Gitconnected是一个社区,充满了学习编程的教程资源。 所有材料均经过软件工程师和开发人员的过滤,因此内容的质量非常高。 在这里,成员不仅学习而且彼此交流以找到最佳的解决方案来完成任务。

  • CodeGym

    CodeGym

CodeGym is a structured Java course that combines lectures and practical tasks. Here you can start doing tasks from the beginner level and get to the confident middle level. The whole course is built as a quest that involves gamification and storytelling. Doesn’t it make the whole process much more interesting?

CodeGym是一门结构化的Java课程,结合了讲座和实际任务。 在这里,您可以从初学者开始执行任务,然后进入自信的中层。 整个课程都是作为涉及游戏化和讲故事的探索而构建的。 这不是使整个过程变得更加有趣吗?

  • Coderbyte

    编码字节

This resource is a challenge- and problem-resolution-based. There are starter courses, a huge library of challenges with marked levels of difficulty, and job interview preparation tools.

此资源是基于挑战和问题解决方案的。 有入门课程,巨大的挑战库和明显的难度水平,以及工作面试准备工具。

  • Codechef

    厨师

Codechef is a place for a friendly competition. It also has starter courses and monthly challenges. See how your name will look if you become one of the top performers!

Codechef是进行友好比赛的地方。 它还有入门课程和每月挑战。 看看如果您成为表现最好的人之一,您的名字将如何显示!

6.不学习解决问题 (6. Not learning to solve problems)

Let’s get back to the learners’ mistakes. At first, you will really just learn simple coding. But the “repeat after me” type of the tutorials cannot last long. Creating software is not only about writing lines and lines of code. It’s about making something that would help people fill some gaps and solve some issues.

让我们回到学习者的错误中。 首先,您实际上只会学习简单的编码。 但是这些教程的“跟着我重复”的类型不能持续很长时间。 创建软件不仅涉及编写代码行和代码行。 这是关于做出一些可以帮助人们填补空白并解决一些问题的事情。

That’s why you have to start figuring out how to resolve problems with your coding, not just doing monkey business. The thing is that you won’t receive tasks at work like “write 50 lines of Java code.” They would mostly come like, “We need this thing to work this way. Can you do that?” And here’s when you either can or cannot. Try coding challenges like those mentioned above for drilling problem-solving skills.

这就是为什么您必须开始弄清楚如何解决编码问题,而不仅仅是做猴子生意。 问题是您不会在工作中收到诸如“编写50行Java代码”之类的任务。 他们通常会说:“我们需要这种方式来工作。 你能做到吗?” 这就是您可以或不能的时候。 尝试像上面提到的那样为解决问题的技巧编写挑战代码。

7.不确定所写的内容是否有效 (7. Not being sure whatever you write is working)

In a make-believe world, developers create ideal code from scratch, and it miraculously works all at once. But in the real world, things are way more complicated. You write and write features for some app, and then — oops. The app just won’t operate. And don’t you actually know what’s wrong, whether things went wrong one by one or several at a time. And now you have to check up on everything from the very beginning. Good luck! A much better option is to double or triple check every part of your project before you move on to the next step. Then the chances you create something good are much higher.

在一个难以置信的世界中,开发人员可以从头开始创建理想的代码,并且奇迹般地一次完成所有工作。 但是在现实世界中,事情变得更加复杂。 您为某个应用程序编写功能,然后-哎呀。 该应用程序将无法运行。 而且您实际上不知道出什么问题了吗,一次是一次还是几次出现了问题。 现在,您必须从一开始就检查所有内容。 祝好运! 更好的选择是在继续下一步之前,对项目的每个部分进行两次或三次检查。 这样,您创造出好的东西的机会就更高了。

8.绝不承认您编写了错误的代码 (8. Never admitting you wrote bad code)

It’s hard to realize you’ve made a mistake. It’s even harder when there are plenty of mistakes every day and in every line of code. But pretending that it’s alright and should be this way is even worse. So face it: you will write a lot of bad code. And you will have to rewrite it every now and then. It’s inevitable, and it’s a part of the process. Audit your code, and if something has to be changed — go and change it.

很难意识到您犯了一个错误。 如果每天和每一行代码中都存在大量错误,那就更难了。 但是假装没问题,应该这样,甚至更糟。 面对现实:您将编写很多错误的代码。 而且您将不得不不时地重写它。 这是不可避免的,并且是过程的一部分。 审核您的代码,以及是否必须更改某些内容—请进行更改。

9.不要让比您更有经验的人来检查您的代码 (9. Not letting your code be reviewed by anyone more experienced than you)

When you’re learning to play a musical instrument you barely wish to show anyone your sluggish finger movements. The same goes for code — until it’s perfect, you don’t want to show it to anyone. It’s common that beginner developers don’t ask for help and refuse to seek advice. You can only imagine how much longer and harder their learning path becomes because of this.

当您学习弹奏乐器时,您几乎不希望向任何人展示您缓慢的手指运动。 代码也是如此—直到完美为止,您不想将其展示给任何人。 初学者通常不寻求帮助而拒绝寻求建议是很常见的。 您只能想象因此而导致他们的学习道路变得越来越艰辛。

Ask for reviews of your code from someone who’s been there before. Go to the professional communities and forums (f.e. Stack Overflow, CodeProject or CodeGym forum), to your tutors if you are a student, and discuss it with your fellows. You will get a different perspective on resolving the same problem. And more than that, you will learn better and faster, as you also gain knowledge from experienced developers. By the way, there is a nice after-effect: you will be able to share your knowledge with the next newcomers to the profession, which is also quite rewarding.

要求曾经去过那里的人对您的代码进行审查。 如果您是学生,请转至专业社区和论坛(例如Stack Overflow , CodeProject或CodeGym论坛 ),并与您的导师联系,并与其他人讨论。 您将对解决同一问题有不同的看法。 不仅如此,您还将学得更好,更快,因为您还会从经验丰富的开发人员那里获得知识。 顺便说一句,有一个很好的后效应:您将能够与该行业的下一个新手分享您的知识,这也是非常有益的。

结语 (Wrap Up)

It does require time and effort to learn to program. But you don’t have to complicate the process with the mistakes every newbie programmer makes. If you only read and don’t start practicing, if you never let others review your code, if you don’t acquire a problem-solving approach, it will take ages for you to become a professional. And remember, the very worst thing you can do is never even start learning — or give up after the first failure.

确实需要时间和精力来学习编程。 但是您不必使每个新手程序员都会犯的错误使过程复杂化。 如果您只阅读并且不开始练习,或者您从不让其他人审阅您的代码,或者您没有获得解决问题的方法,那么成为专业人士将需要很长时间。 请记住,最糟糕的事情是永远不要开始学习,或者在第一次失败后就放弃。

Stay strong! Mistakes and flops are part of the process. Don’t get discouraged every time you do something wrong. The most important part is that you learn regularly and improve your skills eventually. Start right now, and good luck to you!

坚强点! 错误和失败是过程的一部分。 每次做错事情时,不要气disc。 最重要的部分是您要定期学习并最终提高技能。 立即开始,祝您好运!

翻译自: https://levelup.gitconnected.com/newbie-programmers-mistakes-and-how-to-avoid-them-f39a94bf753b

微信小程序新手容易犯的错误


http://www.taodudu.cc/news/show-3034804.html

相关文章:

  • 对企业数字化转型的思考
  • 【新手向】emacs配置文件
  • 下级对上级认可应该用什么词_下级对上级的成语-上级听取下级的词语-下级称赞上级领导的词语...
  • js对div取值与赋值
  • python判断谁是小偷_警察抓了A、B、C、D四名偷窃嫌疑犯,但其中只有一人是真正的小偷。审问记录如下:...
  • 不止骗钱,还撸网贷,现在的诈骗犯真是越来越骚了
  • 当程序员遇上电信诈骗犯 黑掉对方电脑!成功反制
  • 无限循环抛出 No method found for class [B 这个异常
  • R语言 ggplot2包载入时候报错,请大家帮忙看看,谢谢
  • 三坐标检测之测头补偿原理
  • 【获取路径grob()】学习笔记
  • pathlib.Path模块下的glob、rglob,glob模块下的glob、iglob
  • R语言中使用UpSet包绘制多集合Venn图
  • R语言ggsurv生存曲线一页多图的实现
  • Geom error原因以及解决办法
  • GRUB4DOS详解
  • R语言ggplot绘制地图-报错汇总(一)
  • GRBL 回原点设置
  • python中glob的用途
  • ggplot2画图
  • python用glob遍历文件_python中用glob快速获取文件列表
  • linux启动流程及自定义gurb
  • win7与ubuntu双系统,启动error:no such partition grub rescue
  • linux grub配置文件丢失,linux grub.conf文件丢失恢复
  • python glob函数_Python glob()函数
  • Windows 下 C++ 利用 OpenCV glob 函数获取文件夹下所有文件绝对路径
  • R ggplot绘制双纵坐标轴
  • ggplot2-标度、坐标轴和图例4
  • 运维实操——日志分析系统ELK(中)之logstash采集数据、伪装rsyslog、多行过滤、grok切片
  • 【opencv450-samples】flann_search_dataset.cpp在数据集中搜索查询图片 说明 FLANN 使用的简单程序

微信小程序新手容易犯的错误_新手程序员的错误以及如何避免它们相关推荐

  1. 复制的python代码格式错误_新手常见6种的python报错及解决方法

    此篇文章整理新手编写代码常见的一些错误,有些错误是粗心的错误,但对于新手而已,会折腾很长时间才搞定,所以在此总结下我遇到的一些问题.希望帮助到刚入门的朋友们. 1.NameError变量名错误 报错: ...

  2. gin 编译路径错误_[系列] Gin框架 - 自定义错误处理

    概述 很多读者在后台向我要 Gin 框架实战系列的 Demo 源码,在这里再说明一下,源码我都更新到 GitHub 上,地址:https://github.com/xinliangnote/Go 开始 ...

  3. php http500错误_如何解决php http500错误问题

    php http500错误的解决办法:1.打开IIS,重新启动FastCGI:2.将"require(./xxx.php)"改成"require(xxx.php)&quo ...

  4. 小熊错误_新手爸妈第一年带娃时,很容易犯的7个错误,对照看看你中了没

    文 /关注小熊育儿,帮您轻松育儿 带娃不是一件容易的事,对爸妈的时间和体力都是一种考验,不仅"熊孩子"让人头疼,育儿知识差,不懂科学育儿理念的"熊爸妈"也是让人 ...

  5. 新手学python书籍推荐_新手学python看哪本书

    对于零基础入门的人来说,对于Python的学习还是有点懵懵懂懂的,如果有一些书籍先看看来引导,学起来难度也会减低很多!所以,学python倒是向大家推荐这些书籍! 1.<PYTHON基础教程(第 ...

  6. 检测输入路径是否存在错误_为什么存在用户输入错误

    检测输入路径是否存在错误 Errors are a fact of life when using almost any type of software. Forms are the worst t ...

  7. 为什么玩我的世界老提示Java se错误_我的世界error错误信息 error could解决方法

    我的世界是一个及其开放的沙盒游戏,而在这个游戏中有不少的问题,比如说遇到error该如何解决呢,看小编给大家带来的我的世界error错误的解决方法,希望大家喜欢. error应用程序错误信息.包括&q ...

  8. 表面上承认错误_做一个可以承认错误的领导者

    表面上承认错误 这听起来似乎很明显,但是如果您想建立一支更加敬业的员工队伍,就需要积极参与. 这意味着,无论您是首席执行官还是一线经理,都需要努力与员工面对面地联系. 这可能意味着任何事情,包括到处走 ...

  9. ftp文件夹错误 参数错误_收藏夹和404错误

    ftp文件夹错误 参数错误 As you probably already know, adding a favorite icon to your website is a great way to ...

最新文章

  1. 遇事不决,XGBoost,梯度提升比深度学习更容易赢得Kaggle竞赛
  2. axure9中继器添加一列序号自增_中继器如何做简单穿梭框
  3. Bash For Loop Examples for Your Linux Shell Scripting--ref
  4. boost::gil::get_num_bits用法的测试程序
  5. bzoj 3055礼物运送 floyed + 状压DP
  6. 机器学习(八)——在线学习、K-Means算法、混合高斯模型和EM算法
  7. java书籍台湾翻译_《现代专业Javasctript 技术》一书中英文目录,翻译记录下来方便学习用...
  8. [洪流学堂]Hololens开发高级篇5:空间映射(Spatial mapping)
  9. cydia源_Cydia错误提示解决大全
  10. c 与mysql连接_c与mysql的连接
  11. 线性代数及其应用:绪论
  12. 详细叙述网上现有的PS换脸术(附步骤总结)
  13. WS824分机号码设置
  14. python量化选股策略_【机器学习】第六课:基于SVM的量化选股策略
  15. Java获取ejabberd在线用户账号Jid
  16. Java之Builder模式使用
  17. matlab 谐波电压含有量,电流平均值谐波检测方法MATLAB仿真
  18. 数学实验3:插值与拟合
  19. web前端工程师技能总结
  20. common段是什么

热门文章

  1. java计算机毕业设计家电售后管理系统MyBatis+系统+LW文档+源码+调试部署
  2. 新手用cdr如何设计名片_新名片设计
  3. HTML之 <p></p>标签 笔记
  4. mysql数据库二级_全国计算机二级mysql数据库模拟试题及答案
  5. c语言入门1.2.3 百度云,C语言入门1.2.3--一个老鸟的C语言学习心得(附光盘)
  6. 一张表告诉你木兰宽松许可证第二版(MulanPSL v2)与业界主流许可证的主要异同...
  7. 6.3.3 延迟缓存
  8. 用php代码实现逻辑不通的文章生成器
  9. 【Python爬虫】爬取微信公众号文章信息准备工作
  10. 图文详解:K8S太火了!花10分钟玩转它不香么