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)
What's missing in today's hottest languages?
My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2003/7/5/whats-missing-in-todays-hottest-languages.html
Published
Saturday, July 05, 2003 7:29 AM by
RoyOsherove
Filed under:
.Net Original
Comments
Friday, July 04, 2003 9:40 PM by
Yosi Taguri
#
re: What's missing in today's hottest languages?
can't agree on some of the stuff:
c# case insensitivity - it's fine as it is, it comes from c and c++ , if you have only one way to write a variable name ,you can enfoce coding conventions while compiling.
Automatic creation of "()" braces - that's beacuse you are coming from vb ;) - it makes no sense to write methods calls without braces it looks ugly.
With - it an ugly construct , I hate it it doesn't look readable. and besides if your code calls many properities at the same time maybe you need to design your classes again.
Friday, July 04, 2003 9:51 PM by
Jan Tielens
#
re: What's missing in today's hottest languages?
Check out my post (linked to yours): http://weblogs.asp.net/jan/posts/9727.aspx
Greetz
Jan
Saturday, July 05, 2003 12:19 AM by
Roy Osherove
#
re: What's missing in today's hottest languages?
Yosi:
- Insensitivity: Why should I be able to write basically the same variable name with only case differences? That's just giving us enough rope to hang ourselvss with.. and you *know* that its a common practice in a lot of places, although its not a good one.. Hell, even I used it at times, because its more convenient than readable..
braces - Not saying that no braces is good, just saying that saving me the trouble to write them wil save me about 20% of coding time... hows that for a productivity increase?
With - Ugly? now *that's* because you came from a non-VB background ;) its one of the most useful, time saving, readable, productivity enhancing code constructs I've met, and I can't think of how I could totally get rid of the need for it no matter how good I design my copmonents. sometimes you just *have* code that calls or sets multiple properties on a componenet in one method.
Saturday, July 05, 2003 12:51 AM by
dave
#
re: What's missing in today's hottest languages?
I think case sensitivity is a huge strength! It makes your code much cleaner, and naming conventions much cleaner.
For example, in C#
you can declare
MyClass myClass = new MyClass();
while in VB you would have to do something like
Dim [myClass] as New MyClass()
I consider it to be a strength, much more than a weakness.
Saturday, July 05, 2003 2:56 AM by
Roy Osherove
#
re: What's missing in today's hottest languages?
dave: that's exactly the kind of code that I believe should be avoided. It's much more confusing to readf by a 3rd party, and although easy to create and looks cleaner- but is harder to maintain.
Saturday, July 05, 2003 3:29 AM by
TrackBack
#
Jan Tielens' Bloggings
Jan Tielens' Bloggings
Saturday, July 05, 2003 3:29 AM by
TrackBack
#
ISerializable
ISerializable
Saturday, July 05, 2003 4:14 AM by
Jeff Julian
#
re: What's missing in today's hottest languages?
If all those things were in both languages, why would you need to. I think they are great the way they are and PLEASE LEAVE THE CASE-SENSITIVITY in C#.
Saturday, July 05, 2003 4:58 AM by
Sam Gentile
#
re: What's missing in today's hottest languages?
From Jan's topic:
#
re: What's missing in VB.NET and C#?
Sam Gentile
Posted @ 7/5/2003 11:55 AM
Let me the first of hopefully many to correct you both in that C# has Edit and Continue in VS.NET 2003 (which has been out for some months).
#
re: What's missing in VB.NET and C#?
Sam Gentile
Posted @ 7/5/2003 11:56 AM
And Visual Assist.NET (http://www.wholetomato.com) adds #1, #3, #4 among many other things. I find it a must have.
Saturday, July 05, 2003 4:59 AM by
Sam Gentile
#
re: What's missing in today's hottest languages?
That was #1, 3, and 4 on "his" list...
Saturday, July 05, 2003 5:48 AM by
Roy Osherove
#
re: What's missing in today's hottest languages?
I had vs 2003 installed, but the only "edit & continue " like feature was that once you edited, you couldn't continue...
Saturday, July 05, 2003 6:20 AM by
Sam Gentile
#
re: What's missing in today's hottest languages?
You're telling me that "Tools-> Options-> Edit and Continue-> Changes in VB and C# Code-> Allow me to Edit C# Files While Editing" does not work for you?
Saturday, July 05, 2003 6:30 AM by
Roy Osherove
#
re: What's missing in today's hottest languages?
Doesn;t that feature only change the source file but make the program continue as if you hadn't changed anything?
I'm talking edit & continue like in Vb6 - where changing something at run time actually changed run-time behaviour - I don;t think they have that. I could be wrong but i'm 99% sure... (I dont have it installed anymore so I can't check it out)
Saturday, July 05, 2003 9:53 AM by
SBC
#
re: What's missing in today's hottest languages?
hmm... getting rid of case insensitivity in C# may make a lot of sensitive C# programmers insensitive...
sorry had to put that one in 8-)
Saturday, July 05, 2003 12:47 PM by
Tim Marman
#
re: What's missing in today's hottest languages?
What does case insensitivity buy you other than less maintainable code? :)
Saturday, July 05, 2003 5:56 PM by
Chad Osgood
#
re: What's missing in today's hottest languages?
Not to be pedantic, but it's wortwhile to point out that many of your wishes for both VB.NET and C# are not for the languages themselves, but for the IDE that facilitates their use. Keep in mind that there are many people who don't use VS.NET. I myself didn't use VS.NET for quite some time, and if the cross-platform story of .NET becomes longer this will only increase.
If you really want the autocreation of the surrounding parens of a method call for C# in VS.NET, you should try
QuickCode.NET
.
Saturday, July 05, 2003 8:40 PM by
Roy Osherove
#
re: What's missing in today's hottest languages?
Tim: I would think just the opposite - insensitivity "blocks" the same variable name from appearing twice in the same scope with different casing. Allowing *that* could lead to harder to maintain code...
Chad: I agree. It should have said "Missing IDE enhancements for language 'X'"
As for QuickCode - It's pretty cool, I just wanted to air out the fact that I shhouldn't need to use such a tool to get that sort of functionality from the world's most advanced IDE to date..
Sunday, July 06, 2003 1:05 PM by Aaron Vance
#
re: What's missing in today's hottest languages?
You can replicate the "With" functionality in C# with the "using" statement.
using(obj) {
// use obj to do stuff here
}
As long as it supports the IDisposable interface, the instance of obj will be disposed of at the end of the using scope.
Sunday, July 06, 2003 8:33 PM by
Roy Osherove
#
re: What's missing in today's hottest languages?
Aaron: 'using' not does allow me to write something like this:
using(thins)
{
.MyProperty= "something";
}
Monday, July 07, 2003 9:34 PM by Oisin Grehan
#
re: What's missing in today's hottest languages?
Roy, if there ever was a stereotypical VB programmer to be singled out as an example, it would be you. Absolutely no understanding of why things aren't all like VB. This post was enough to put me off reading your blog for good. Unsubscribed.
Monday, July 07, 2003 9:38 PM by
Roy Osherove
#
re: What's missing in today's hottest languages?
Oisin: Ouch. Sorry you feel that way.I have lots to say about that , so I'll write a post about it.