Translated by qhwdw

This commit is contained in:
qhwdw 2018-01-05 10:40:56 +08:00
parent 0789a998d2
commit 152542de8e
2 changed files with 130 additions and 131 deletions

View File

@ -1,131 +0,0 @@
在 2018 年最值得去学习的编程语言
======
![](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/best-programming-languages-learn-for-2018_orig.jpg)
编程现在已经变成最受欢迎的职业之一,不像以前,制作软件只局限于少数几种 **编程语言**。现在,我们有很多种编程语言可以选择。随着跨平台支持需求的增多,大多数编程语言都可以被用于多种任务。如果,你还没有准备好,让我们看一下在 2018 年你可能会学习的编程语言有哪些。
## 在 2018 年最值得去学习的编程语言
### Python
[![learn programming language](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/learn-programming-language_orig.png)][1]
There is no denying about the fact that [Python][2] is ruling the market right now. Launched in 1991, python has become really famous after [YouTube][3] started using it. Python can be used in a variety of domains like Web-Development, Game Development, scripting, scientific research and almost anything you imagine. It is cross-platform and runs on an interpreter. Python has a very simple syntax and since it uses indents instead of curly braces for grouping blocks of code, the code is extremely clean.
**Example -**
```
printf("Hello world!")
```
### Kotlin
[![kotlin programming language](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/kotlin-programming-language_orig.jpg)][4]
While Java has been unbeaten since the beginning, Kotlin is here to break its run. At least in Android programming. Kotlin is a newer language which has officially been supported by Google for Android apps. It is a drop in replacement for Java and seamlessly works with [java][5] code. The code is said to be drastically reduced and cleaned. The way it looks, Kotlin will totally be worth learning in 2018.
**Example -**
```
class Greeter(val name: String) {
fun greet() {
println("Hello, $name")
}
}
String Interpolation to cut down ceremony.
fun main(args: Array) {
Greeter(args[0]).greet()
}
```
### C/C++
This is probably the first language that they teach in schools and colleges. C is one of the oldest languages which is still operational due to its speed of execution and simplicity in code. Though it has a steep learning curve, once you are through with C, you can do any language. You may not be able to use it for fancy websites or software, but C is the language of choice for embedded devices. With the IoT boom, C will be extensively in demand again. For C++, it is extensively used in some great software.
**Example -**
```
#include
Int main()
{
printf("Hello world");
return 0;
}
```
### PHP
[![php programming language](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/1200px-php-logo-svg_orig.png)][6]
The Internet is going crazy about how PHP will die, but I do not see a single reason why you should not learn PHP. It is one of the finest server scripting languages with a very simple syntax structure. More than half the internet runs on PHP. [Wordpress][7] , the most popular Content Management System is made PHP. Since this popular language has been there for over 20 years, it has an enormous collection of libraries. You will find one to get your job done.
**Example -**
```
echo "Hello world!";
```
### Javascript
![javascript programming language for web](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/javascript_orig.png)
What do I say about this? This is the most in-demand language right now. Javascript was primarily used on the web for making the pages more dynamic. But today JavaScript has evolved to become something which is a lot more. Entire front end frameworks are being built on JavaScript. Hybrid apps written in HTML+JS are being built to run on any mobile platform. Javascript is even being used for server-side scripting with nodejs.
**Example -**
```
document.write("Hello world!");
```
### SQL
[![sql database language](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/published/sql-database-language.png?1514386856)][8]
SQL is an RDBMS query language which is used to fetch data from databases. There are many implementations of SQL but more or less they are all similar. Databases are being used everywhere. This article you are reading is also stored on our website's database. So you know how important it is.
**Example -**
```
SELECT * FROM TABLENAME
```
## Conclusion
So these were some languages that will be really worth learning in 2018\. I have not included **languages** like asp.net because they require you to learn their entire platform. Java has also not made to the list because a good number of developers are beginning to migrate to Kotlin. All of the mentioned languages are high in demand and extremely popular. They also have great community support. I hope you liked the article. If you feel I missed any of the in-demand languages, feel free to drop a comment below.
--------------------------------------------------------------------------------
via: http://www.linuxandubuntu.com/home/best-programming-languages-to-learn-in-2018
作者:[LinuxAndUbuntu][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.linuxandubuntu.com
[1]:http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/learn-programming-language_orig.png
[2]:http://www.linuxandubuntu.com/home/best-python-ides-for-linux
[3]:http://www.linuxandubuntu.com/home/youtube-dl-a-command-line-gui-youtube-facebook-dailymotion-videos-downloading-tool-for-linux
[4]:http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/kotlin-programming-language_orig.jpg
[5]:http://www.linuxandubuntu.com/home/how-to-install-oracle-java-78-on-ubuntu
[6]:http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/1200px-php-logo-svg_orig.png
[7]:http://www.linuxandubuntu.com/home/wordpress-how-to-host-and-manage-on-web-server-in-linuxubuntu-step-by-step-guide
[8]:http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/sql-database-language_orig.png

View File

@ -0,0 +1,130 @@
在 2018 年最值得去学习的编程语言
======
![](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/best-programming-languages-learn-for-2018_orig.jpg)
编程现在已经变成最受欢迎的职业之一,不像以前,编制软件只局限于少数几种**编程语言**。现在,我们有很多种编程语言可以选择。随着跨平台支持需求的增多,大多数编程语言都可以被用于多种任务。如果,你还没有准备好,让我们看一下在 2018 年你可能会学习的编程语言有哪些。
## 在 2018 年最值得去学习的编程语言
### Python
[![learn programming language](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/learn-programming-language_orig.png)][1]
毫无疑问, [Python][2] 现在已经统治着ruling编程的市场份额。它发起于 1991 年,自从 [YouTube][3] 开始使用它之后python 已经真正的成为最著名的编程语言。Python 可以被用于各类领域比如Web 开发、游戏开发、脚本、科学研究、以及大多数你能想到的领域。它是跨平台的并且运行在一个解释程序中。Python 的语法非常简单,因为它使用缩进代替花括号来对代码块进行分组,因此,代码非常清晰。
**示例 -**
```
printf("Hello world!")
```
### Kotlin
[![kotlin programming language](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/kotlin-programming-language_orig.jpg)][4]
虽然 Java 自它诞生以来从没有被超越过,但是,至少在 Android 编程方面Kotlin 在正打破这种局面。Kotlin 是较新的一个编程语言,它被 Google 官方支持用于Android 应用编程。它是 Java 的替代者,并且可以与 [java][5] 代码无缝衔接。代码大幅减少并且更加清晰。因此,在 2018 年Kotlin 将是最值的去学习的编程语言。
**示例 -**
```
class Greeter(val name: String) {
fun greet() {
println("Hello, $name")
}
}
String Interpolation to cut down ceremony.
fun main(args: Array) {
Greeter(args[0]).greet()
}
```
### C/C++
这可能是他们在中学和大学里教的第一个编程语言。C 是比较老的编程语言之一由于它的代码运行速度快而且简单它到现在仍然一直被使用。虽然它的学习难度比较大但是一旦你掌握了它你就可以做任何语言能做的事情。你可能不会用它去做高级的网站或者软件但是C 是嵌入式设备的首选编程语言。随着物联网的普及C 将被再次广泛的使用,对于 C++,它被广泛用于一些大型软件。
**示例 -**
```
#include
Int main()
{
printf("Hello world");
return 0;
}
```
### PHP
[![php programming language](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/1200px-php-logo-svg_orig.png)][6]
关于 PHP 即将消亡的话题,因特网上正在疯传,但是,我没有看到一个为什么不去学习 PHP 的理由,它是服务器端脚本语言中比较优秀的一个,它的语法结构非常简单。一半以上的因特网都运行在 PHP 上。[Wordpress][7],这个最流行的内容管理系统是用 PHP 写的。因为,这个语言流行的时间已经超过 20 年了,它已经有了足够多的库。在这些库中,你总能找到一个是适合你的工作的。
**示例 -**
```
echo "Hello world!";
```
### Javascript
![javascript programming language for web](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/javascript_orig.png)
关于 Javascript我说些什么呢这是目前最为需要的语言。Javascript 主要用于网站动态生成页面。但是,现在 JavaScript 已经演进到可以做更多的事情。全部的后端框架都是用 JavaScript 构建的。Hybrid 应用是用 HTML+JS 写的,它被用于构建任何移动端的平台。使用 Javascript 的 nodejs 甚至被用于服务器端的脚本。
**示例 -**
```
document.write("Hello world!");
```
### SQL
[![sql database language](http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/published/sql-database-language.png?1514386856)][8]
SQL 是一个关系型数据库管理系统RDBMS的查询语言它用于从数据库中获取数据。SQL 的主要实现或多或少都是非常相似的。数据库用途非常广泛。你读的这篇文章它就保存在我们网站的数据库中。因此,学会它是非常有用的。
**示例 -**
```
SELECT * FROM TABLENAME
```
## 结论
因为这些语言都是在 2018 年比较值得去学习的。我并没有包括像 asp.net 这样的 **语言**因为它要求你学习它们的整个平台。Java 也没有推荐,因为有大量的开发者已经开始迁到 Kotlin。所有提到的语言的市场需求都非常大并且它们都很流行。它们也都有非常好的社区支持。我希望你喜欢这篇文章。如果你认为我遗漏了任何一个非常受人欢迎的语言请在下面的评论区告诉我。
--------------------------------------------------------------------------------
via: http://www.linuxandubuntu.com/home/best-programming-languages-to-learn-in-2018
作者:[LinuxAndUbuntu][a]
译者:[qhwdw](https://github.com/qhwdw)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.linuxandubuntu.com
[1]:http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/learn-programming-language_orig.png
[2]:http://www.linuxandubuntu.com/home/best-python-ides-for-linux
[3]:http://www.linuxandubuntu.com/home/youtube-dl-a-command-line-gui-youtube-facebook-dailymotion-videos-downloading-tool-for-linux
[4]:http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/kotlin-programming-language_orig.jpg
[5]:http://www.linuxandubuntu.com/home/how-to-install-oracle-java-78-on-ubuntu
[6]:http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/1200px-php-logo-svg_orig.png
[7]:http://www.linuxandubuntu.com/home/wordpress-how-to-host-and-manage-on-web-server-in-linuxubuntu-step-by-step-guide
[8]:http://www.linuxandubuntu.com/uploads/2/1/1/5/21152474/sql-database-language_orig.png