Sign in
|
Join
ISerializable - Roy Osherove's Blog
Unit Testing, Agile Development, Leadership & .NET - By Roy Osherove
This Blog
Home
About
Syndication
RSS
Atom
Comments RSS
Search
Go
Navigation
Home
Blogs
News
My new book is out!
The Art Of Unit Testing
Buy and read it as I write it.
I work at:
Your ad here
The Art Of Unit Testing Book
Roy's Cool Tools
Subscribe!
Subscribe to ISerializable by Email
About
Hire me
Ask me
On my bookshelf
About me
Ego trip
Roy's Tools
5 Whys - a blog for team leaders
Key.bo - a search engine wiki for keyboard shortcuts
unit testing
ruby styff
All Developer Songs
It's Time for Violence
Que Sera Sera
Articles
3: Oops! Typed Datasets
Are
scalable!
4: Introduction To Regular Expressions
5: Practical Parsing Using Groups in Regular Expressions
6: UI Threading Helper Classes
Make Your App Support Plugins 2 - Dynamic Search (MSDN)
Winforms Data Binding Lessons Learned
Make Your App Support Plugins (MSDN)
1: Introduction to Typed Datasets
2: Typed Datasets Are No Silver Bullet
My articles on MSDNAA
7: Solving VS.NET Debugger Problems
Make your log files searchable using Regex and the XML classes (MSDN)
Introduction to TDD with NUnit
Fun with Unit Tests – Testing abstract classes
New: Creating a generic Site-To-RSS tool
.Net scripting
- the practical way
Simplified Database Unit testing using Enterprise Services
Creating custom test attributes easily with NUnit 2.2.1
Cool tools every .Net Dev should be aware of
Cool Tools every .Net developer should be aware of
New: The case for staged delivery and Agile methodologies
My .Net Deep Dive lectures on video
New: Defensive event publishing in .Net, part 1
Test Feasibility Matrix
Depenedency Breaking Issues
*new* Achieving And Recognizing Testable Software Designs – Part I
Favorite Blogs
The Morning Brew
Martin Fowler
Scott Hanselman
Joel On Software
.NET Weblogs
Microsoft Israel Community
The Runtime
Daniel Moth
Oren Eini
Jimmy Bogard
CodeBetter
Dustin Campbell
Guy Kawasaki
Stephen Toub
Research @ Intel
Udi Dahan
The Typemock Insider
My Projects
Vs.Net Settings import.export Add-in
SchemaHelper - auto-detect & create data relations
Proxy handling using ProxyFactory and ProxyInfo
BackgroundWorker implementation
XtUnit: An Unofficial Unit Testing Extensibility Framework - Add new attributes to NUnit or MbUnit e
Intercetpion Application Block
Extensibility Application Block
The Regulator
VS.Net 2003 registry tweaker
My Tools page
Regular Expressions
RegEx Lib
Expresso
Regex Blogs
Sites : .Net
.Net Tools List
.NetWebLogs Forums
Winforms FAQ
.Net Debugging Resources
.Net WebCasts & Others
.NetWeblogs Archive
MSDN Magazine
Design Patterns in C#
.Net Rocks Radio
.Net Resources
Howto: .Net common tasks
VB.Net blogs on MSDN
.NetSlackers
Sites : Misc
Regular Expression Library
MSR Downloads
Win2k3 Tweak Guide
About Microsoft Interviews
Tech Interview Riddles
Feedster
Amazon Light
C:\Utils
Sites : Unit Testing & XP
NUnitASP
Tips and techniques with NUnit
NUnit
NUnit Addin
XProgramming
MSDN Mag:Simplify Data Layer Unit Testing using Enterprise Services
Tags
.NET
.Net 2.0
.Net Original
.Net Quotations
.NetWeblogs Site
Addin Contest
ADO.Net
Agile
Agile Israel News
Agile Related
altnet
altnetconf
altnetisrael
Architecture
Art Of Unit Testing
ASP.NET
BDD
Blogging
C#
CLR
Community
Community News
Cool Articles
Cool sites
Cool Tools
Extensibility
Family
FeatureFocus
Free book chapters
General Software Development
Interview
Lean
Mobile
MSBuild
NDC09-Video
Off Topic
Open Source
Other
Product Reviews
Project Management
racer
Recommended books
Reflection
Regex
Regular Expressions
review
Security
Sharepoint
Silverlight
SOA
Songs
SQL Server
tdd
Team Agile News
Team System
TechEd 05
Testing Guidelines
TestReview
Threading
Tips & Tricks
Typed Datasets
Typemock
Unit Testing
Visual Studio
web
web services
WebCast
Windows Forms
WinFX
Recent Posts
How to: Move your blog off of weblogs.asp.net (aka ‘This Blog has moved’)
test – ignore
Bounty: 500$ is you can convert my blog to squarespace
Join me for a live webinar on unit testing with Isolator++ this thursday
What’s coming in Test Lint 1.5
Archives
November 2010 (2)
October 2010 (4)
September 2010 (4)
August 2010 (3)
July 2010 (2)
June 2010 (5)
May 2010 (6)
April 2010 (6)
March 2010 (4)
February 2010 (5)
January 2010 (11)
December 2009 (7)
November 2009 (7)
October 2009 (5)
September 2009 (6)
August 2009 (21)
July 2009 (7)
June 2009 (11)
May 2009 (13)
April 2009 (5)
March 2009 (21)
February 2009 (4)
January 2009 (2)
December 2008 (5)
November 2008 (6)
October 2008 (13)
September 2008 (4)
August 2008 (13)
July 2008 (19)
June 2008 (5)
May 2008 (17)
April 2008 (11)
March 2008 (13)
February 2008 (16)
January 2008 (21)
December 2007 (8)
November 2007 (18)
October 2007 (17)
September 2007 (15)
August 2007 (19)
July 2007 (18)
June 2007 (33)
May 2007 (16)
April 2007 (10)
March 2007 (15)
February 2007 (10)
January 2007 (11)
December 2006 (22)
November 2006 (18)
October 2006 (19)
September 2006 (30)
August 2006 (19)
July 2006 (27)
June 2006 (26)
May 2006 (32)
April 2006 (15)
March 2006 (20)
February 2006 (33)
January 2006 (23)
December 2005 (22)
November 2005 (41)
October 2005 (21)
September 2005 (7)
August 2005 (28)
July 2005 (41)
June 2005 (60)
May 2005 (14)
April 2005 (51)
March 2005 (31)
February 2005 (17)
January 2005 (63)
December 2004 (45)
November 2004 (35)
October 2004 (28)
September 2004 (36)
August 2004 (21)
July 2004 (44)
June 2004 (63)
May 2004 (62)
April 2004 (78)
March 2004 (64)
February 2004 (55)
January 2004 (67)
December 2003 (34)
November 2003 (67)
October 2003 (68)
September 2003 (113)
August 2003 (56)
July 2003 (112)
June 2003 (71)
May 2003 (136)
April 2003 (52)
March 2003 (81)
February 2003 (77)
VB is rubbish? rubbish.
My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2004/6/4/vb-is-rubbish-rubbish.html
Published
Friday, June 04, 2004 3:38 PM by
RoyOsherove
Filed under:
.Net Original
Comments
Friday, June 04, 2004 12:02 PM by
AndrewSeven
#
re: VB is rubbish? rubbish.
Simplexity.
It definitely rubs me the wrong way ;)
Friday, June 04, 2004 12:04 PM by kevin white
#
re: VB is rubbish? rubbish.
Case insensitivity isn't such a big deal as long as you only ever program in VB. That's the big risk. One nice usage of case sensitivity I've seen is to use initial lower for private variables and initial upper for public methods...
private int foo
public int Foo()
While I'm generally against embedding any sort of type information in a name. I do find the above usage of case sensitivity super handy. I can't do that VB but I can in just about any other OO language.
Friday, June 04, 2004 12:05 PM by Richard Dudley
#
re: VB is rubbish? rubbish.
Bah! Gimme some more of those curly brackets and a side of semicolons, too, because I just love extra typing for formatting purposes only! VB may need line continuation characters on a few lines to readability, but miss one semicolon or curly bracket in C-anything, and you're toast.
Friday, June 04, 2004 12:40 PM by Dave
#
re: VB is rubbish? rubbish.
I just love how the C-types see nothing wrong with typing an extra character for each of the tens of thousands of statements that fit reasonable on one line of code -- and are the only statements on that line of code -- rather than the handful of cases where you actually want a single stament to span multiple lines of code. It seems fundamently absurd.
Friday, June 04, 2004 12:45 PM by
Alex Papadimoulis
#
re: VB is rubbish? rubbish.
I suppose I could say some of the same thing about C#.
... The crummy thing has case sensitive names so POINT != Point != point which is totally ridiculous! Why would you name two variables the same thing, but use different case? Last time I checked, Peanut Butter and peanut butter are both identical (and consequently, both delicious). Why should it be different in code?
... Statement Termination Characthers?! ARRGGGHH! Rarely do your statements span multiple lines, so why make them the rule instead of the exeception.
But honestly, why care so much about the language. Everything that can be done in C# (save operator overloading and volitle members) can be done in Basic. I happen to be more productive in Basic. I like the End If/While/Select. I dont like curly braces. One should be well versed in both instead of crying when he/she doesn't have a choice.
Friday, June 04, 2004 1:07 PM by Jerry Pisk
#
re: VB is rubbish? rubbish.
Case sensitivity becomes an issue once you start using characters other than plain ASCII. CLR allows Unicode identifiers and there are languages that don't have a simple one to one character case matching. That's why you want case sensitivity. It takes away the guessing about what exactly is the same identifier and what's not.
Friday, June 04, 2004 1:14 PM by Robert Brown
#
re: VB is rubbish? rubbish.
If you work on Unix systems for a while, you quickly become used to the importance of case-sensitivity everywhere. This is not something that Windows user have ever really had to deal with. Joel Spolsky does a nice little bit about this:
http://www.joelonsoftware.com/articles/Biculturalism.html
I grew up on Windows, then worked with Unix for a while. Now I'm back on Windows and having trained myself to think of case in the Unix way, I have no issues with C#'s case sensitivity. Yes, I prefer C# to VB.
Anyway, the whole VB vs. C# thing has become very, very boring. If people are so sure of their choice, why do they need everyone else to agree with them?
Friday, June 04, 2004 1:20 PM by
Frans Bouma
#
re: VB is rubbish? rubbish.
"Bah! Gimme some more of those curly brackets and a side of semicolons, too, because I just love extra typing for formatting purposes only! "
If Not _myRefMember Is Nothing Then
' some code
End If
vs.
if(!_myRefMember==null)
{
// some code
}
well.. indeed C# is a hell of a lot more typing...
Friday, June 04, 2004 1:36 PM by
Frans Bouma
#
re: VB is rubbish? rubbish.
Also, a nice exercise for the VB.NET lovers :)
- derive a class from DataTable
- add a member to that class and a property get/set combi
- add code to be able to serialize/deserialize your added member.
Good luck! :)
(hint: you can't do this in VB.NET, because VB.NET doesn't allow you to explicitly implement an interface again (DataTable implements ISerializable privately). You need C# for this. What a great language :))
Friday, June 04, 2004 2:35 PM by Jerry Pisk
#
re: VB is rubbish? rubbish.
About curlies - how exactly is {} more typing then End If? If I can count characters right it's 2 in C# versus 6 in VB. What am I missing? Same goes for ! vs. Not, null vs. Nothing, no characters vs. Then (ok, maybe two, () vs. Then), switch vs. Select Case and so on...
Friday, June 04, 2004 3:28 PM by Josh
#
re: VB is rubbish? rubbish.
Well have a look here and judge for yourself.
http://dotnetjunkies.com/WebLog/grant.killian/archive/2004/06/01/14946.aspx
Friday, June 04, 2004 3:44 PM by stroup
#
re: VB is rubbish? rubbish.
VB is for second class programmers and losers like you.
Friday, June 04, 2004 4:30 PM by
denny
#
re: VB is rubbish? rubbish.
Folks this is a case of "Your both right" or "Your Both wrong"
or like the idea of time distrotion as you enter a black hole.... it will just go on for ever.............
Saturday, June 05, 2004 10:58 AM by
Avner Kashtan
#
re: VB is rubbish? rubbish.
I'll just point out that { or } are indeed one character each, but they need a two-keystroke combination to write.
(Oh, do ignore me. I'm just an amused observer fanning the flames a bit. :)
Monday, June 07, 2004 10:52 AM by
Guy S
#
re: VB is rubbish? rubbish.
The most annoying things about VB.NET is its language style. Lots of texts as if u trying to be a writer instead of a programmer.
VB.NET programmers will have difficulties to join a C#, Java or C++ project (and I saw it happened to programmers)
But C# programmer will find himself comfortable in a JAVA and/or C++ project
I wonder why Microsoft does not stop from supporting this language. C# and its equivalent (Java, C++) are enough.
Monday, June 07, 2004 11:19 AM by
Roy Osherove
#
re: VB is rubbish? rubbish.
Guy S: boy - you're so wrong it hurts!
I'll need to talk some sense in to you in the next blogger dinner! :)
Friday, June 02, 2006 9:34 PM by ScottJ
#
re: VB is rubbish? rubbish.
"VB is for second class programmers and losers like you."
Another reason I hate the curly-bracket languages is boorish jerks like you tend to gravitate to them.
Monday, July 10, 2006 11:15 AM by Ben
#
re: VB is rubbish? rubbish.
I've developed code approximately half in VB.net and half in java and C. When I first started using VB, I was just as aggrivated... it took me a while to sort the night-and-day syntax. However, I've realized that there IS a trade-off. The verbose nature of VB code requires less documentation in general. (I guess you can choose to forego documentation, if so, never work on the same project as me plz.) Then again, curly brace code is also good because of it's global definition and quick adaptation. Yet, I think syntax, etc. of a language is a moot argument. Sure, it will annoy you for a bit, but you shouldn't decide not to use VB.net because "OMG I hate writing End If." Languages were created to accomplish a goal, not to torture programmers. Don't go fishing with a stick of dynamite, pick the right tool for the job.