From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,ea30c4e9c3d00b X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,ea30c4e9c3d00b X-Google-Attributes: gid103376,public X-Google-Thread: f79bb,1ba669bff6ce01ff,start X-Google-Attributes: gidf79bb,public From: fjh@cs.mu.oz.au (Fergus Henderson) Subject: Re: Ultimate Language feature list Date: 1998/05/15 Message-ID: <6jgita$ovt$1@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 353421474 References: <6jc18b$lug$1@news.eclipse.net> Organization: Computer Science, The University of Melbourne Newsgroups: comp.lang.ada,comp.lang.eiffel,comp.lang.sather Date: 1998-05-15T00:00:00+00:00 List-Id: Have you considered Sather? It satisfies most of these requirements. "MSG" writes: >#1 Verbosity. C++ and Java's cryptic syntax is cute and fun, but not >useful. Our Language (OL -- come up with a good name) should be verbose >like Ada and Eiffel. Semicolons optional like Eiffel (except where >ambiguous). >#2 Completely OO. No free floating subroutines. The only construct higher >than a CLASS is an Organizational Unit (like an Eiffel cluster). >#3 Object-Dot-Feature syntax. No Ada95esque subprograms which take class >arguments (like C++ friend functions). I am torn between Object-Dot-Feature >and Object SPACE feature syntax (like Smalltalk). >#4 Reference Objects as a default with the ability to expand an object or >class to full form (like Eiffel EXPANDED types) >#5 Garbage Collection. >#6 Construction and Finalization >#7 Predictable Finalization for stack-based objects (either reference or >expanded). When the immediately enclosing scope terminates, the >finalization is called THEN. This is VERY important for reliable external >resource management (OK, C++ did this right). >#8 Polymorphism as the rule. Let the compiler figure out which routines are >not overridden and use static calls where appropriate (a la Eiffel). >#9 Named arguments. Either like Ada or like Smalltalk (object moveTo: here >usingPath: aPath). >#10 Array and record aggregates (like Ada). >#11 Multiple inheritance like Eiffel, NOT C++. >#12 STRONG typing and constraint/program checking in the compile and runtime >like Ada. Options to remove such features in a "finalized" version is very >much necessary. >#13 Ada-style tasks. Using Object-as-task, like the proposed Eiffel >extension "separate". Ada's SELECT mechanism. Protected types (like >Ada95), Java almost got this right. >#14 EASY access to other languages/calling conventions. Any CLASS's >features my be effected by external other-language routines. The includes an >easy way to link to C++ libraries. Such special classes can specify that >for "THIS" an other-language-notion be used. Such classes would lack >"variables", being limited to routines only. >#15 Generics. Not templates. >#16 Intrinsic types (like Integer) as objects, but completely replaced in >generated code by native types (like Eiffel). >#17 Ada's float types (delta, digits). >#18 Range specifications (like Ada). Checked at compile time and run time. >#19 Discriminated record/class types (like Ada). Checked at compile time >and run time. (maybe not necessary with inheritance) >#20 An easy with to extend and re-expose/hide features of parents. Like >Eiffel. >#21 Distributed computing. >#22 Pre- and post-conditions (from Eiffel). Including support for the "old" >keyword. The closest thing to Z (pronounced Zed - a formal method) that >I've seen. -- Fergus Henderson | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.