Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #478

Re: Time for a new language?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.misc, comp.programming
Subject Re: Time for a new language?
Date Fri, 17 Jun 2011 10:25:14 +1200
Lines 37
Message-ID <95ve6hFqkrU1@mid.individual.net> (permalink)
References <isir0b$246$2@speranza.aioe.org> <27f391e528bef754bbbe3b05f7241046@dizum.com> <isjhsq$vt8$1@speranza.aioe.org> <043628bb-8b8b-4094-8e7b-b1c61a69b525@c41g2000yqm.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net sFYspYVJfceswC9Cd1qgegUqHjLcqy2QsQcQVAISnPuzXq8IK3
Cancel-Lock sha1:qk1fd22E9zcE1C8/615nT6/7pxE=
User-Agent Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4
In-Reply-To <043628bb-8b8b-4094-8e7b-b1c61a69b525@c41g2000yqm.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.misc:324 comp.programming:478

Cross-posted to 2 groups.

Show key headers only | View raw


On 06/ 7/11 08:17 PM, tm wrote:
>
> I consider Seed7 higher level than Java and C++ because Seed7
> defines things in libraries that Java and C++ have hard-coded in
> their compilers. So I consider arrays defined with an abstract data
> type as higher level than hard-coded arrays.
>
> To see how hard-coded things work, look at the C conversions for
> numeric values. Chapter A6 of ANSI-K&R distinguishes between:
>    Intergral Promotion
>    Integral Converions
>    Integer and Floating
>    Floating Types
>    Arithmetic Conversions
>    Pointers and Integers
> The rules are not simple, and they changed between K&R-C and ANSI-C.

They may not be simple, but they are well understood and contribute to 
the metaphors that enable C programmers to understand each other's code.

> All this rules are hardcoded in every C compiler. Seed7 has no such
> rules. There are just definitions of operators and functions for
> numeric types. I consider that this simplification makes Seed7
> (besides other things) higher level than C.

Isn't that a recipe for write only code?  The reader not only has to 
follow the logic the code attempts to express, but also the rules used 
to express the logic.

> I consider things, that everybody can define, as higher level than
> hard-coded do what I mean concepts (that only authors of compilers
> and interpreters can change).

That's a bit like saying Leggo is the highest level toy...

-- 
Ian Collins

Back to comp.programming | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Time for a new language? tm <thomas.mertes@gmx.at> - 2011-06-07 01:17 -0700
  Re: Time for a new language? BGB <cr88192@hotmail.com> - 2011-06-07 03:07 -0700
    Re: Time for a new language? tm <thomas.mertes@gmx.at> - 2011-06-07 04:21 -0700
  Re: Time for a new language? "BartC" <bc@freeuk.com> - 2011-06-07 11:26 +0100
    Re: Time for a new language? pete <pfiland@mindspring.com> - 2011-06-07 07:45 -0400
      Re: Time for a new language? BGB <cr88192@hotmail.com> - 2011-06-07 13:02 -0700
    Re: Time for a new language? tm <thomas.mertes@gmx.at> - 2011-06-07 12:49 -0700
  Re: Time for a new language? gremnebulin <peterdjones@yahoo.com> - 2011-06-13 16:36 -0700
  Re: Time for a new language? Ian Collins <ian-news@hotmail.com> - 2011-06-17 10:25 +1200
    Re: Time for a new language? BGB <cr88192@hotmail.com> - 2011-06-16 23:11 -0700
      Re: Time for a new language? tm <thomas.mertes@gmx.at> - 2011-06-17 01:39 -0700
        Re: Time for a new language? "H.J. Sander Bruggink" <sander.bruggink@uni-due.de> - 2011-06-17 11:05 +0200
          Re: Time for a new language? tm <thomas.mertes@gmx.at> - 2011-06-17 02:54 -0700
        Re: Time for a new language? BGB <cr88192@hotmail.com> - 2011-06-17 10:55 -0700
    Re: Time for a new language? tm <thomas.mertes@gmx.at> - 2011-06-17 00:55 -0700

csiph-web