comp.lang.ada
 help / color / mirror / Atom feed
* Ada syntax and style question
@ 1998-01-02  0:00 Wes Groleau
  1998-01-02  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: Wes Groleau @ 1998-01-02  0:00 UTC (permalink / raw)



Ada (95) Quality and Style suggests using at least one space
outside of the quotes for string (") character (') literals, except
where prohibited.

What does that last clause mean?  I've been mulling it over for
a week, and I cannot think of any construct in Ada that prohibits
a space in front of a " or a '

Do they mean "except where prohibited by this guide" ?  A subsequent
paragraph suggests to _never_ put a space before or after an 
apostrophe (') in _any_ context.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ada syntax and style question
  1998-01-02  0:00 Ada syntax and style question Wes Groleau
@ 1998-01-02  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1998-01-02  0:00 UTC (permalink / raw)



Wes says

<<Ada (95) Quality and Style suggests using at least one space
outside of the quotes for string (") character (') literals, except
where prohibited.
>>

DO they really want

  a := 'b' ;

and

  a := ( 'b' );

I find both ugly, but of course these kind of surface syntax things are
mostly a matter of what one is used to.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-01-02  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-02  0:00 Ada syntax and style question Wes Groleau
1998-01-02  0:00 ` Robert Dewar

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