comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: newbie, Spark 2014 or Ada 2012
Date: Mon, 06 Jul 2015 18:30:36 -0700
Date: 2015-07-06T18:30:36-07:00	[thread overview]
Message-ID: <871tgkah4z.fsf@jester.gateway.sonic.net> (raw)
In-Reply-To: mnevpv$e9i$1@dont-email.me

Björn Lundin <b.f.lundin@gmail.com> writes:
> But - I often fall into the IndentationException trap...
> or find that I did not declare a variable...
> I know how to resolve the errors,
> but it does not come as natural as Ada compile errors do.
> I find it more fragile. Or I am to bad at testing.

Yeah, it's a different style, you have to write just a small bit of
code, then test it, then write the next bit, etc.  But you can bang out
working code very fast that way, especially with an interactive
interpreter shell.  Python is more fragile in that refactoring breaks
stuff and the way around that is with comprehensive test automation that
takes considerable determination to maintain.  It's IMHO best for small
to medium sized tasks that aren't complex enough to need Ada's
organizational machinery, like up to a few thousand LOC.  And 200 LOC of
Python can often do as much stuff as 1 KLOC of Ada (Python is a lot
slower though, since it's interpreted).  For really big programs, you
need as much maintenance infrastructure that you might as well use a
typed language.  I've been using Haskell some, and have been wanting to
try the ML family.

This article is really good:

https://cdsmith.wordpress.com/2011/01/09/an-old-article-i-wrote/

it's mostly about the typed-vs-untyped debate, but gives a useful
picture of debugging and untyped languages.  

>>> http://sourceforge.net/p/avr-ada/wiki/Home/
>> How has that been going for you? 
> I guess it depends on your standard.  For me, it was my first try into
> embedded, so I got blinky going, ...

Nice, I will give it a try sometime.

  reply	other threads:[~2015-07-07  1:30 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06  0:28 newbie, Spark 2014 or Ada 2012 nomadlite
2015-07-06  1:30 ` Paul Rubin
2015-07-06  7:04   ` nomadfate
2015-07-06  7:20     ` Paul Rubin
2015-07-06  7:50     ` Jacob Sparre Andersen
2015-07-06 18:44       ` Jeffrey R. Carter
2015-07-06  9:34     ` Björn Lundin
2015-07-06 16:19       ` Paul Rubin
2015-07-06 22:37         ` Björn Lundin
2015-07-07  1:30           ` Paul Rubin [this message]
2015-07-07  9:35             ` darkestkhan
2015-07-07 17:26               ` David Botton
2015-07-07  3:46           ` Nasser M. Abbasi
2015-07-07  8:24             ` Björn Lundin
2015-07-07  8:57               ` Georg Bauhaus
2015-07-07 18:48                 ` Randy Brukardt
2015-07-07 22:56                   ` Paul Rubin
2015-07-08 19:50                     ` Randy Brukardt
2015-07-08 22:57                       ` Paul Rubin
2015-07-09 17:59                         ` Björn Lundin
2015-07-09 20:10                           ` Paul Rubin
2015-07-09 20:22                             ` Jeffrey R. Carter
2015-07-09 20:41                               ` Paul Rubin
2015-07-09 21:59                                 ` Jeffrey R. Carter
2015-07-09 22:37                                   ` Paul Rubin
2015-07-09 22:55                                     ` Jeffrey R. Carter
2015-07-09 23:25                                       ` Paul Rubin
2015-07-10 22:12                             ` Randy Brukardt
2015-07-06 19:20     ` David Botton
2015-07-06  2:16 ` David Botton
2015-07-06  6:56   ` nomadfate
2015-07-06 19:18     ` David Botton
2015-07-10 22:49 ` nomadfate
replies disabled

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