Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming conventions for custom methods?
Message
From
18/11/2008 10:00:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
18/11/2008 09:37:57
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01362229
Message ID:
01362537
Views:
27
>The rules are - as far as I can see
>(1) Strongly typed, eg you cannot to a GoMonth() on something that is not a date
>Isn't that a good thing ? Foxpro would blow up at runtime
>
>(2) You can use generics.
>- they are still type checked
>- they are JIT compiled for each type
>
>(3) The compiler does a cast to object if your method accepts an object (and there's no overload for your type)
>But once you have entered the method and 'received' an object, you are responsible for type checking - ie which operations you perform on the object - it can blow up at runtime then
>
>Really Dragan, read something, get yourself some basic experience with c#. I am sure you will like the language, its constructs and many things you can do with it
>[ eg define operators on types, pass functions a parameters, define functions on functions.]
>It's not been released yet, but the library for parallel processing looks promising
>The only limit is one's imagination
>
>So, what are you waiting for ?

I just don't trust Microsoft. Joel Spolsky had a great article on keeping your enemies on the move (can't find the link now)... basically, you never have the time to do anything serious, because you have to retool. Which they've done already for themselves while creating the tool. So they have the advantage.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform