Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Mandatory indenting

by ihb (Deacon)
on Jun 23, 2003 at 13:40 UTC ( #268146=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Mandatory indenting
in thread Mandatory indenting

I know one basic point, namely mandatory indenting, and that single basic point is enough for me to dislike it.

It seems to me like you're taking a idea from another paradigm and using it in your paradigm. See how the shoe fits its intended foot, not some other foot.

I've had similiar discussions with a C programming friend of mine. He so dislikes Perl because you have to type ord to get the ASCII value of a char. He finds it completely silly. The fact that you rarely want to use ord in the typical Perl task doesn't occure to him.

I think he does wrong in judging a feature of Perl like that. I think he should first try to grasp the whole concept of Perl--what it's for, why people like it, and how the pieces fit the Perl puzzle. If he then choose to dislike it I can respect his opinion.

Take any piece of art (not fractals). Zoom in a lot. Can you appreciate its beauty now? Probably not.

I can keep writing analogies all day, but I'll stop now.

Just my thought,
ihb

PS. I realize you don't say that Python is a bad language, but I'm saying that you should evaluate mandatory indenting in a Python mind-set, not as a standalone phenomena.


Comment on Re: Re: Re: Mandatory indenting
Select or Download Code
Re: Re: Re: Re: Mandatory indenting
by Juerd (Abbot) on Jun 24, 2003 at 09:12 UTC

    Take any piece of art (not fractals). Zoom in a lot. Can you appreciate its beauty now? Probably not.

    Mandatory indenting is not a detail, but a very obvious thing. You don't need to use ord in Perl, but you do need to indent in Python. If you don't like ord, you can create a wrapper around it. If you don't like mandatory indenting, ...?

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

      I believe you completely missed my point, which is perhaps most clearly expressed in "I'm saying that you should evaluate mandatory indenting in a Python mind-set, not as a standalone phenomena".

      ihb

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2015-07-04 05:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls