[Jprogramming] wdooo and abstraction

bill lam bbill.lam at gmail.com
Fri Oct 15 08:43:07 HKT 2010


Use 2-2 instead of some name ZERO is more self-documenting. ;-)
A more compelling reason is that sometime a constant cannot be used because
of aliasing in cd interface. 

Чтв, 14 Окт 2010, Martin Pelletier писал(а):
>   Well, I'm not one to argue (wait, no, that's a lie, I am!), but isn't 
> eventual porting a very good reason to abstract this and use a constant? 
> By which I mean local to this script, nothing system wide. In this way, 
> less code to maintain and update if the implementation of 0 changes.
> 
> Just a thought.
> 
> Martin Pelletier
> 
> On 2010-10-14 19:37, bill lam wrote:
> [---=| TOFU protection by t-prot: 4 lines snipped |=---]

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3


More information about the Programming mailing list