经济学和哲学
I'm a big believer of learning by doing. Being an autodidact myself, I understand how important it is to do stuff to actually learn it. Sometimes it might seem counterintuitive, because you gotta learn stuff before you could do anything with it, but nothing is more effective than learning by doing.
我坚信边干边学。 我自己是一个自学成才,我知道做一些事情以实际学习它是多么重要。 有时这似乎违反直觉,因为您必须先学习东西,然后才能对其进行任何操作,但是没有什么比边做边学更有效。
For me, if I want to learn something, let's say React, I would think of a moderately difficult project and would try to build it - say, a game. How? I would start from the basics, and would keep on googling stuff.
对我来说,如果我想学习一些东西,比如说React ,我会想到一个中等难度的项目,然后尝试构建它-比如一个游戏。 怎么样? 我将从基础知识入手,然后继续使用Google搜索。
Some initial questions might be: "How to create project with react" which might then lead me to a popular "create-react-app" solution. From there, I might be able to explore even more things, like how React works and what sorts of games have been previously built with React, just to get an idea.
最初的一些问题可能是:“如何使用react创建项目”,然后可能使我想到一个流行的“ create-react-app”解决方案。 从那里,我也许能够探索更多的东西,例如React的工作方式以及以前使用React构建的什么样的游戏,只是为了获得一个想法。
After seeing that, we could read other people's code too, which is almost always a very good way to learn. When you read other people's code, it gives you a completely different perspective on how a particular feature or thing could be implemented. Personally, I've had a lot of "aha" moments just by reading others' code.
看到这些之后,我们也可以阅读别人的代码,这几乎总是一种非常好的学习方法。 当您阅读别人的代码时,它将为您提供关于如何实现特定功能或事物的完全不同的观点。 就个人而言,仅阅读别人的代码,我就经历了很多“啊哈”的时刻。
Also, It is always great to link some sort of utility with your project, just to keep you driven.
另外,将某种实用程序与您的项目链接总是很好,只是为了保持驱动力。
On the same lines, it is very important to break out of the habit of just consuming content. You can only read articles and watch videos so much. You have to, at some point, sit down, and stare into the unknown, and start coding.
同样,摆脱仅消费内容的习惯非常重要。 您只能阅读文章和观看视频。 您必须在某个时候坐下来,凝视未知的事物,然后开始编码。
This is where projects come in handy. They allow you to code towards a specific goal. This is what I always follow while learning something new, and this is something which always work, tried and tested.
这是项目派上用场的地方。 它们使您可以针对特定目标进行编码。 这是我在学习新事物时始终遵循的,这是始终有效,经过尝试和测试的事物。
引入codecomp (Introducing codecomp)
I really appreciate and admire what freeCodeCamp does, and I believe together we're even stronger. At codedamn (which is a platform for developers to learn and connect), I'm trying to let people break out of their perpetual habit of just consuming and pondering the content.
我真的很欣赏和钦佩freeCodeCamp所做的事情,而且我相信我们在一起会更加强大。 在Codedamn (这是开发人员学习和联系的平台)上,我正在尝试让人们摆脱仅仅消费和思考内容的永恒习惯。
This month, that is, September of 2019, at codedamn, we're introducing codecomp. It is an online competition for real-world-developer-skills (unlike what we usually see, raw Data Structures/Algorithms). The submission deadline is September 26.
本月,即2019年9月,在Codedamn,我们将引入codecomp 。 这是一个在线竞赛,用于开发真实世界的开发人员技能(不同于我们通常看到的原始数据结构/算法)。 提交截止日期为9月26日。
This month's codecomp focuses on React developers. If you're a React developer (or want to be one, remember, learning by doing), you can take part in this free competition. You have to think of a creative idea for a game in React which could be experienced in more or less, 3 minutes. Basically, your submission would be judged on the following parameters in no particular order:
本月的codecomp重点关注React开发人员 。 如果您是一名React开发人员(或想成为一名开发人员,请记住,边做边学),则可以参加此免费竞赛。 您必须考虑一个在React中玩游戏的创意,这个创意或多或少会在3分钟内出现。 基本上,您的提交将按照以下参数进行排序(无特定顺序):
- Technical accomplishment 技术成就
- Creativity of idea 创意的创造
- Code quality 代码质量
I want to provide value to the community as much as I could. Partially because I want people to know about the fact that coding is something which is interesting, and could be learnt all by yourself. But you need to add a flavour of "doing work" to actually start the magic.
我想尽我所能为社区提供价值。 部分原因是因为我希望人们知道编码这一事实很有趣,并且可以自己学习。 但是您需要添加一种“做事”的方式来真正开始魔术。
Hence, this competition is not just a raw competition. We'll be giving out actual prizes for the winners. Prizes for this competition are as follows:
因此,这种竞争不仅仅是原始竞争。 我们将为获奖者颁发实际奖品 。 本次比赛的奖项如下:
1st Prize: 1 custom developer hoodie
一等奖:1个定制开发者连帽衫
2nd Prize: 1 developer T-shirt
二等奖:1件开发T恤
3rd Prize: 1 coffee developer mug
三等奖:1个咖啡显影杯
You can find all this information plus how to submit here: https://codedamn.com/panel
您可以在此处找到所有这些信息以及如何提交: https : //codedamn.com/panel
We have a dedicated discord server channel, where people are chatting about codecomp and could brainstrom ideas. We aim to make it a fun place for developers to hang out, eventually. You could join our discord server here: https://discord.gg/K2kaXmv
我们有一个专用的不和谐服务器渠道,人们可以在其中谈论Codecomp,并且可以使想法产生灵感。 我们的目标是最终使它成为供开发人员闲逛的好地方。 您可以在此处加入我们的不和谐服务器 : https : //discord.gg/K2kaXmv
Also, for your final submission, you need to do the following things:
另外,对于最终提交,您需要执行以下操作:
- Code up your game project. 编写您的游戏项目。
- Create a codesandbox.io version of your project. 创建您的项目的codesandbox.io版本。
Submit your codesandbox link to codedamn. Open the panel page and go to "Competitions" tab above. You'll see a submission page.
提交您的codeandbox链接至codedamn。 打开面板页面,然后转到上方的“竞争”标签。 您会看到一个提交页面。
- Wait for results! :) 等待结果! :)
And the best part is, everything's free! In fact, because not so many people know about codecomp yet, it's your best shot to take part and grab away the prizes ;)
最棒的是,一切都是免费的! 实际上,因为还没有多少人知道codecomp,所以参加并获得奖金是您的最佳选择;)
结论 (Conclusion)
With codecomp, I believe I would be able to drive more people towards actually building real world projects than just letting them consume my (or anyone else's) content. I really hope to see all React developers levelling up their skills by using this opportunity. And again, if you have any feedbacks or questions, feel free to throw them to me!
相信有了Codecomp,我不仅可以让他们消费我(或其他人)的内容,还可以带动更多的人真正地构建现实世界的项目。 我真的希望看到所有React开发人员都可以利用这个机会来提升他们的技能。 再说一次,如果您有任何反馈或问题,请随时将它们扔给我!
翻译自: https://www.freecodecamp.org/news/the-philosophy-of-learning-by-doing/
经济学和哲学