Re: Is there no end to Python?



John Salerno wrote:
But isn't Python sort of known for the opposite, i.e. 'one simple way', or something to that effect?

If we compare it with the "opposite" language--Perl, and think
of these languages as natural languages, rather than programming
languages, Perl's inventor Larry Wall, felt that having a lot of
synonymns and allowing a lot of flexibility in word order etc,
would make it easier to express one's ideas well.

Python's inventor Guido van Rossum took a different approach. With
fewer synonyms and a less redundant grammer, it will be easier to
master the language, and certainly easier to read texts written by
others.

I don't know, but I suspect that the difference in approach is
rooted in Guido's understanding that we typically spend much more
time reading source code than we spend writing source code.

As it turns out, having fewer synonyms and grammatic variants, does
not make it harder to come up with different solutions to problems.
It rather seems that the lack of complexity that a simpler grammer
leads to makes it much easier to try out different solutions.
.



Relevant Pages

  • Re: English as a creole.
    ... I speak several languages and I have looked up dozens of wordlists to ... Perhaps for English. ... Probably because "kill" is ... and people constantly make up all kinds of synonyms to ...
    (sci.lang)
  • Re: English as a creole.
    ... I speak several languages and I have looked up dozens of wordlists to ... and people constantly make up all kinds of synonyms to ... different reds, and it's well-known that "red" doesn't cover the same ... that would all stimulate our red cones, and in fact, almost all light ...
    (sci.lang)
  • Re: Open Source Enhancement
    ... I have the capacity to lead ... The entire source code base for OpenBSD is freely available to you and all ... understand programs written in languages that are not familiar to me. ... While OpenBSD is written mostly in the C programming language you are free ...
    (comp.unix.bsd.openbsd.misc)
  • Re: introspection in SML
    ... From there you get to source code or you can invoke ... the debugger is typically mostly useless in a ... the time --- I don't expect the Lisp environments to have such ... Compared to untyped languages, ...
    (comp.lang.functional)
  • Re: Javascript taking over?
    ... smokin'-est fast languages out there. ... And what happens to that bytecode? ... So Java's approach of taking the source code, parsing it, and turning it into ... target-dependent step that is performed once per target. ...
    (comp.lang.misc)