comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: Mariner 1 / FORTRAN bug
Date: Fri, 09 Aug 2019 15:03:16 -0700
Date: 2019-08-09T15:03:16-07:00	[thread overview]
Message-ID: <871rxuq9nf.fsf@nightsong.com> (raw)
In-Reply-To: 9f203010-2432-4ff6-a44c-3ecde392ff12@googlegroups.com

Lucretia <laguest9000@googlemail.com> writes:
> You could always have a enforce named parameters compiler option,

Putting a space after the comma is generally good style and some linters
enforce or at least suggest it.  So P(1, 2) is valid but P(1. 2) should
be a syntax error.

It's interesting to hear that using named parameters at the call site is
considered good Ada style.  In Haskell and C++ one sometimes uses
separate types for the args to make sure they get passed in the right order.

  reply	other threads:[~2019-08-09 22:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-12-04 20:18 C++ vs. Ada -- Is Ada loosing? happy.colorado.edu!srheintze
2019-08-08 15:23 ` robin.vowels
2019-08-12 15:47   ` Shark8
2019-08-08 15:40 ` Marina 1 / FORTRAN bug robin.vowels
2019-08-08 17:26   ` Mariner " Jeffrey R. Carter
2019-08-09  1:57     ` robin.vowels
2019-08-09  6:28       ` J-P. Rosen
2019-08-09  6:47         ` Niklas Holsti
2019-08-09 11:40           ` J-P. Rosen
2019-08-09 15:57           ` Jeffrey R. Carter
2019-08-09  8:38         ` Maciej Sobczak
2019-08-09 14:27           ` Nasser M. Abbasi
2019-08-09 21:05             ` Maciej Sobczak
2019-08-09 21:24               ` Lucretia
2019-08-09 22:03                 ` Paul Rubin [this message]
2019-08-08 17:51   ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox