comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Bug rate and choice of programming language
Date: Wed, 11 Aug 2010 00:23:15 +0200
Date: 2010-08-11T00:23:15+02:00	[thread overview]
Message-ID: <op.vg8ts10gxmjfy8@garhos> (raw)
In-Reply-To: 3e1c5adb-a0b8-4ffd-9268-fcaa2e3ad13c@v15g2000yqe.googlegroups.com

Le Tue, 10 Aug 2010 22:53:25 +0200, Phil Thornley  
<phil.jpthornley@gmail.com> a écrit:
> Automatically generated code was found to have considerably reduced
> syntactic and data flow errors."
This one is good to know. I was wondering about it these last few days  
(was also wondering about a good choice to generate this, may be a script  
language). Sometime, automatically generated sources seems difficult to  
avoid, even when one do not really enjoy the idea of preprocessor (may be  
some resilient fears due to older bad experiences with C). This may  
happens when an application has multiple parts using different languages  
or representations, and in the mean times must have some of their parts  
synchronized in some way. Ex. an application with an Ada or Pascal part,  
and HTML pages, and some JavaScript parts ; all with references to some  
kind of protocols, identifiers, standard data which may need to be  
changed, etc. Different worlds, which may refer to common stuffs. This is  
probably better when these dependencies are handled via automatic source  
generation using a single data source.

I was wondering about reliability of automatically generated parts. Your  
comment is interesting in this area.

-- 
There is even better than a pragma Assert: a SPARK --# check.
--# check C and WhoKnowWhat and YouKnowWho;
--# assert Ada;
--  i.e. forget about previous premises which leads to conclusion
--  and start with new conclusion as premise.



  reply	other threads:[~2010-08-10 22:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 13:22 Bug rate and choice of programming language Maciej Sobczak
2010-08-10 14:41 ` Georg Bauhaus
2010-08-10 14:45 ` Yannick Duchêne (Hibou57)
2010-08-10 20:53 ` Phil Thornley
2010-08-10 22:23   ` Yannick Duchêne (Hibou57) [this message]
2010-08-11  0:04   ` Yannick Duchêne (Hibou57)
2010-08-11  0:19   ` Yannick Duchêne (Hibou57)
2010-08-11  0:40     ` Shark8
2010-08-16 17:52       ` Yannick Duchêne (Hibou57)
2010-08-11  5:36     ` Simon Wright
2010-08-16 17:48       ` Yannick Duchêne (Hibou57)
2010-08-11  7:50 ` Charles H. Sampson
replies disabled

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