Re: Bit flipping .. will this work in VB6?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Michael C wrote:
"Karl E. Peterson" <karl@xxxxxxxx> wrote in message
news:%23vBMo%23lfIHA.484@xxxxxxxxxxxxxxxxxxxxxxx
Very rare indeed...

?left$("abc", 6)

?23+"1"

?typename(23+"1")

Wow, now we've got 2 exceptions to the rule.

Heh, whatever. <g>

The simple FACT that you appear
to be ignoring is that the vast majority of VB functions raise errors.

The simple FACT that you *are* ignoring is that I'm not writing a runtime.

And, when I *do* write replacement functions for runtime routines, most often it's
to explicitly remove the error raising that they do. Sure, I might enhance their
behaviors in other ways, but that friggin' error raising is just a PITA that no one
capable of writing halfass elegant code should ever have to deal with.

other FACT that you're ignoring is that VB is widely criticised for it
sloppy handling of stuff like 23+"1".

Oh, you think *I* am overlooking that, do you?

I see your bluff, and raise you http://vb.mvps.org/articles/#PT199511

If I had to list 1 feature that was
improved in dot net I would say it is it's much stricter handling of stuff
like this.

You should've been in on the VB5 alpha planning sessions, back in 1995, where we
begged/pleaded for an Option Anal. Good to see you've finally caught up with that
bandwagon.

When I suggest that you're looking at an exception as if it's the
rule, quoting a couple more exceptions is not a valid response. It just puts
you deeper in the hole you're digging for yourself.

What's that saying? Takes ____ to ____ one?

The word for what you're doing? Projection.

Wishful thinking there karl.

No really. :-)
--
..NET: It's About Trust!
http://vfred.mvps.org


.



Relevant Pages

  • Re: Mrs. Butterworth vs Vermont Maid
    ... > FreeBSD-like to ban him, though we can make exceptions. ... > there's one thing that does help, it's ignoring him. ...
    (freebsd-questions)
  • Re: Bit flipping .. will this work in VB6?
    ... now we've got 2 exceptions to the rule. ... to be ignoring is that the vast majority of VB functions raise errors. ... sloppy handling of stuff like 23+"1". ...
    (microsoft.public.vb.general.discussion)
  • Re: Tasty exceptions
    ... Your post makes no sense whatsoever. ... No exceptions are ever "eaten" in ... the sense of ignoring them or doing nothing with them. ... Delphi/InterBase Weblog: http://blogs.teamb.com/craigstuntz ...
    (borland.public.delphi.non-technical)
  • Re: Test or NullPointerException catch
    ... >> Normally you should only catch checked exceptions. ... >> Imagine there is a bug in that code, ... >> rare one, that throws a NPE. ... It means ignoring or mis-handling other unexpected ...
    (comp.lang.java.programmer)