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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: a new language, designed for safety ! Date: Mon, 16 Jun 2014 00:35:57 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <1402308235.2520.153.camel@pascal.home.net> <85ioo9yukk.fsf@stephe-leake.org> <255b51cd-b23f-4413-805a-9fea3c70d8b2@googlegroups.com> <5b446648-8193-46c4-b99c-015d86983758@googlegroups.com> <79bae654-d08b-4da6-8dbc-0da5a101ea86@googlegroups.com> Injection-Date: Mon, 16 Jun 2014 00:35:57 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="9244"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18No2LS8XgF+LyKkxrIhV3MAphaUoOU6T4=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:z0uEtbU5cdVqUxPVveGdiWM2dq8= Xref: number.nntp.dca.giganews.com comp.lang.ada:186949 Date: 2014-06-16T00:35:57+00:00 List-Id: On 2014-06-15, gvdschoot@gmail.com wrote: > On Sunday, June 15, 2014 8:33:44 AM UTC+2, Tero Koskinen wrote: >> >> This is valid Rust code [1]: >> >> pub fn inner<'a>(&'a mut self) -> &'a mut R >> { >> &mut self.h.r >> } >> That's bloody depressing. :-( I wonder if today's language designers even know what a Wirth style language looks like. >> [1] https://twitter.com/damienmiller/status/476207923702423552 > Now I'm even more depressed. "function" is too long ??? > On reddit there was a discussion about the GNU coreutils in platform > independent Rust code[1] and here the code itself on github[2]. This is how it > looks like in Go[3]. I mean, just look at the code. I am sorry to say this, but > in the case of Rust I see C++ mistakes being repeated. To me language syntax is > very important. Readability, simplicity and reasonability should be paramount. > > [1] http://www.reddit.com/r/programming/comments/27yccu/crossplatform_rust_rewrite_of_the_gnu_coreutils/ > [2] https://github.com/uutils/coreutils > [3] https://github.com/aisola/go-coreutils Thanks for the links (and very interesting links they were.) I don't like the Go brace style however. (My own brace style in C is the Whitesmiths brace style.) I guess I now know what I'm re-implementing as a test if Oberon-14 were to ever become something real. :-) Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world