Re: Overflowing a Long



I'm not talking about the language in general (which I think is fairly
elegant overall), I'm talking about the file handling in particular. For
example, in what way is

Open "C:\test.dat" For Random Access Read Write Lock Read Write As #1
Len=512

in ANY way elegant? While that's certainly the worst of them, the Print #,
Get # and similar statements aren't exactly tidy in some of their
permutations either. Object-orientation would have gone a long way to
solving this inelegance, but I guess we're any number of years too late for
that at this point. :)


Rob

"Karl E. Peterson" <karl@xxxxxxxx> wrote in message
news:uuZHalBYHHA.4560@xxxxxxxxxxxxxxxxxxxxxxx
Robert Morley <rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Sorry Bob, but I gotta go with him on that one too. I really do like
VB6,
but file handling is not its strength, either in terms of raw power (I
don't
see SQL Server being written in VB) or in terms of programming elegance
either.

It's both simple *and* elegant. If it weren't, MSBasic wouldn't be the
language that outpaced COBOL for most lines of code written. Ever.
--
.NET: It's About Trust!
http://vfred.mvps.org



.



Relevant Pages

  • Re: A[x][y][z]
    ... > "Let's make our language more like Pascal." ... > and array elements. ... > based on a tiny set of elegant principles. ... > I think the problem is that novices can't ...
    (comp.lang.c)
  • Re: A[x][y][z]
    ... This would be a simple one-liner in the elegant Snobol language.Sadly, ... "Let's make our language more like Pascal." ... and array elements. ... whether 'a' is an array of pointers to arrays ...
    (comp.lang.c)
  • Re: C# has VBs "with" command?
    ... I didn't say that it was elegant. ... programmers take care of all the picky details. ... I'm not knocking the language: ... is overly complex in that it does too much stuff behind your back. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: C++ Compiling Problems
    ... However, if you're basically new to programming, your life will probably be ... the original book by the language's creators: ... Brian Kernighan and Dennis Ritchie. ... C is an elegant and ...
    (Fedora)
  • Re: Computer Program help
    ... > two's complement number for you. ... that's because C is not a very clean language. ... > elegant piece of code. ...
    (comp.programming)

Loading