mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-01 21:50:13 +08:00
66 lines
4.3 KiB
Markdown
66 lines
4.3 KiB
Markdown
|
[#]: collector: (lujun9972)
|
||
|
[#]: translator: ( )
|
||
|
[#]: reviewer: ( )
|
||
|
[#]: publisher: ( )
|
||
|
[#]: url: ( )
|
||
|
[#]: subject: (3 popular programming languages you can learn with Raspberry Pi)
|
||
|
[#]: via: (https://opensource.com/article/19/3/programming-languages-raspberry-pi)
|
||
|
[#]: author: (Anderson Silva https://opensource.com/users/ansilva)
|
||
|
|
||
|
3 popular programming languages you can learn with Raspberry Pi
|
||
|
======
|
||
|
Become more valuable on the job market by learning to program with the Raspberry Pi.
|
||
|
![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/programming_language_c.png?itok=mPwqDAD9)
|
||
|
|
||
|
In the last article in this series, I shared some ways to [teach kids to program with Raspberry Pi][1]. In theory, there is absolutely nothing stopping an adult from using resources designed for kids, but you might be better served by learning the programming languages that are in demand in the job market.
|
||
|
|
||
|
Here are three programming languages you can learn with the Raspberry Pi.
|
||
|
|
||
|
### Python
|
||
|
|
||
|
[Python][2] has become one of the [most popular programming languages][3] in the open source world. Its interpreter has been packaged and made available in every popular Linux distribution. If you install Raspbian on your Raspberry Pi, you will see an app called [Thonny][4], which is a Python integrated development environment (IDE) for beginners. In a nutshell, an IDE is an application that provides all you need to get your code executed, often including things like debuggers, documentation, auto-completion, and emulators. Here is a [great little tutorial][5] to get you started using Thonny and Python on the Raspberry Pi.
|
||
|
|
||
|
![](https://opensource.com/sites/default/files/uploads/thonny.png)
|
||
|
|
||
|
### Java
|
||
|
|
||
|
Although arguably not as attractive as it once was, [Java][6] remains heavily used in universities around the world and deeply embedded in the enterprise. So, even though some will disagree that I'm recommending it as a beginner's language, I am compelled to do so; for one thing, it still very popular, and for another, there are a lot of books, classes, and other information available for you to learn Java. Get started on the Raspberry Pi by using the [BlueJ][7] Java IDE.
|
||
|
|
||
|
![](https://opensource.com/sites/default/files/uploads/bluejayide.png)
|
||
|
|
||
|
### JavaScript
|
||
|
|
||
|
"Back in my day…" [JavaScript][8] was a client-side language that basically allowed people to streamline and automate user events in a browser and modify HTML elements. Today, JavaScript has escaped the browser and is available for other types of clients like mobile apps and even server-side programming. [Node.js][9] is a popular runtime environment that allows developers to code beyond the client-browser paradigm. To learn more about running Node.js on the Raspberry Pi, check out [W3Schools tutorial][10].
|
||
|
|
||
|
### Other languages
|
||
|
|
||
|
If there's another language you want to learn, don't despair. There's a high likelihood that you can use your Raspberry Pi to compile or interpret any language of choice, including C, C++, PHP, and Ruby.
|
||
|
|
||
|
Microsoft's [Visual Studio Code][11] also [runs on the Raspberry Pi][12]. It's an open source code editor from Microsoft that supports several markup and programming languages.
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
via: https://opensource.com/article/19/3/programming-languages-raspberry-pi
|
||
|
|
||
|
作者:[Anderson Silva][a]
|
||
|
选题:[lujun9972][b]
|
||
|
译者:[译者ID](https://github.com/译者ID)
|
||
|
校对:[校对者ID](https://github.com/校对者ID)
|
||
|
|
||
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||
|
|
||
|
[a]: https://opensource.com/users/ansilva
|
||
|
[b]: https://github.com/lujun9972
|
||
|
[1]: https://opensource.com/article/19/2/teach-kids-program-raspberry-pi
|
||
|
[2]: https://opensource.com/resources/python
|
||
|
[3]: https://www.economist.com/graphic-detail/2018/07/26/python-is-becoming-the-worlds-most-popular-coding-language
|
||
|
[4]: https://thonny.org/
|
||
|
[5]: https://raspberrypihq.com/getting-started-with-python-programming-and-the-raspberry-pi/
|
||
|
[6]: https://opensource.com/resources/java
|
||
|
[7]: https://www.bluej.org/raspberrypi/
|
||
|
[8]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
|
||
|
[9]: https://nodejs.org/en/
|
||
|
[10]: https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp
|
||
|
[11]: https://code.visualstudio.com/
|
||
|
[12]: https://pimylifeup.com/raspberry-pi-visual-studio-code/
|