nemesis <nam### [at] gmail com> wrote:
> http://www.itworld.com/government/105031/will-wall-street-require-python
Python must have the most idiotic block delimiter in the history of
programming languages: Whitespace indentation.
Why is it idiotic? Because whitespace is the one thing which gets most
easily and regularly lost in communication.
For example, someone might ask some question about Python in a forum or
blog post, and then someone might answer it with some Python code... and
the blog/forum software removes whitespaces from the beginning of lines,
completely changing the meaning of the program and making it inoperable.
There are also many other situations where whitespaces at the beginning
of lines might not be preserved (or might be changed somehow).
Also autoindentation of Python code is a physical impossibility.
The person who thought that it's a good idea to have indentation as
block delimiters should be shot.
--
- Warp
Post a reply to this message
|