Re: VB .NET OOP

From: Edward G. Nilges (spinoza1111_at_yahoo.com)
Date: 06/03/04


Date: 3 Jun 2004 04:30:25 -0700

Programmer Dude <Chris@Sonnack.com> wrote in message news:<qdcdb055r0kqf57tf8q1pkhcip1f31jvni@4ax.com>...
> On further reflection...
>
> Edward G. Nilges spews:
>
> >novice> Dim calc As Decimal
> >novice> calc = new calculator
> >novice>
> >novice> LableResult.Text = calc.result()
> >novice>
> >novice> however, I get an error that says calc.result() does not
> >novice> produce a value.
>
> >ed> Let me cudgel my brains.
> >ed>
> >ed> Think ponder think ponder think think ponder.
> >ed>
> >ed> Oh, I get it.
> >ed>
> >ed> calc.result is not producing a value. As a method, it must
> >ed> be a subroutine and not a function.
>
> >> Or perhaps it's a property.
> >
> > It would compile if it were a property,...
>
> Compile and run, apparently, if it's like VB6. The OP doesn't
> say if the error is compile-time or run-time. Can you state
> for certain it's a compile-time error?
>
> In VB6, anyway, if the method is a Sub, it won't compile, and the
> error is "Expected Function or Variable". Has this also changed
> in VB.Net?

No
>
> > The original poster is using VB.Net. There is no Set statement
> > in VB.Net.
>
> Yep, I missed that! Make a note in your diary, Eddie, as to the
> exact date. I'm sure we'll be hearing you crow about it for the
> next four years, and you should at least get the date right!

My name isn't Eddie. It's Edward, and common courtesy demands you
respect this.

The ONLY reason I have highlighted this error is your previous
conduct. You wasted my time and that of other readers of this
newsgroup by first ingenuously demanding code in 2002, and then
"criticizing" bugs that were fixed prior to your critique and
stylistic practices with which you were unfamiliar because of lack of
experience.

I wanted to show that one could easily turn the tables, especially
because the error was so egregious. It was either a serious failure to
proof-read, or else an even more serious misapprehension of the whole
direction of VB.Net.

Furthermore, the fact you post under two ids is meant to further abuse
this ng to try to inflate a small working set of true trolls into an
apparent large coalition, and it is transparent.

>
> > Chris, I advise you that this newsgroup is not for showing off
> > your erudition in such a way to systematically disrespect.
>
> That's your gig, Eddie, not mine. I'm not the one who can't write
> a post without filling it with bile against some group or class
> of people.
>
Today, knowledge itself is outside of a technical Bantustan either
"conspiracy theory" or "bias". The interest obviously is that ordinary
people not form theory so as to be better manipulated. You fell for
this process along time ago.
 
> You're about the only one around here I disrespect. (But to make
> up for it, I'll disrespect you "a whole elephant full!")
>
That may very well be because others here are police agents and
retirees with anger management issues, whereas I am one of the few
people here actually qualified to post, because I have vastly more
experience than you, I'd written and published about programming since
1976, and unlike many older posters, I do not overspecialize in a
narrow subcategory.

Your problem is that you and a small working set of clowns have been
in fact misusing this newsgroup for some time, for the idea of any
general approach to programming, especially one with social and
humanistic concerns, fills you with fear. You have trashed this
commons out of contempt for actual working programmers who might have
general culture because to you, "programming" is your trivial exercise
of a limited skill.
>
> > When you pull a boner about code I am not amused,...
>
> Dang, and here I did it in hopes of amusing you. Dratitall!
>
That's a lie and part of your Fascist practice, for multiplication of
your ids and contradictory claims are the Fascist technique of
manipulating the inattentiveness of the electorate.
> > However, I am not about to waste my valuable time, in making
> > generalizations about your professional abilities based on
> > this single boner.
>
> Betcha dollars to donuts that's a bald-faced lie, Eddie.
> Let's see, looks like you devoted a whole post to me!

Not so much to you as to the on-topic analysis of what social
mechanisms produce your downsized worldview.
>
> Kewl!
>
> Fight! Fight!! FIGHT!!!

Any time, any place.



Relevant Pages

  • Re: VB6, VB2005, or Something Else?
    ... So any VB6 successor is free to break compatibility to COM ... That doesn't imply that the "old syntax" couldn't be supported and that the new one couldn't support native code compilation. ... But I think it's a myth that you simply can take your native code and compile it to managed one and expect it to be the same as if you would re-engineer the whole application and rewrite it in .NET. ... But I also stated that this would break compatibility in many ways. ...
    (microsoft.public.vb.general.discussion)
  • Re: ///Wannabee Rants
    ... I am reading and reading, and it seems none of you are really able to explain to me why this typechecking is so important, and neither how it works. ... Plus the example Sevag showed was just a couple of lines. ... For the code I posted latly, all the partisipants, having some programming background, understood exactly. ... Now I understand why your compiler took several seconds to compile a 5 liner when tested over a year ago. ...
    (alt.lang.asm)
  • Re: writing drivers using C++
    ... No, both can be done at compile time, though the implementation ... as soon as you got a strict ABI. ... And at least on a programming language level something like an ...
    (comp.os.linux.development.system)
  • Re: How do I find and use the window handle of an external application?
    ... still dependent on API calls to get the external window dimensions. ... does only take a few well-aimed lines of code to do the trick in VB6, ... If you know the caption of the Window then you can use FindWindowEx ... compile it for me as an .exe or .dll? ...
    (microsoft.public.vb.winapi)
  • Mentoring a Coworker
    ... Lately I've had a problem trying to mentor a co-worker. ... He lacks some of the most basic programming skills. ... I don't mean to insult him, casually speaking, he sounds like ... co-worker asked him every half an hour or so "Did you compile?" ...
    (comp.programming)