Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property vs. Method
Message
From
14/10/2008 16:18:02
 
 
To
14/10/2008 16:02:38
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01354904
Message ID:
01354966
Views:
23
>Agreed. However, how much do you value maintainability? Enough to sacrifice performance? I read once that using Regular Expressions was more expensive than rolling your own validation methods. I tested it and indeed it was, but having to maintain that much more code was the killer for me, so I went back to Regular Expressions.

If I had to choose between code in a method and a Regular Expression, I would almost *always* choose the code. Regular Expressions are just a bear to read, IMHO. Of course, then I have to say "it all depends", naturally. ;-)

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform