What Python looks like

Paddy paddy3118 at googlemail.com
Wed Aug 6 07:27:44 CEST 2008


On Aug 4, 8:06 pm, iu2 <isra... at elbit.co.il> wrote:
> Hi,
>
> This is a little bit strange post, but I'm curious...
>
> I learned Python from its tutorial step by step, and practicing
> writing small scripts.
> I haven't seen a Python program before knowing Python.
>
> I'm curious, what did Python code look like to those of you who have
> seen a bunch of Python code for the first time before knowing Python?
>
> (I can tell, for example, that seeing perl for the first time looked
> like C with many $$$, I could see "if" and "for" and "while" but they
> were meaningless. Or Lisp for the first time looked like many words,
> no operators, how could that make a program???)
>
> Thanks

Strange you should mention this. I am currently new to Rosetta Code
http://www.rosettacode.org/ where some pages I have been looking at
such as the page for Zig Zag, and a page I created called Spiral
have had very terse solutions, and long explanations in the talk
pages all written in the J language. I can read the lines between
the code samples enough to intrigue , (OK frustrate), me - but the
code is impenetrable.
I am not sure if J attracts good programmers or if learning J
forces you to think about solutions in different or useful ways.
I've learnt A LISP-like language, dabbled with forth & prolog &
constraints - maybe its time to learn J and find out if this
array programming malarky will bring new insight to my problem
solving - but it will never be readable :-)

- Paddy.



More information about the Python-list mailing list