- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
never seen any vb code that looks different...
Admin
No, if you can only find 5 buttons on people you're not searching rigorously enough. I was referring to a species of rodent, much smaller than humans and therefore with less buttons.
Admin
C in CVS stands for Complete. Complete Versioning System, that is.
Admin
I'll see your VBA and raise you the specific Office app it was written for: Access, which resets all variables in response to common errors - not all of which crash the database in an obvious way. If you failed to test for the exact error condition (before the error flag was cleared), you would miss it, and could go on testing code in the development environment without understanding that the reason it failed was due to established variables suddenly forgetting what their value was. This included internal Access/VBA features that were explicitly added (by Microsoft) for the purpose of (semi)permanent variable storage. You can identify experienced Access developers by their compulsive habit of refreshing the form (to re-run OnLoad events) with each cycle of testing, and quitting/relaunching the entire application for forms referencing variables set when the database first opens. Keeping variables in fields on the form is actually recommended, being not only a safer way of keeping their values intact but also a faster way of storing/retrieving them when an SQL query would have to reach across the network to a backend and the GUI elements are on the local terminal.
Admin
Admin
No, he's saying "I'm better than you because you use a mouse and I don't."
Admin
And I'm being sarcastic right back. :)
(tab + space)
Admin
There are two common flavors of hungarian notation. I'll leave it to you to find them. One MS group promoted a certain version. A number of groups misunderstood and used the really bad one. From that point forward people using the MS Windows API's decided that the jacked version was what they should be doing too. It just cascaded from there.
Simply put, enough programmers, including ones in house, didn't know WTF they were doing so MS decided a blanket "Don't use Hungarian" statement was the easiest to get away from this crap.
Admin
HN is ok when used with suppression. Also, do not prefix, suffix like this:
dim customerName as String = customerNameTB.text customerNameLA.text="Full Name:"
When getting into MVC and Mediators for a control:
class CustomerNameTBmed: Mediator{
and struct CustomerVO{ //Value Object class Customer: Person{
then German Inverseing... class CustomerNewFO: Form{
Suffixing makes intellisense shine.