[ILUG] developerWorks article...

kevin lyda kevin at suberic.net
Mon May 15 10:55:34 IST 2000


Peter Heslin wrote:
> all.  For example, the author gives the impression of being unaware of the very
> common Perl idiom for chunkwise reading: while (<IN>) { ... }.  He
> does not mention the issue of scalability, which is surely the most
> important difference between the two styles of file access.

true.  reading in a 1,000,000 line file by preloading it into an array
is unwise.

it was a good article in that it showed the langs side by side for the
same tasks, but you've pointed out another thing to look for: using the
chosen tool correctly.  no matter what lang you work in, you can use it
awfully.  if you work hard enough you can use pointers and leak memory
in java...

kevin
-- 
kevin at suberic.net       "we were goin' for breakfast.  in canada.  we
fork()'ed on 37058400    made a deal: if she'd stop hookin', i'd stop
meatspace place: work    shootin' people.  maybe we were aiming high."
                                                   --porter, "payback"




More information about the ILUG mailing list