Walter Meester
HoogkarspelNetherlands
General information
Category:
Coding, syntax and commands
Perry,
I do know that the compiler checks for you, but I did not know it was build in the IDE as well. But again, this is feature is not restricted to static typed languages. I can be implemented in dynamic typed languages as well.
The discussions about static typed languages was mainly about this misconception. Compile and code time checking can be done in both static and dynamic typed languages.
Walter,
>You didn't understand thru all the discussions on strong-typing that the IDE and/or compiler checks for you??? In C#, and/or Java, if you type:
>
>String myString;
>mystring = 10;
>
>The IDE will alert you that the 2nd line is assigning an int to a string variable. The same thing if you call a method that returns a object of type "employee" and assign it to myString.
>
>
>>>Hi Walter,
>>>
>>>> Why on earth, with all the processing power available today, we still don't have type checking when writing the actual code ???
>>>
>>>Actually, VS 2005 does this in C# and (I think) VB.NET.
>>
>>Ahh.. thanks, I did not know that... So how is it informing you, you made a typing mistake ?
>>
>>Walter,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only