Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: The One True Style of indentation:

by erikharrison (Deacon)
on Apr 14, 2002 at 21:50 UTC ( #159017=note: print w/replies, xml ) Need Help??


in reply to The One True Style of indentation:

By definition, Python is the One True Indenting Style - right or wrong, it enforces it. And you must admit, that simply by decreeing what the appropriate indentation should be, Guido cleverly eliminated the braces and cuddled els(e|if) debate (DIE CUDDLED ELSES, DIE!DIE!DIE! - sorry. My left hand took over . . .)

Cheers,
Erik

Replies are listed 'Best First'.
Re: Re: The One True Style of indentation:
by Juerd (Abbot) on Apr 14, 2002 at 22:09 UTC

    DIE CUDDLED ELSES, DIE!DIE!DIE!

    } else {

    *hug* *cuddle* *embrace* *grin*

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://159017]
help
Chatterbox?
[moritz]: oh, the question was about creation, not indexing
[thepkd]: temporary variables
[moritz]: [ { a => [ { b => 1 } ] } ]
[choroba]: dereference ne creation
[choroba]: at least in my lingo
[moritz]: .oO( oh temps, oh moritz )
[GotToBTru]: you are correct, choroba, but of course there is no point in doing one without the other
[GotToBTru]: un less you're working on write-only memory
[1nickt]: my $x = $aohoaoh->[0]->{' foo'}->[0]->{'bar' }; should work
[thepkd]: not indexing

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2016-12-06 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (104 votes). Check out past polls.