Steve

1 - What's new is that the behaviour is different to VB6.

2 - I can think of a date class that reads the users mind - it's called
VB6. Try ?Format("1:00", "hh:mm tt") in VB6 and see what it returns - it
doesn't return "hh:mm tt" like VB.Not.

3 - It's a problem for those of us who have extensive experience in VB
to encounter these new behaviours, let alone the subtleties - like in
VB6, it should have been "hh:nn tt" as in VB6 "n" denoted minute and "m"
month - now in .Net "M" denotes month and "m" minute. Experienced
developers will make mistakes with that (as I have) whereas beginners
should not because they have no reason to use "nn".

VB6 was very good at rendering partially provided data - it always has
been. Has some of the best (if not also the least efficient) string
handling capabilities out there.

His point is that if experienced developers make these sorts of
mistakes, then what hope do beginners have - however I would contend
that this sample is only a mistake that "legacy" VB'ers would make, not
newbies.

Cheers,
Dino

-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Steve Johnson
Sent: Tuesday, 28 May 2002 14:47
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] VB.NET Oddity


> ...and even you would "never have thought of that" in regards to
> something seemingly simple and relatively inocuous in this new
> VB.Net?...


Uhhh...

1 - What's new about this?

2 - What the heck does this have to do with VB vs. other languages?  I
can't think of a date class or API that reads the mind of the developer.

3 - What does this have to do with beginner vs. more experienced
developers?


Is any API or language supposed to read the mind of the developer in
order to properly render an only partially-provided date string?  Do not
beginners and experienced developers alike need to consult the docs in
order to use the API/Class Library correctly?

What's your point, if any?  If you're only here to bash a programming
technology, why don't you take your bandwidth-hogging spam elsewhere. I
already have to comb through 160+ messages per day here.

Thanks,


--
Steve Johnson
3t Systems

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.363 / Virus Database: 201 - Release Date: 21/05/2002


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.363 / Virus Database: 201 - Release Date: 21/05/2002

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to