TranslateProject/sources/tech/20171227 Best Programming Languages To Learn In 2018.md
2018-01-03 18:11:15 +08:00

6.0 KiB

在 2018 年最值得去学习的编程语言

编程现在已经变成最受欢迎的职业之一,不像以前,制作软件只局限于少数几种 编程语言。现在,我们有很多种编程语言可以选择。随着跨平台支持需求的增多,大多数编程语言都可以被用于多种任务。如果,你还没有准备好,让我们看一下在 2018 年你可能会学习的编程语言有哪些。

在 2018 年最值得去学习的编程语言

Python

learn programming language

There is no denying about the fact that Python is ruling the market right now. Launched in 1991, python has become really famous after YouTube 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

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 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

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 , 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

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

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 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出