Re: WHY

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

beliavsky_at_aol.com
Date: 12/26/04


Date: 26 Dec 2004 05:28:03 -0800

Harlan Grove wrote:
>That leaves the syntactic and semantic aspects of the languages. On an
>aesthetic level I don't like VB. I find it too verbose, and substring
>operations are klunky. C (dunno about C#) and Perl have better control
>structures. Perl has more built-in data structures. Nearly all other
>languages are available on other OSs. VB is Windows only. I realize
that
>doesn't matter to you, but you're so short-sighted about software your
>opinion doesn't really count.

Regarding syntax, I like the fact that VB and its distant relative
Fortran do not need semicolons to terminate statements or curly braces
for blocks. C lacks the exponentiation operator of those two.
Dynamically allocating a 3D array is simple in VB or Fortran

Basic:
dim x() as double
redim x(n1,n2,n3)

Fortran 90:
real, allocatable :: x(:,:,:)
allocate x(n1,n2,n3)

C:
mess involving pointers to pointers to pointers

C is a lower level language than VB or Fortran. It is good for writing
an operating system or compiler.



Relevant Pages

  • Re: Java to C++ conversion
    ... What Java doesn't have is pointer ... arithmetic and pointers that don't refer to the start of objects. ... For example, in dynamically typed languages with arrays, you ... 'simple' CPS compiler could generate very inefficient bytecode). ...
    (comp.lang.misc)
  • Re: What is the advantage of C?
    ... This is a history lesson from my personal experiences. ... I've programmed in a number of languages: ... 1) ease of programming and 2) pointers (which correspond to ... PL/1, a precursor to Pascal, was basically Pascal (with pointers, like C), ...
    (comp.lang.c)
  • Re: Java to C++ conversion
    ... languages, is the absence of pointers. ... compiler and interpreter core are fairly close to being stabilized). ... maybe have a few seperate compiler front-ends; ...
    (comp.lang.misc)
  • Re: Programming language for children
    ... all references to Java objects: pointers. ... saying "all references to Java objects: ... Given experience with these languages, ...
    (Ubuntu)
  • Re: Different Implementations of VLIW .
    ... |>>pointers to things to look up. ... That's why I said "KNOWN unreliability". ... |>>and more 'structured' languages, where the ILP might be extractable. ... I don't recall most programmers even thinking ...
    (comp.arch)