Which programming language is the most flexible | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which programming language is the most flexible

20th Jan 2018, 11:38 AM
Oluwaseyitan Fifehanmi Timothy
Oluwaseyitan Fifehanmi Timothy - avatar
5 Answers
+ 3
Another one is Java. One of the features of Java which attracted earlier developers to the language is characterised by the buzzword WORA (Write Once, Run Anywhere). This means that you can write and compile Java on any machine, and the compiled code will run on any platform, be it Windows, Unix, etc, irrespective of what platform it was compiled on. This is because Java source codes are compiled into platform independent bytecode in form of class files, which can then be run by the JVM (Java Virtual Machine). This is a feature which several other compiled languages, C++ for example, still do not have. Java, just like Python, is a general purpose programming language, and also has a huge developer community who do cool stuff with and for the language. It is well known that Android apps are written in Java (and more recently Kotlin, which is similar to Java in terms of syntax). The popular game engine LibGdx is written in Java. The OpenCV library also exists for Java. Java can also be used in web development in different ways. Java is a very well built language; its OOP feature to some programmers is second to none. Concurrent programming in Java (using threads, for example) is also second to none. A lot of features in Java require quite a lot of code; one thing which makes beginners run away from the language 😂. Nevertheless, the verbosity is worth the flexibility the language gives. Java is definitely worth learning.
21st Jan 2018, 1:53 AM
Victor Durojaiye
Victor Durojaiye - avatar
+ 3
@Martin Taylor I acknowledge that technically you are correct. However such discussions are not often made by beginners and thus I aim to answer questions assuming that the writer does not know such technicalities.
20th Jan 2018, 4:56 PM
josh mizzi
josh mizzi - avatar
+ 3
Well this is a tough question to answer, with tons of different programming languages available with different design philosophies.. However, I feel two languages stand out in terms of their flexibility.. Python and Java. Python was designed from the start to be a general purpose programming language. Its friendly and easy to learn syntax is what attracts beginners to it. Its powerful OOP features, tons of useful built-in libraries, and to some extent its semantics and aesthetics also keep professional programmers glued to it. Its powerful data structure features and ease of manipulating arrays and strings are also remarkable strengths it has. Python can be used in a vast range of fields, scientific or otherwise. A lot of things that can be done with some special purpose programming languages (R for example) can be done with Python too! Python also has a huge developer community who create libraries and frameworks for the language. Some popular ones include: -Matplotlib, Seaborn, Numpy, Pandas: Data analysis -Tensorflow: Machine learning -Django: Web development -OpenCV: Computer vision and tons of others too numerous to mention. Python definitely deserves a place in the list of most flexible languages..
21st Jan 2018, 1:52 AM
Victor Durojaiye
Victor Durojaiye - avatar
+ 2
Huh nice question, Python or Javascript or HTML maybe? Personally I would consider C++ one of the least flexible.
20th Jan 2018, 11:44 AM
josh mizzi
josh mizzi - avatar
+ 2
Any programming language that has IF and WHILE can solve any problem. It's called Turing completeness.
20th Jan 2018, 5:39 PM
1of3
1of3 - avatar