In 1950, the first programming language appeared - assembly language. Computers then were still unintelligent children compared to modern PCs. According to the laws of Darwinism, machines grew, gained intelligence and productivity. Programming languages have evolved along with them. From low-level, they have become high-level, object-oriented. Now we have scripting or scripting languages.
What are scripting languages
High-level programming languages for writing sequences of operations, or scripts, are called scripting, scripting, or interpreted languages. These include:
Programming languages like C, C or Pascal are used to create algorithms, procedures, new data. Scripting tools are designed to connect existing tools. This minimizes the amount of code.
To writethe simplest program Hello, World! assembler requires 14 lines of code. C++ will force you to write 8. Almost half as much, but still long. You will have to include the header file, libraries, specify the function, and then also compile. The same thing in Python fits into one phrase - print Hello, World!. Same result for less effort, no compilers involved.
With the rise of scripting languages, there is often speculation in the coding community about the imminent demise of C++. More and more dissatisfied grumble at the difficult syntax and the complexity of compilation. Defenders of procedural programming argue that Python code is nowhere near as fast as C. And Perl is a language for children, unsuitable for "real" programming. But this is a myth.
Computer performance is growing exponentially. About 10 years ago, for speed, you really needed code in a programming language. Computers are now powerful enough to process Java or Ruby scripts and applications in the same amount of time.
Who needs scripting languages and for what purpose
The popularity of this language is inexorably gaining momentum. Python is a high-level server-side scripting language for websites and mobile applications. It has a compact syntax and is easy to read and work with. Skeptics argue that Python is only suitable for working with the web, and it was created in order to spice up static HTML. But it's not.
Python isn't just about plug-ins and modules. It is used in gamesdevelopment. Frets On Fire, MMORPG EVE and Online Sims 4 (1 million copies sold) were created in Python. It is used by Instagram, Pinterest, Rdio, Google, Yahoo and even NASA. Python has a low entry threshold, it is quickly absorbed and remembered. You can learn it absolutely free on the interactive platforms of Codecademy, Udacity and Coursera services.
A server-side scripting language for dynamic websites and application development. Can be directly embedded in the original HTML document rather than in an external file. More than 200 million websites are built and run on PHP, including Digg, Facebook and WordPress, Joomla, Drupal platforms.
- Ruby is a scripting language created in 1995 by Yukihiro Matsumoto. Until 2004, no one heard about it, until the Ruby on Rails framework appeared. Now Ruby is confidently catching up with Python.
- Interest in Scala is on the rise. This is the functional language used by the Foursquare and Twitter servers. You can write both web and Android applications on it.
- R is a tool for collecting statistical data, working with graphics and a powerful scripting language. It is a collection of classic scripting functions, borrowed from Lisp and mathematics, with a set of subroutines for analysis.
Scripting languages are trending right now, and most analystsare of the opinion that they are the future. Python, Ruby, PHP allow you to write compact and concise code with the least number of errors. Simple and clear syntax allows anyone who wants to master them and start developing.