如果您是一名新程序员,那么我们建议您从一个小项目开始您的漫长旅程,以更好地磨练您的技能。在编程的世界里,要学的东西实在太多了,因此,你应该只关注一些事情,以让你的头脑放松。
初学者程序员的最佳项目
问题是,你从哪里开始?对于大多数新程序员来说,这不是一个简单的答案,这就是为什么我们决定写一篇讨论这个主题的文章。我们将列出任何业余程序员在尝试处理更复杂的事情之前应该花时间研究的五个项目。
一旦你完成了,我们相信你会增加信心,这反过来会让你很快变成一个更好的程序员。
- 创建一个计算器应用程序
- 创建一个 HTML5 网站
- 建立一个小小的国际象棋或跳棋游戏
- 构建一个好的网络抓取工具
- 建立一个整洁的幻灯片。
- 使用Python(Python)创建密码生成器
- 设计一个移动应用程序
让我们更详细地讨论这个问题。
1]创建一个计算器应用程序
现在和过去几十年最受欢迎的初学者项目之一是创建计算器。您会看到,创建计算器可以让程序员练习编写布局、符号、处理信息的逻辑、读取数字的逻辑等等。
开始并不需要太多时间,但与此同时,这是一个具有挑战性的过程,因为在第一次使用时,您的计算器可能无法正常工作。
如果您想构建一个计算器,那么您将需要了解JavaScript、HTML和CSS。可以使用其他语言,但这三种是最好的组合。
2]创建一个HTML5网站
建立网站是一个很好的开始方式,因为它教授设计原则。不仅如此,程序员还需要了解网络托管、文件链接和编码逻辑。现在,起初,在构建一个基本的HTML5网站时,起初看起来似乎很简单,但这只是冰山一角,正如他们所说。
您编码的越多,您就越快意识到创建一个成熟的网站是多么复杂,因为通常需要几种编码语言才能使事情朝着正确的方向发展。
3]建立(Build)一个小小的国际象棋或跳棋游戏
你喜欢下国际象棋还是跳棋,或者两者兼而有之?那么如何研究创建游戏。首先,程序员必须将棋盘与棋子一起绘制出来,然后从那里为每个棋子指定特定的动作。
从头开始制作国际象棋游戏(chess game)并非易事,但它应该让程序员为将来处理更大的项目做好准备。
4] 构建一个好的网络抓取工具
对于那些正在学习如何使用Python 编程(Python)的人来说,创建一个网络抓取工具是一个不错的起点。程序员可以从使用Python和称为Beautiful Soup的库开始,从XML和HTML文档中抓取数据。
完成后,信息将导出为CSV文件,这意味着用户可以使用Microsoft Excel打开它。
Python非常先进,可以用来做更多的事情,而不仅仅是抓取HTML和XML数据。
5]建立一个整洁的幻灯片
你知道什么是开始的好项目吗?是的,没错,创建带有图像的幻灯片。我们认为新程序员应该学习如何做到这一点,因为它教会了如何在各种 Web 浏览器中与文档对象模型(Document Object Model)( DOM ) 进行交互。(DOM)
如果您想成为一名全职 Web 开发人员,那么这个项目非常值得学习。创建一个幻灯片并一遍又一遍地使用它来减少工作量。根据工作描述,程序员可以稍微调整幻灯片以适应每个设计。
6]使用Python创建(Create)密码生成器
如果您是一名年轻的程序员,最好的个人项目之一就是创建密码生成器。它不必是任何充满功能的东西,只是一个简单的密码生成器。在我们看来,密码生成器应该能够决定密码的长度,可以允许一定数量的字符,应该支持小写和大写字母,以及特殊符号和数字。
现在,即使您不公开此密码生成器,至少在为 Web 创建密码时,它也可以用于您的个人需求。
7]设计一个移动应用程序
如今,移动设备应用程序(Apps)非常流行,因此,如果您是业余程序员,我们建议您为Android或 iOS 创建一个基本应用程序。在走这条路之前,您将需要学习适用于Android的(Android)Java和适用于 iOS 的Swift。
对于那些可能不知道的人,Swift是Apple创建的一种编程语言,用于开发适用于 iOS、iPadOS、macOS、watchOS、tvOS 和Linux的应用程序。
The five best projects for beginner Programmers
If you are a new programmer, then we suggest beginning yoυr long joυrney by taking on a small proјect in order to better hone your skills. In the world of programming, there is literally too much to learn, therefore, you should foсuѕ on just a few thіngs іn order to keeр your mind at ease.
Best projects for beginner programmers
The problem is, where do you start? This is not an easy answer for most new programmers, which is why we’ve decided to come up with an article that discusses this very topic. We are going to list five projects any amateur programmer should throw their time at before attempting to tackle more complex things.
Once you’re done, we believe you will have increased confidence, which in turn will transform you into a better programmer in no time.
- Create a calculator app
- Create a HTML5 website
- Build a tiny little chess or checkers game
- Build a good web scrapper
- Build a neat slideshow.
- Create a password generator using Python
- Design a mobile app
Let us discuss this in more detail.
1] Create a calculator app
One of the most popular beginners projects right now, and for decades in the past, is the creation of a calculator. You see, creating a calculator gives the programmer practice writing layouts, symbols, logic that processes information, logic that read numbers, and more.
It doesn’t take much to start, but at the same time, it is a challenging process because, on the first time around, your calculator will likely not work properly.
If you want to build a calculator, then you will need to know JavaScript, HTML, and CSS. Other languages can be used, but these three are the best combination.
2] Create a HTML5 website
Building a website is a great way to start because it teaches design principles. Not only that, but the programmer will need to learn about web hosting, file linking, and coding logic. Now, at first, when building a basic HTML5 website, things might seem easy at first, but that’s just the tip of the iceberg, as they say.
The more you code, the faster you realize how complex it is to create a full-fledged website because usually, several coding languages are required to get things going in the right direction.
3] Build a tiny little chess or checkers game
Do you like to play chess or checkers, or maybe both? Then how about looking into creating a game. To begin, the programmer must map out the board along with the pieces, and from there, give specific movements to each piece.
Making a chess game from scratch won’t be an easy task, but it should prepare the programmer for dealing with bigger projects in the future.
4] Build a good web scrapper
For those who are studying how to program with Python, then creating a web scrapper is a good place to begin. The programmer can start by using Python and the library, known as Beautiful Soup to scrape data from XML and HTML documents.
When you’re done, the information will be exported to a CSV file, which means, users can open it with Microsoft Excel.
Python is pretty advanced and can be used to do more than just scrapping HTML and XML data.
5] Build a neat slideshow
You know whats a good project to start with? Yes, that’s right, create a slideshow with images. We believe new programmers should learn how to do this because it teaches how to interact with the Document Object Model (DOM) in various web browsers.
If you want to be a full-time web developer, then this project is great to learn. Create a single slideshow and use it over and over again to cut down on the amount of work. Depending on the job description, the programmer could slightly adjust the slideshow to fit each design.
6] Create a password generator using Python
One of the best personal projects to tackle if you’re a young programmer is the creation of a password generator. It doesn’t have to be anything filled with features, just a simple password generator. In our minds, a password generator should be able to decide how long a password should be, can a allow a set number of characters, should support both lower and upper case letters, along with special symbols and numbers.
Now, even if you do not make this password generator public, at least it can be used for your personal needs when creating passwords for the web.
7] Design a mobile app
Apps for mobile devices are quite popular these days, therefore, if you’re an amateur programmer, we suggest creating a basic app for either Android or iOS. Before going down that route, you will be required to learn Java for Android and Swift for iOS.
For those who might be unaware, Swift is a programming language created by Apple for developing apps for iOS, iPadOS, macOS, watchOS, tvOS, and Linux.