develooper Front page | perl.beginners | Postings from January 2002

RE: hiding file data

Thread Previous
From:
Jenda Krynicky
Date:
January 9, 2002 07:53
Subject:
RE: hiding file data
Message ID:
3C3C757B.1353.3D31F12@localhost
"Gary Hawkins" <ghawk@eskimo.com> wrote:
> > Stuart> I have a few perl files that I need to send out to a
> > Stuart> client. However, we do not want them seeing what are in the
> > Stuart> files for obvious reason.
> >
> > What obvious reason?
> 
> That would be so the client doesn't walk away from the guys who do the work
> once they have the goods.

It's their goods if they pait for it. There should be better reasons for 
them to come back to you with updates and other projects than the 
fact that you've made the code unreadable.

> At work, I would compile specific-task perl scripts for several reasons:
> 1) So my coworkers would not edit them and mess something up.

Agreed - to some extent.

> 2) To make them wonder how I did it.

And what would THAT be good for? So that you can feel superior? 
Wouldn't you want them to learn from you so that you don't have to 
fix their shitty code and so that you can ask them to help you with 
a project?

> 3) Because, if they could see the code they would tend to try to find some
> reason to criticize it (human nature).

You can't grow without feedback.

> 4) For their ease of use, no perl.exe or perl56.dll required.

Agreed here completely. Sometimes this makes a big difference. 
Sometimes it's better though to install Perl on a server(s), share it 
and use it to interpret your scripts.

> 5) So that if they dump me and want an upgrade they have to start all over.

Sorry? If I am employed as a programmer and write some code in 
my working hours as a part of a project or whatever then the code 
belongs to my employer, not me. Or not?
Anyway if I as a boss had a subordinate that says something like 
this I'd get rid of him immediately. So that there is not that much 
code we have to rewrite when he leaves.
(Though on the other hand some people make write-only code even 
if they do not want to. And it's not always possible to find better 
ones.)

Jenda

=========== Jenda@Krynicky.cz == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
					--- me

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About