From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: How to make Ada popular. Get rid of ";" at end of statement.
Date: Sat, 20 Jul 2019 09:54:41 -0400
Date: 2019-07-20T09:54:41-04:00 [thread overview]
Message-ID: <is66jelir9m94gmh3g3g80b7b9v7r8c2vs@4ax.com> (raw)
In-Reply-To: 38571ba9-e22f-452e-bba6-89abb6d4a01a@googlegroups.com
On Fri, 19 Jul 2019 17:47:17 -0700 (PDT), Matt Borchers
<mattborchers@gmail.com> declaimed the following:
>Python does have a separator. It's the newline. Ada treats newline as whitespace same as space or tab.
Not quite... a newline with unclosed paren/brace/bracket is just
logically another space/tab
x = f(a,
b,
c)
Gets really fun with strings, as Python concatenates adjacent string
literals...
>>> longstr = ( "part one"
... "part two "
... "part three" )
>>> longstr
'part onepart two part three'
>>>
>>> longstr = [ "part one"
... "part two "
... "part three" ]
>>> longstr
['part onepart two part three']
>>>
{Difference being that the () just grouped the three, while [] defines
a list -- of one element, being the concatenated strings}
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
next prev parent reply other threads:[~2019-07-20 13:54 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-19 21:41 How to make Ada popular. Get rid of ";" at end of statement Nasser M. Abbasi
2019-07-19 22:09 ` Dmitry A. Kazakov
2019-07-20 6:47 ` J-P. Rosen
2019-07-20 8:42 ` Paul Rubin
2019-07-21 5:11 ` J-P. Rosen
2019-07-23 9:24 ` darek
2019-07-20 17:08 ` Stéphane Rivière
2019-07-20 13:46 ` Dennis Lee Bieber
2019-07-20 0:47 ` Matt Borchers
2019-07-20 13:54 ` Dennis Lee Bieber [this message]
2019-07-20 14:40 ` Stephen Davies
2019-07-20 15:45 ` Optikos
2019-07-20 17:24 ` joviangm
2019-07-20 19:10 ` Optikos
2019-07-20 19:17 ` AdaMagica
2019-07-20 22:25 ` Paul Rubin
2019-07-20 23:08 ` Optikos
2019-07-20 22:24 ` Paul Rubin
2019-07-20 21:14 ` Keith Thompson
2019-07-23 21:58 ` Ingo M.
2019-07-23 23:56 ` Paul Rubin
2019-07-24 14:06 ` John Perry
2019-07-24 14:51 ` Ingo M.
2019-07-24 15:29 ` Dmitry A. Kazakov
2019-07-25 10:58 ` Ingo M.
2019-07-25 12:16 ` Dmitry A. Kazakov
2019-07-26 10:54 ` antispam
2019-07-26 11:35 ` Niklas Holsti
2019-07-26 16:07 ` Simon Wright
2019-07-24 19:52 ` Ingo M.
2019-07-24 20:31 ` J-P. Rosen
2019-07-25 13:34 ` gautier_niouzes
2019-07-25 7:26 ` Maciej Sobczak
2019-07-25 10:47 ` Ingo M.
2019-07-25 16:18 ` John Perry
2019-07-25 18:31 ` Dennis Lee Bieber
2019-07-26 18:04 ` Shark8
2019-07-26 18:53 ` Niklas Holsti
2019-07-26 19:16 ` Niklas Holsti
2019-07-27 1:27 ` Lucretia
2019-07-27 1:34 ` Keith Thompson
2019-07-27 3:11 ` Randy Brukardt
2019-07-27 4:06 ` 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