[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> 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



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00049" href="msg00049.html">[ale] Introduction</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00042" href="msg00042.html">[ale] Introduction</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00043.html">[ale] Introduction</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00045.html">[ale] Flat Rate</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00042.html">[ale] Introduction</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00049.html">[ale] Introduction</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00044"><strong>Date</strong></a></li>
<li><a href="threads.html#00044"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>