- cmsg cancel <n5mnmc$kjv$3@dont-email.me> - 2 Updates
- About Strongly Typed programming languages - 1 Update
- Here is what i think of C and C++ - 1 Update
bleachbot <bleachbot@httrack.com>: Dec 26 07:55PM +0100 |
bleachbot <bleachbot@httrack.com>: Dec 26 10:50PM +0100 |
Ramine <ramine@1.1>: Dec 26 04:51PM -0800 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. |
Ramine <ramine@1.1>: Dec 26 01:55PM -0800 Hello, Here is why i don't accept C++ and C... Ada does discipline the programmer with strict rules. But C++ and C do not discipline you at the level of Ada. C and C++ require that you must be disciplined but it doesn't discipline you at the level of Ada with strict rules, and that's not good for realtime critical safety systems for example. So i will refrain from using C++ or C in favor of FreePascal and Dephi and Ada and Java. Thank you, Amine Moulay Ramdane. |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com. |
No comments:
Post a Comment