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

Re^4: A wholly inadequate reply to an Anonymous Monk (Perl++)

by Jenda (Abbot)
on Apr 23, 2010 at 13:39 UTC ( [id://836523]=note: print w/replies, xml ) Need Help??


in reply to Re^3: A wholly inadequate reply to an Anonymous Monk (Perl++)
in thread A wholly inadequate reply to an Anonymous Monk

The only restriction that could stop any language from being considered write only, is the restriction of the people that use it. With enough idiots, you get enough horrible code. And the number of hoops they have to jump through to shoot themselves into their feet doesn't matter.

Besides quite a few people would consider anything that contains regular expressions write-only. And I ain't gonna loose regexps due to some clueless script kiddies.

Jenda
Enoch was right!
Enjoy the last years of Rome.

Replies are listed 'Best First'.
Re^5: A wholly inadequate reply to an Anonymous Monk (Perl++)
by LanX (Saint) on Apr 23, 2010 at 14:52 UTC
    In general it's surely right that no restriction can avoid people writing horrible code...

    But I was talking about marketing!

    With a pragma called "superstrict" ( or "anal"¹ or "antigolf" ) which combines the better parts of perl critic one could enforce a coding style which looks orderly and nice at first glance!

    (E.g requiring (more or less) one statement per line or avoiding the usual context traps with reasonable defaults)

    And thats how many representatives judge languages, at one glance!

    I mean bosses, school teachers or ignorant beginners.

    Just the illusion that a good coding style can be enforced is enough to improve the sells!

    "Oh you mean python looks less messy? So why don't you simply try "use anal" if you need punishment?" =)

    Cheers Rolf

    ¹) NSFW?

      The best marketing then is not to show the code. The same way people tend to think the systems in banks are well written and safe and the only reason for that belief is that they hadn't seen the code.

      Jenda
      Enoch was right!
      Enjoy the last years of Rome.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found