From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: haj@posteo.de (Harald =?utf-8?Q?J=C3=B6rg?=) Newsgroups: gmane.emacs.devel Subject: Re: [OFFTOPIC] Re: Handling extensions of programming languages (Perl) Date: Tue, 23 Mar 2021 00:43:47 +0100 Message-ID: <87ft0mrbyk.fsf@hajtower> References: <87o8ff560t.fsf@hajtower> <87im5lhi6i.fsf@rfc20.org> <87r1k94cnx.fsf@hajtower> <20a4ef1c-beaf-1d63-b984-12be9a856c86@gmail.com> <87h7l43fa1.fsf@hajtower> <87blbc33tm.fsf@hajtower> <878s6fs2kq.fsf_-_@hajtower> <87y2efqek7.fsf@hajtower> <87r1k7q92b.fsf@hajtower> <87lfaergil.fsf@hajtower> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7997"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 23 00:44:55 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOUEB-0001xs-QZ for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Mar 2021 00:44:55 +0100 Original-Received: from localhost ([::1]:38686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOUEA-0004ud-Si for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 19:44:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOUDD-00049u-2D for emacs-devel@gnu.org; Mon, 22 Mar 2021 19:43:55 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:42010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOUD9-0003MA-26 for emacs-devel@gnu.org; Mon, 22 Mar 2021 19:43:54 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E30D416005C for ; Tue, 23 Mar 2021 00:43:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1616456628; bh=ToVZXKJAgFlFBiajfLWw5lfhuXDySiD4DZEBIa4I9KA=; h=From:To:Cc:Subject:Date:From; b=rhR8OYPILlvTvusF01HUqGkBMlyB10dpITbz1Wn+CzLlKfC/94mmL3zQPB8JokZcW LwjiKhRjfBKzNmNNDVtlaCYGoQWffMd7lWDDI3UZ/o+McFhqJyMrdqwgTLUESfV3uC Q0eL5302KKmhAdrVZBQxDGkkoz+O+z07rmz3rskxbjdHvpv6LpFrWynDNuVEH813Z/ l+Ad/+NoN1mqYMbxWIlUJnl6EdSrHyWhZJDvIqTXR4pFlQR2Uv7zAc2OXUPyTCl6Qe 98bqpBIwFTRC2R2bsc4xwE1knpkXjC4wZM6jvFyJD2h58W6qXeSlxtesIrWq90RRK3 v1YRGc33A0/jw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F4B0N292Nz9rxV; Tue, 23 Mar 2021 00:43:48 +0100 (CET) In-Reply-To: (Stefan Monnier's message of "Mon, 22 Mar 2021 18:24:45 -0400") Received-SPF: pass client-ip=185.67.36.65; envelope-from=haj@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_DOTEDU=0.984 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266849 Archived-At: Stefan Monnier writes: >>> Of those the only ones that are statically typed seem to be C, Java, >>> Fortran and PL/1; and AFAICT only 50% (C and Java) use a syntax where >>> the type is placed at a location comparable to where `my` is placed in >>> Perl, IMO. >> >> Fortran, too, unless you do the IMPLICIT trick. > > OK, I must admit that my knowledge of Fortran syntax is poor, so I had > done a quick search and found > https://pages.mtu.edu/~shene/COURSES/cs201/NOTES/chap02/declare.html > which seems to suggest that the syntax is "TYPE :: VARS", which seemed > different enough from "TYPE VAR". > > OK, I'll grant you half points for Fortran, so you're up to 62.5% ;-) I'm happy with that! Also, I might sort of deserve half points. As I wrote, Fortran was my first computer language. I should have specified: I started with Fortran 4 and left with FORTRAN 77. Both had declarations like "INTEGER N". (https://web.stanford.edu/class/me200c/tutorial_77/). "TYPE :: VARS" came only with Fortran 90. And now I feel old. https://www.rickmurphy.net/advent/ADVENT.FT is an example of FORTRAN code from that era (the legendary Colossal Cave Adventure). Emacs, of course, supports both dialects! -- A HOLLOW VOICE SAYS "PLUGH". haj