Sky89
unread,May 18, 2018, 5:24:08 PM5/18/18You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
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.