comp.lang.ada
 help / color / mirror / Atom feed
From: nma124@hotmail.com (steve_H)
Subject: Who said strong typing is a benefit?
Date: 12 Oct 2002 18:18:39 -0700
Date: 2002-10-13T01:18:39+00:00	[thread overview]
Message-ID: <8db3d6c8.0210121718.25cf55e4@posting.google.com> (raw)

since many Ada programmers mention as one of Ada benefits is its 
strong typing, I thought some here might find the following 
'interesting' to read.

I guess this is an argument of '4GL' vs '3GL'. The following seems
to imply that not having to declare variables and having the ability to
mix any variable with any in an expression is a 'benefit'. I am not sure
I agree with this, on the other hand, one can not deny that one can
write code faster in matlab than in a strongly typed language such as Ada
specially for scientific applications where arrays and matrices are
heavily used.

I wish there was a 'matlab like' environment based on an Ada like language.

from 

http://www.mathworks.com/company/digest/sept02/accel_matlab.pdf

 
"MATLAB Type Handling
An important benefit of MATLAB is that users do not have
to declare variables to be of certain data types, as is required
with 3GLs. In MATLAB, any variable can be assigned a
value of any type, and that type can be changed implicitly
at will because of an assignment to a new value of a different
type.As a result, the MATLAB interpreter is prepared to
deal with the most complicated data types (such as an ndimensional
array of complex doubles) and is capable of
performing operations no matter what the actual data
types turn out to be at run-time"



             reply	other threads:[~2002-10-13  1:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-13  1:18 steve_H [this message]
2002-10-13  2:53 ` Who said strong typing is a benefit? Jim Rogers
2002-10-13 18:27   ` Jeffrey Carter
2002-10-13  3:24 ` Richard Riehle
2002-10-13  7:10 ` tmoran
2002-10-13 13:00   ` Jim Rogers
2002-10-13 13:30     ` Florian Weimer
2002-10-13 17:28       ` Michael Bode
2002-10-13 22:07         ` Florian Weimer
2002-10-13 19:53       ` steve_H
2002-10-13 19:31     ` steve_H
2002-10-13 15:33   ` steve_H
2002-10-13 17:14 ` Larry Kilgallen
2002-10-14  1:21 ` Dmitry A.Kazakov
2002-10-13 19:42   ` steve_H
replies disabled

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