# Python/Theories

**URL:** <https://discuss.python.org/t/python-theories/6535>\
**Category:** Python Help\
**Tags:** help\
**Created:** [January 8, 2021, 11:21am UTC](https://discuss.python.org/t/python-theories/6535 "2021-01-08T11:21:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FirasChebil](https://avatars.discourse-cdn.com/v4/letter/f/bc79bd/32.png) [@FirasChebil](https://discuss.python.org/u/FirasChebil)\
**Post date:** [January 8, 2021, 11:21am UTC](https://discuss.python.org/t/python-theories/6535/1 "2021-01-08T11:21:47Z")

</div>

I need input on this topic because it’s kinda confusing or i’m too dumb, our governement decided recently to shift from pascal to python as a programming language for high school students, but then i realised that we have theoretical language+python.  
And the theoretical language is waaaay different than python, for example in python u can just do “\*\*” for exponents but in theoretical language you actually have to write a function that does that, in conclusion is it fine if the theoretical language and python are too different or do you find it confusing

---

<div class="post-metadata">

**Author:** ![cameron](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/cameron/32/2658_2.png) [@cameron](https://discuss.python.org/u/cameron)\
**Post date:** [January 8, 2021, 10:15pm UTC](https://discuss.python.org/t/python-theories/6535/2 "2021-01-08T22:15:44Z")

</div>

I think we need more context. What is “the theoretical language”? Where  
is it defined?

Bear in mind that in teaching there may often be examples of _how_ to  
implement some things that come presupplied in one language or another.  
Just because Python has an \*\* exponentiation operator does not mean it  
isn’t useful to _implement_ exponentiation as a teaching exercise.

I’m just guessing here. Some more context would be helpful.

Cheers,  
Cameron Simpson [cs@cskk.id.au](mailto:cs@cskk.id.au)

---

<div class="post-metadata">

**Author:** ![steven.daprano](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/steven.daprano/32/1083_2.png) [@steven.daprano](https://discuss.python.org/u/steven.daprano)\
**Post date:** [January 9, 2021, 12:35pm UTC](https://discuss.python.org/t/python-theories/6535/3 "2021-01-09T12:35:31Z")

</div>

Hi Firas, welcome!

I am guessing that English is not your native language?

In English, a “theoretical language” would be one that doesn’t yet  
exist. It exists only “in theory”, not in practice.

From your experience of Pascal, you might be thinking of languages (like  
Pascal) which were designed to be _simple_, for teaching. Sometimes  
called a “teaching language” or an “academic language”.

I don’t think that is a useful description, because teaching/academic  
languages sometimes get used for practical work for a long time. Pascal  
is a great example. Even though Pascal is not very popular today, there  
was a time that it was nearly as popular as BASIC, which was provided on  
nearly every PC.

In the Apple world, Pascal was used to write the Mac operating system  
and most programs until 1991, when Apple wrote System 7 in C++ instead  
of Pascal.

There are thousands of known computer languages. A couple of hundred of  
them are still in regular use today, although about 75% of code written  
today comes from perhaps a dozen languages:

- C
- C++
- C#
- Go
- Java
- Javascript
- PHP
- Python
- R
- SQL
- Swift
- Visual Basic

There are many different programming languages, and they are often very  
different to use. They differ in what basic features they provide, the  
style of coding they use, and much more.

> **[Comparison of programming languages](https://en.wikipedia.org/wiki/Comparison_of_programming_languages)**
>
> Programming languages are used for controlling the behavior of a machine (often a computer). Like natural languages, programming languages follow the rules for syntax and semantics.
> There are thousands of programming languages and new ones are created every year. Few languages ever become sufficiently popular that they are used by more than a few people, but professional programmers may use dozens of languages in a career.
> Most programming languages are not standardized by an international (or ...

[https://rosettacode.org/wiki/Language\_Comparison\_Table](https://rosettacode.org/wiki/Language_Comparison_Table)

Here is a nice list of “Hello World” programs in various languages.

[https://www.scriptol.com/programming/hello-world.php](https://www.scriptol.com/programming/hello-world.php)

Does this help?
