Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Mandatory indenting

by Maclir (Curate)
on Jun 17, 2003 at 21:25 UTC ( #266647=note: print w/ replies, xml ) Need Help??


in reply to Mandatory indenting

How does this handle arbitrary line breaks? Say I do something like:

$foo = "bar"; $return_code = xyzzy($parm_value[$index_counter], "This is the page title", $someothervalue); if ($return_code)
I don't like forced indentation and layout rules, because they often destroy readabiity.


Comment on Re: Mandatory indenting
Download Code
Re: Re: Mandatory indenting
by Juerd (Abbot) on Jun 17, 2003 at 21:49 UTC

    How does this handle arbitrary line breaks?

    That fails.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

      Yeah, maybe you should tell him why it fails and the simple workaround? Oh, let me guess, you didn't even take the 12 seconds to RTFM.

      I'm not sure why you continue to languages you know nothing about. Perhaps you should stop complaining and start reading, it's a far superior approach.

        Dear lame, anonymous poster,

        I wish I could downvote your post more than once :)

        maybe you should tell him why it fails

        Maclir knows why it fails, and with a little bit of common sense, so can you.

        It fails because the source filter is adding curlies where curlies should not be.

        and the simple workaround?

        The workaround is: don't do that. This source filter does not support escaping newlines.

        let me guess, you didn't even take the 12 seconds to RTFM.

        That is correct. Because I do not care about Python's friendly manual, I didn't read it. The root node of this thread explains why.

        Now, let me guess. You didn't read my post. Pay special attention to the P.S. and the places where I explain how the source filter works and that it is a quick hack.

        I'm not sure why you continue to languages you know nothing about.

        This post was not about Python, it was about mandatory indenting. Yes, I did ask if Python would be flexible enough - that did not imply anything.

        I'm not sure why you reply in threads that you have not read.

        Perhaps you should stop complaining

        I was not complaining and I still am not. I said that I don't like Python because it expects me to follow its indenting logic. That is not a complaint, that is a simple statement. Please, before posting another stupid and irrelevant reply, READ THE THREAD.

        Perhaps you should stop complaining and start reading, it's a far superior approach.

        Yes, I really do think you should.

        HAND.

        Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://266647]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (17)
As of 2014-10-30 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls