:: Re: [DNG] GTK (was Will there be a …
Etusivu
Poista viesti
Vastaa
Lähettäjä: Hendrik Boom
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] GTK (was Will there be a MirDevuan "WTF"?)
On Fri, Jul 24, 2015 at 12:03:08PM +0200, Didier Kryn wrote:
>
>     Hey T.J., you seem to contradict yourself when saying "C and C++
> are strongly typed" and "Type checking is never C's job." :-)

>
>     Actually, yes, C and C++ are typed, but weakly. They silently do
> type conversion in pretty much every instruction. One assumes the
> programmers knows it and takes care...


I agree.

The term "strongly typed" is usually reserved for languges where the
language guarantees that the program will not violate the type constraints
at run time. Free use of malloc and free makes this impossible.

-- hendrik