Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Days from the year beginning to dd/mm
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01246410
Message ID:
01246455
Vues:
28
>>I never knew that.
>>I agree, there is some ambiguity in language designer decisions.
>>If speculate more and make order is important we may end up with
>>"1" + 1 => "11"
>> 1 + "1" => 2
>>
>>>Hi Michael,
>>>
>>>>which is implicitly converted to string "11" in mainstream languages now.
>>>
>>>Actually, it's implicitly converted to numeric 2 in Oracle PL/SQL. <s>
>
>I prefer to have and error with such operations. If the language does implicitly convert for such operations the results may be unpredictable and not so easy to debug.

Visual Basic can do implicit conversion.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform