- 1

why every language use identical feature ?

19th Feb 2021, 9:15 AM
Muluken Mnyahl
Muluken Mnyahl - avatar
2 Respuestas
+ 1
If you're referring to things like for-loops, while-loops, operators like "++"... the designers of those languages generally wanted to make their new language easier to learn. They want things to be familiar to programmers who learned other languages. It is very practical to keep things the same or most familiar unless there are compelling reasons to change it. Change just to be different is wasteful. If you don't have a compelling reason to change something, you don't have a compelling reason to create a new programming language. The most successful programming languages always have unique strengths so they're not identical in the most important ways. c, c++, PHP, and JavaScript each have unique strengths. - c compiles for the most devices and operating systems. - c++ has many more language features than c such as classes, operator overloading. - PHP is specialized for making websites and expresses how HTTP requests should be processed without needing to define a complete web server. This makes it one of the few serverside programming languages useful for a shared web hosting environment. - JavaScript is the only high level language that runs directly in a web browser. Even if you compile from another language to Web Assembly, you still need JavaScript to make it useful.
19th Feb 2021, 12:53 PM
Josh Greig
Josh Greig - avatar
+ 1
The development of various languages has been influenced by C language originating in the 1970's. languages that borrow syntax from C generally gain traction more quickly than ones that don't.
19th Feb 2021, 1:03 PM
Chris Coder
Chris Coder - avatar