Re: [LAU] OT: C or C++?

From: Nick Dokos <nicholas.dokos@email-addr-hidden>
Date: Thu Oct 14 2010 - 18:50:01 EEST

Joshua Boyd <jdboyd@email-addr-hidden> wrote:

> On Thu, Oct 14, 2010 at 12:10:46PM +1100, Erik de Castro Lopo wrote:
> > If you get serious about programming, its important to
> > know more than just C and C++. For many tasks, garbage
> > collected languages with stricter type systems than C
> > and C++ are a better fit. Langauges like Python, Ruby,
> > Ocaml and Haskell. Even Java!!!
>
> You say stricter type system, then Python and Ruby in the next
> sentence. Does not compute. ;)
>

All of these terms tend to be used fairly loosely in practice, so there
is certainly a lot of room for disagreement, but Python, in particular,
has a fairly strict type system. It is dynamic (execution-time)
checking, rather than static (compile-time) checking, but you *will* get
a big, fat exception if you get your types wrong. So it's not quite
such a non-sequitur as you imply. And it's certainly stricter type
checking than e.g. in C.

Nick

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Oct 15 00:15:02 2010

This archive was generated by hypermail 2.1.8 : Fri Oct 15 2010 - 00:15:02 EEST