Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How I Learned to Stop Worrying and Tolerate the Dot

by petdance (Parson)
on Jul 15, 2001 at 18:16 UTC ( [id://96850]=note: print w/replies, xml ) Need Help??


in reply to How I Learned to Stop Worrying and Tolerate the Dot
in thread Dots and cargo-cult programming

I wouldn't call this "cargo cult programming"

The point of the original poster wasn't that the dot was cargo cult programming, but that it encouraged people to cut 'n' paste VB code into Perl programs, because there was no translation of the -> to a .

xoxo,
Andy
--
<megaphone> Throw down the gun and tiara and come out of the float! </megaphone>

  • Comment on Re: How I Learned to Stop Worrying and Tolerate the Dot

Replies are listed 'Best First'.
Re: Re: How I Learned to Stop Worrying and Tolerate the Dot
by frag (Hermit) on Jul 16, 2001 at 01:18 UTC

    I guess I was trying to say that I don't think that permitting cut'n'paste is itself the motivating factor for the change. I got the impression from Damian's comments that it's about reducing one factor that might daunt (does daunt?) Veebians, Javanese, etc. when trying to use Perl, by giving in to the common convention.

    Also, now that I think about it, I don't think there's anything wrong with using example code, and I don't think that's the same as cargo cult. Everyone does it from time to time (raise your hand if you own the Cookbook) especially when starting out on a new topic. The question is, will you stop with that? Will you let the example persist unmodified into production, without bothering to figure out what it's doing?

    I think this is mostly a matter who you are - whether you've got the drive to understand, and take pride in your work. I think it was Socrates who said "The unexamined code is not worth executing", but there are plenty of people who wouldn't properly examine their code no matter what language they're using. Making conversion of VB code into Perl easier, by itself, IMHO, won't encourage cargo cult any more than the Cookbook does now.

    -- Frag.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2024-04-23 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found