Re: Help a new to Linux developer



On 12 Jan., 19:49, Måns Rullgård <m...@xxxxxxxxx> wrote:

Even if the runtime library is well-written, it can easily be used in
stupid ways. Python programs often have some of the worst code I've
seen, surpassed only by some PHP scripts. This of course not directly
the fault of Python or PHP. By virtue of making it easy to do
something that works (in the sense that the end result is usually
correct), these languages attract many less than skilled would-be
programmers, and the result if inevitably a collection of badly
written programs. Were these programs written in C, they'd probably
not get past the first function call before crashing. Unfortunately,
a situation like this tends to reflect badly on the language, giving
it an undeserved negative reputation.

Yes unfortunately the script languages encourage developers just to
do enough so that the work will be done quickly. The result is
unfortunately
a program that is not very stable on wrong input etc. Just the fact
that
python almost never crash is not a good error handling strategy. Even
the standard libraries of Python are full of extremely simplified code
(for
example the BaseHTTPServer class) - but Python is still ahead
of other languages like Ruby.


.



Relevant Pages

  • Re: python philosophical question - strong vs duck typing
    ... I actually stole the classification of continuums from a Python wiki ... Dynamically typed languages like Python keep, ... the coercion of floats to ints via the + operator, ... the compiler writers think so. ...
    (comp.lang.python)
  • Re: Basic inheritance question
    ... Old Java habits die slowly. ... No, seriously it isn't Java habits only, most other languages wouldn't ... That's not very far from what a Python method object does - ... reference to the current instance is to pass it as an argument to the ...
    (comp.lang.python)
  • Re: variable declaration
    ... he might have been a Nutshell customer. ... to somebody who is not _happy_ to use Python. ... I did have good knowledge of a variety of languages, ... > paragraph early in the Nutshell book saying "there are no declarations, ...
    (comp.lang.python)
  • Re: Accessors in Python (getters and setters)
    ... Python does with is_active. ... vs Java's vs X's implementation of accessors and how using them sucks, ... And this is why many overzealous OO languages do "force" you to use ... def sayHello: ...
    (comp.lang.python)
  • Re: [OPINION] - does language really matter if they all do the same thing?
    ... > Are programming languages like spoken languages, ... > Can Python do something that PHP can't? ... > Can PHP do something that Ruby or Python can't? ...
    (comp.lang.python)