I agree with Tony.  

You can write dense code, but the goal should always be to write clear, 
documented, code so the next programmer doesn't have to "figure out" what you 
are trying to do.

The more dense the code, the higher the cost to maintain the code.  

The beauty of PICK code is that you can write "self-documenting" code, or code 
that is dense and obtuse.

I urge everyone to write clear code, including meaningful variables and 
comments!

Tom
RATEX Business Solutions

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: Monday, January 16, 2012 3:17 PM
To: 'U2 Users List'
Subject: Re: [U2] Brilliant? or not?

Hmmmm


This has whole topic has been mentioned on here before, and my stance is the 
same, if you can not read that code and work it out in 4 seconds, then maybe 
you should not be a programmer.  Code is code, read it , understand it, get
over it   ....

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno
Sent: 16 January 2012 18:50
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Brilliant? or not?

> From: Charles_Shaffer
> Aside from it not being readable, compacting C code like that can 
> reduce portability.  Different compilers may evaluate complex, 
> compacted code differently.

Same thing has actually happened with BASIC code that's ported from one 
platform to another.

Rule of thumb: Don't get cute. Spell out the code so that any dumb compiler or 
programmer can read it.

On-topic: that makes my response to this thread, "not". 

One of our colleagues from the mid 80's wrote code that was so clean I liked to 
say we could eat off of it.  I think he still reads this forum: So to Mark 
Vander Veen, here we are over 20 years later and I Still appreciate your code.  
Now THAT is Brilliant.

T

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1416 / Virus Database: 2109/4146 - Release Date: 01/16/12

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to