Re: I've Had Enough

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: C# Learner (csharp_at_learner.here)
Date: 04/06/04


Date: Wed, 07 Apr 2004 00:20:55 +0100

Tim Jarvis wrote:

> C# Learner wrote:
>
>>I'm thinking of giving Delphi 8 (for .NET) a spin. Though there is a
>>problem with that (IMO): it allows global data/routines :(
>
> What does that mean ? "Global data/routines", curious is all.

Meaning that one can create global variables and routines (procedures or
functions) in the way that one can in C++, for example.

i.e.:

void Foo() // global, declared outside of a class
{
}

class Class
{
        void Foo() // non-global - a member of a class
        {
        }
}

> For what it is worth, I hold the same opinion as you, in that I don't
> think that there is a perfect .NET language out there.
>
> I guess I am lucky in that I have 5 .NET languages (and their IDE's) on
> my desktop, actually 6 if you count ILASM. 3 of those I know quite well
> and 2 I don't use much, but have on occasion. (see who can name the 5)
>
> I think it comes down to personal preference, and to be frank, unless
> as you say, you are willing to roll your own, if you want to do .NET
> coding, you will just have to choose one (or mix them) that will get
> the job done.



Relevant Pages

  • Re: Does anyone in Delphi land NOT use OOP
    ... It is not global routines that I don't like, it is global variables, ... When the routine needs to know something other than the ...
    (borland.public.delphi.non-technical)
  • Re: Paasing global variables to functions
    ... At many places I have seen that programmers pass global variables ... -as- a global variable in lower-level routines. ... Suppose now that I change my mind about the implementation detail of ... Creating accessor functions tends to divorce the implementation details ...
    (comp.lang.c)
  • Re: Regarding use of modules
    ... other functions that when called will update some of the global variables defined in mainfile.c. ... void foo() { ... int foo ... Or you can move the variable to the only unit it belongs to, ...
    (comp.lang.c)
  • Re: Ive Had Enough
    ... > Meaning that one can create global variables and routines (procedures ... I guess this just shows the language's heritage, in fact just like C++, ...
    (microsoft.public.dotnet.languages.csharp)