Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #32157

About Strongly Typed programming languages

From Ramine <ramine@1.1>
Newsgroups comp.arch
Subject About Strongly Typed programming languages
Date 2015-12-26 16:51 -0800
Organization A noiseless patient Spider
Message-ID <n5n1v0$src$4@dont-email.me> (permalink)

Show all headers | View raw


Hello,


Please read the following:

http://c2.com/cgi/wiki?StronglyTyped

You will notice that they are people who call C and C++ strongly typed
programming languages and they are people who call C weakly typed 
programming languages..

So how can we be sure if C and C++ are strongly typed or weakly typed ?


Here is my answer:

First we have to define the characteristics and advantages of strongly
typed programming languages, that they discipline us to avoid 
programming bugs and errors of logic...that's i think the most important 
characteristic of a strongly typed programming language... so
if you look at C++ it has inherited the C deficiencies that allow
C++ and C to make an implicit conversion from an signed long to
a unsigned long and that allow C and C++ to assign two typedefs of
the same type etc.. this deficiencies are considered in my opinion
like a single point of failure in the system, that means this 
deficiencies can make your system behave like a weakly typed system
and it will make it inherit the characteristic that are difficiencies of 
the weakly typed programming languages.. so in my opinion since it is 
like a single point of failure so that makes C and C++ weakly
typed programming languages that are not suitable for realtime
safety critical systems.



Thank you,
Amine Moulay Ramdane.




Back to comp.arch | Previous | Next | Find similar | Unroll thread


Thread

About Strongly Typed programming languages Ramine <ramine@1.1> - 2015-12-26 16:51 -0800

csiph-web