Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming conventions for custom methods?
Message
De
18/11/2008 20:00:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01362229
Message ID:
01362735
Vues:
50
>>>>>Then, Mr chameleon, let me tell you that was also pi..ed off. Bought a lot of java books (language/assembler/....) and the one thing that turned me off what that in java you cannot pass parameters by reference
>>>>
>>>>So how do you do anything to an object? Every object has to know how to do it to itself, or else it happens to a temporary copy? That sucxques...
>>>
>>>Not sure what you mean about temporary copies but you may have just described encapsulation. An object (class) defines both data and the operations upon that data.
>>
>>If not passed by reference, then it's passed as a copy. Whatever happens with that copy gets lost when it goes out of scope and autodestructs.
>
>Most of the types in C# are reference types. There are few value based.

Would I be right to guess that's because they're mostly object types? And the value types are scalar?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform