+ 3

Which of the following languages is best to learn?

I have a little knowledge in C++. Which one is the easiest to learn? Which ones are most common? -PHP -Java -Node.js -Python

21st Jul 2017, 9:26 PM
Witr Anotr
7 Respuestas
+ 8
Hi Rudi! 😊 It's difficult to categorize the languages you mentioned without knowing what you'd like to build, they were all designed for different purposes. ■ Which one is best to learn? It depends on what you think makes a language valuable and what kind of project you want to build. Are you interested in developing games, mobile apps, web apps, software? Are you trying to get a job as a junior developer as soon as possible? Are you trying to bring your start-up idea to life and prototype it fast? Is the language seeing a rise in popularity? A high salary is your goal? ■ Which ones are most common? Again, it depends on the type of usage you're giving them. For instance, Java is the most popular when it comes to developing Android apps, PHP is the most common server-side language in web development at the moment, Python is common in industries like Machine Learning and Big Data. ■ Which one is the easiest to learn? - Generally speaking, dynamically typed languages are easier to learn because they abstract away a lot of what’s going on under the surface (e.g. garbage collection and memory allocation) so you end up being able to build projects faster and with less code. Popular dynamic languages: Ruby, Python, PHP and JavaScript, which you can use as a server-side language through Node.js. - Statically typed languages like Java, C and C++ are the most popular languages in CS programs, although Python has been gaining ground in recent years. There may be a steeper learning curve, because of its strict rules around type definitions and it can take more code to perform simple tasks, but they are known to be more scalable.
21st Jul 2017, 10:17 PM
Pao
Pao - avatar
+ 5
@Rudi oh ok! In that case if you want to build a Bot, I would highly recommend Python and SQLite for the database to store info presistently across sessions. Here's why: 👉 It's easy to implement and also for deployment. 👉 It's the most popular language for natural language processing and machine learning (read more about it here: http://scikit-learn.org/stable/ ) 👉 It can make HTTP requests very concisely and simply through the requests module. Getting the content from a URL (which is how you'd control your Telegram Bot) would need much less lines with Python than Java. 👉 It has good support for serving web content, so if you'd like to scale up your Bot to allow it to receive many messages per second, Python has mature technologies, such as WSGI to reach "web scale" 👉 It's portable, you can easily run the same code on Linux, Mac or Windows.
24th Jul 2017, 4:55 AM
Pao
Pao - avatar
+ 2
If you ever develop a website that holds user accounts, then learn PHP. PHP does all of the server-side processing on the web, rather than client-side processing. Also, people who visit your website can't view the PHP code in the source. It doesn't get sent to the client computer since the client computer doesn't process PHP. (Only the server does.) If you have any top secret algorithms of yours that you want to implement in your website, then do it using PHP. Java is a very high-level programming language, which means that it's not as easy to learn. However, it is one of the most popular languages. Java is used everywhere, from your smart phone to ATMs to cars. Python is a programming language that was designed to be simple. Based on that fact, I'd say it's easy to learn. I use it a lot for math. I don't have much to say about Node.js, although it sounds like it'd be similar to JavaScript. It's not as popular are the languages above, I bet.
21st Jul 2017, 11:20 PM
Erik Johanson
Erik Johanson - avatar
+ 2
according to me first Java because it is very popular language and if you learn it properly than job is in your hand secondly python this is also a very popular language
22nd Jul 2017, 12:38 AM
Irwin Lopez
Irwin Lopez - avatar
+ 1
c++ because it is the most versatile in games and software. almost any large major program will be in c++. I recommend it because it gets down to the nitty gritty details of programming whereas ones like java script and python do so much of the work for You, you never learn how programming actually works.
22nd Jul 2017, 2:50 AM
Rod Natal
Rod Natal - avatar
+ 1
I wanted to do a Telegram Bot with one ofe these languages ( https://core.telegram.org/bots/samples ).
22nd Jul 2017, 9:13 AM
Witr Anotr
0
Python is easier and simple to learn compared to other languages
22nd Jul 2017, 5:32 PM
Shashis Shilarnav
Shashis Shilarnav - avatar