gradle构建编码
Learning to code by following tutorials works for many people. And yet there tends to be a separate learning curve when you're trying to move out of the tutorial ecosystem and into creating your own projects.
通过遵循教程学习编码对于许多人来说都是可行的。 但是,当您尝试脱离教程生态系统并创建自己的项目时,往往会有一条单独的学习曲线。
I've written elsewhere about how to escape tutorial purgatory and make progress as a programmer. But to summarize here, it's a necessary step in your growth as a developer to venture out into the wild west of programming and build something. This will expose you to the ins and outs of your chosen coding ecosystem.
我在其他地方写过关于如何逃避炼狱和作为程序员的进步的文章。 但是在这里总结一下,这是您成长为开发人员的冒险中必不可少的一步,您可以冒险进入编程的狂野西部并构建某些东西。 这将使您了解所选编码生态系统的来龙去脉。
Here are five tips to help you move out of those tutorials and into making real progress as a developer by building projects.
这里有五个提示,可以帮助您脱离这些教程,并通过构建项目来真正实现作为开发人员的进步。
1.选择一个项目 (1. Choose a Project)
Whether you're coding from a book or working through online tutorials, your first step upon leaving the safety of your nest is to choose a project that is specific to your field of interest.
无论是从书中编写代码,还是通过在线教程编写代码,离开巢穴的安全性的第一步就是选择一个特定于您感兴趣领域的项目。
If you're an aspiring front end developer, that might mean creating a basic website. If you're learning Python, that could look like a simple web scraper. Find something that interests you, and research examples to get an idea of what your project might look like when it's complete.
如果您是一位有抱负的前端开发人员,那可能意味着创建一个基本网站。 如果您正在学习Python,那看起来就像是一个简单的网络抓取工具。 找到您感兴趣的内容,并研究示例以了解项目完成后的外观。
2.设置一个IDE (2. Set Up an IDE)
If you've been learning from online tutorials which provide a console that handles all of the back end work for you, take some time to set up an integrated development environment (IDE) that is specific to your intended project and ecosystem.
如果您从在线教程中学习,该教程提供了一个可以为您处理所有后端工作的控制台,请花一些时间来设置特定于您的预期项目和生态系统的集成开发环境 (IDE)。
The actual form of your IDE will vary greatly depending on your project. You could be cobbling together a workflow that includes a code editor, command line interface, version control system, and package manager. Or, on the other hand, you might install a game engine that has all of the stuff that you need built-in for you.
IDE的实际形式将根据您的项目而有很大不同。 您可能将包含代码编辑器,命令行界面,版本控制系统和程序包管理器的工作流整合在一起。 或者,另一方面,您可以安装一个游戏引擎,其中内置了您需要的所有内容。
The important component of this step is to become comfortable coding in an environment that is standard for the type of work you want to do. This helps you move away from only coding in a browser or following a book.
此步骤的重要组成部分是在您要执行的工作类型标准的环境中变得易于编码。 这可以帮助您摆脱仅在浏览器中编码或阅读书籍的麻烦。
3.熟悉文档 (3. Get Comfortable with Documentation)
Here's a glimpse of a familiar workflow when you're beginning a new project:
这是您开始新项目时熟悉的工作流程的概览:
- Set up your IDE 设置你的IDE
- Code 码
- Get stuck or forget the syntax for something 陷入困境或忘记语法
- Google some half-formed question about the issue Google关于这个问题的一些形式化问题
- Find the official documentation and a handful of Stack Overflow posts 查找官方文档和一些Stack Overflow帖子
- Check social media for no reason 无缘无故检查社交媒体
- Return to the documentation and Stack Overflow to find your answer 返回文档和堆栈溢出查找答案
- Return to step 2 返回步骤2
Unless you're a super expert in your field, chances are that you'll get stuck trying to figure out a solution to some aspect of your project. The official documentation for the library or framework that you're using will likely have some sort of answer - even if it's an obscure one - for whatever's puzzling you. But if it doesn't, someone has probably asked a similar question on Stack Overflow or elsewhere.
除非您是您所在领域的超级专家,否则您很可能会想尽办法为项目的某些方面找到解决方案。 您所使用的库或框架的官方文档可能会给出某种答案-即使是一个晦涩的答案-令您感到困惑的任何事情。 但是,如果没有,可能有人在Stack Overflow或其他地方提出了类似的问题。
Even if there are no answers out there for your specific question, there will be a breadcrumb somewhere that'll lead you to an approach for how to solve your problem.
即使没有针对您的特定问题的答案,也会在某处出现面包屑,这将使您找到解决问题的方法。
If you're trying to use ES6 classes in some obscure JavaScript framework, for example, you might not find the exact answer you're looking for. But there will be plenty of similar resources out there that can help you come up with a solution yourself.
例如,如果您试图在一些晦涩JavaScript框架中使用ES6类,则可能找不到所需的确切答案。 但是,那里会有大量类似的资源,可以帮助您自己提出解决方案。
4.寻求帮助 (4. Ask for Help)
One of the best things you can do for yourself as an aspiring developer is to make friends with other developers in your field. They can look at your code and provide feedback about how to make it better.
作为有抱负的开发人员,您可以为自己做的最好的事情之一就是与您所在领域的其他开发人员交朋友。 他们可以查看您的代码,并提供有关如何使其更好的反馈。
For some people, the idea of sharing their work and having it critiqued is an anxiety-inducing experience. I recommend working as diligently as you can to overcome this emotion as it will stagnate your growth as a programmer.
对于某些人来说,分享他们的作品并加以批评是一种令人焦虑的经历。 我建议您尽一切努力克服这种情绪,因为这会阻碍您成为程序员的成长。
When you're starting out with your own projects, it can be extremely helpful to have someone who's already walked the path to look at your work and offer constructive criticism. Even if doing so requires you to rewrite whole sections of code. In many cases, you might be trying to recreate the wheel while other options already exist. There, you'll benefit greatly from learning best practices from experts that have experience in the field.
当您开始自己的项目时,让已经走过道路看您的工作并提出建设性批评的人会非常有帮助。 即使这样做需要您重写整个代码部分。 在许多情况下,您可能正在尝试在其他选项已存在的情况下重新创建转轮。 在那里,您将从向有经验的专家那里学习最佳实践中受益匪浅。
5.确定其他增长领域 (5. Identify Other Areas for Growth)
One project usually leads to another, and you'll quickly identify areas in which you're able to grow as a developer. This might mean that you'll move from front end development to back end, or vice versa, or hop from 2D game programming into 3D.
一个项目通常会导致另一个项目,您将Swift确定自己可以作为开发人员成长的领域。 这可能意味着您将从前端开发转移到后端,反之亦然,或者从2D游戏编程过渡到3D。
It might also mean that you need to keep building your skill set just to complete the initial project that you've chosen. There's no shame in learning C#, for example, then deciding to build the back end of a web app, and having to learn all about ASP.NET and Razor Pages before actually making any progress!
这也可能意味着您需要继续构建自己的技能,才能完成所选的初始项目。 例如,学习C#并没有因此而感到羞耻,然后决定构建Web应用程序的后端,并且在真正取得进展之前必须学习有关ASP.NET和Razor Pages的全部知识!
Happy coding!
编码愉快!
If you enjoyed this article, please consider checking out my games and books, subscribing to my YouTube channel, or joining the Entromancy Discord.
如果您喜欢这篇文章,请考虑查看我的游戏和书籍 , 订阅我的YouTube频道或加入Entromancy Discord 。
M. S. Farzan, Ph.D. has written and worked for high-profile video game companies and editorial websites such as Electronic Arts, Perfect World Entertainment, Modus Games, and MMORPG.com, and has served as the Community Manager for games like Dungeons & Dragons Neverwinter and Mass Effect: Andromeda. He is the Creative Director and Lead Game Designer of Entromancy: A Cyberpunk Fantasy RPG and author of The Nightpath Trilogy. Find M. S. Farzan on Twitter @sominator.
法赞(MS Farzan)博士 他曾为知名的视频游戏公司和编辑网站(例如,Electronic Arts,Perfect World Entertainment,Modus Games和MMORPG.com)撰写和工作,并曾担任《龙与地下城:龙骨无双》和《 质量效应:仙女座》等游戏的社区经理。 。 他是《 Entronancy:Cyberpunk Fantasy RPG》的创意总监和首席游戏设计师,并且是《 The Nightpath Trilogy》的作者。 在Twitter @sominator上找到MS Farzan 。
gradle构建编码