Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python not a standardized language?

I stumbled upon this 'list of programming' languages and found that popular languages like Python are not standardized? Why is that, and what does 'Standardized' mean anyway?

like image 601
eozzy Avatar asked Oct 08 '09 04:10

eozzy


People also ask

Which programming languages are standardized?

Notable standardized programming languages include ALGOL, C, C++, JavaScript (under the name ECMAScript), Smalltalk, Prolog, Common Lisp, Scheme (IEEE standard), ISLISP, Ada, Fortran, COBOL, SQL and XQuery.

Why is Python not in other languages?

Python is an interpreted and dynamically typed language, whereas Java is a compiled and statically typed language. Python code doesn't need to be compiled before being run. Java code, on the other hand, needs to be compiled from code readable by humans to code readable by the machine.

Why is Python No 1 programming language?

The python language is one of the most accessible programming languages available because it has simplified syntax and not complicated, which gives more emphasis on natural language. Due to its ease of learning and usage, python codes can be easily written and executed much faster than other programming languages.

Is Python just a glue language?

Python is often described as a “glue language,” meaning it can let disparate code (typically libraries with C language interfaces) interoperate. Its use in data science and machine learning is in this vein, but that's just one incarnation of the general idea.


1 Answers

"Standardized" means that the language has a formal, approved standard, generally written by ISO or ANSI or ECMA. Many modern open-source languages, like Python, Perl, are not formally standardized by an external body, and instead have a de-facto standard: whatever the original working implementation does.

The benefits of standardizing a language are a) you know the language won't randomly change on you, b) if you want to write your own compiler/interpreter for the language, you have a very clear document that tells you what behavior everything should do, rather than having to test that behavior yourself in the original implementation. Because of this, standardized languages change slowly, and often have multiple major implementations.

A language doesn't really have to be standardized to be useful. Most nonstandard languages won't just make random backwards-incompatable changes for no reason (and if they do, they take ten years to decide how to *cough*Perl6*cough*), and nonstandard languages can add cool new experimental features much faster (and more portably) than standardized languages.

A few standardized languages:

  • C (ISO/IEC)
  • C++ (ISO/IEC)
  • Common Lisp (ISO/IEC)
  • Scheme (IEEE)
  • JavaScript (ECMA-262)
  • C# (ECMA-334)
  • Ruby (ISO/IEC)

Non-standardized languages:

  • Perl
  • Python
  • PHP
  • Objective-C

A full list is on Wikipedia.

like image 79
Chris Lutz Avatar answered Sep 20 '22 03:09

Chris Lutz