[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python for beginners or not? [was Re: syntax difference]

  To: Steven D'Aprano
From: "Stefan Ram" <stefan.ram at 1:261/38.remove-ij1-this>

  To: Steven D'Aprano
From: ram at zedat.fu-berlin.de (Stefan Ram)

Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
>It has been a long, long time since Python has been a "simple" language
>suitable for rank beginners, if it ever was. Python is not Scratch.

  Python is simpler insofar as you can write on a higher level
  than with C. Python has a GC and an intuitive syntax for
  lists, tuples and dictionaries.


#include <stdio.h>
int main( void ){ printf( "%d\n", 60000 * 60000 ); }



  Above, a beginner has to take care to use ??%d?? and remember
  to change this to ??%g?? when necessary. He also needs to
  understand why the result is negative, and that the result
  is /implementation-dependent/. Surely,

|>>> print( 60000 * 60000 )

  is easier to read, write, and understand.

  Still, one must not forget that learning Python encompasses
  all the hard work it takes to learn how to program in every

-+- BBBS/Li6 v4.10 Toy-3
 + Origin: Prism bbs (1:261/38)

--- BBBS/Li6 v4.10 Toy-3
 * Origin: Prism bbs (1:261/38)