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 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> References: <27f391e528bef754bbbe3b05f7241046@dizum.com> <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 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