Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #4286 > unrolled thread
| Started by | Sky89 <Sky89@sky68.com> |
|---|---|
| First post | 2018-05-18 17:25 -0400 |
| Last post | 2018-05-18 17:25 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.programming.threads
More about the deficiency of C++ Sky89 <Sky89@sky68.com> - 2018-05-18 17:25 -0400
| From | Sky89 <Sky89@sky68.com> |
|---|---|
| Date | 2018-05-18 17:25 -0400 |
| Subject | More about the deficiency of C++ |
| Message-ID | <pdngbg$jlm$3@dont-email.me> |
Hello.. More about the deficiency of C++ If you want to assign a negative signed variable to a positive unsigned variable, this is possible in C++ and C. And this is not possible in Delphi and FreePascal (with range checking enabled) and it is not possible with ADA because they are strongly typed. Also: I have just tested C++ , and when i instantiate an object and i want to assign the object to a variable, the C++ is weakly typed , so it can assign a type of an object to another type of a variable, and this is a big problem ! C++ has inherited this deficiency of being "too" weakly typed from C, Delphi and FreePascal that i work with are more strongly typed and they will not allow this problem to happen, ADA too is strongly typed and it will not allow this problem to happen. So from the above reasons i think that C++ and C are "too" permissive and "too" weakly typed, they are more unsafe than ADA or Delphi or FreePascal. Thank you, Amine Moulay Ramdane.
Back to top | Article view | comp.programming.threads
csiph-web