[ale] Introduction

Aditya Srinivasan sriad at uab.edu
Wed Dec 1 11:15:37 EST 2004


On Wed, 1 Dec 2004, Geoffrey wrote:

> Aditya Srinivasan wrote:
> > On Wed, 1 Dec 2004, Geoffrey wrote:
> > 
> > 
> >>Fletch wrote:
> >>
> >>>>>>>>"Jason" == Jason Vinson <vinson.lists at charter.net> writes:
> >>>
> >>>
> >>>
> >>>[...]
> >>>
> >>>    Jason> Maybe i'm misunderstanding the problem, but are you saying
> >>>    Jason> that this is annoying:
> >>>
> >>>    Jason> Character.getNumericValue('z')-Character.getNumericValue('a')
> >>>
> >>>    Jason> Lengthy yes... but doable (and not that hard!)
> >>>
> >>>*cough*Perl*cough*
> >>>
> >>>ord('z') - ord('a')
> >>
> >>No, no, character - character = integer... :)
> > 
> > 
> > And why is the ability to do that a Good Thing (tm)? :)
> 
> Lazy programming.

And possibly unclear intent ?? There's a tradeoff :)

OTOH, I'm all for lazy programming :)

But something tells me, that C provides this, so one can use it if one
REALLY needs to; perhaps not so much so as to be able to write concise 
code.

-- 
Thanks,
sriad




More information about the Ale mailing list