I’ve just downloaded Internet Explorer Beta 3 and it looks like all Internet Explorer issues I talked about in my First and Second Post of this blog have been fixed in Beta 3! GWB seems works PERFECTLY with Internet Explorer Beta 3 and I haven't come across ANY issues with posting on GWB using IE 7 Beta 3 yet! Things Rock!!
#region Private Declarations
// Private variables to be encapsulted by public properties
string _DonatorId = ""; // Id of the donator. will be auto generated by CSLA business object.
bool _IsDonatorAuthorizedToDonate = false; // donator not authorized to donate by default.
string _DonatedAmount = ""; // assgined later.
DateTime _DonationDate; // assigned later. Will be current system DateTime in new form.
// Fetched from DB in existing form.
/* These fields exist in base User table and have been commented. Will be removed later.
string _DonatorName = ""; // To be assigned later.
string _DonatorAddress = ""; // To be assigned later.
string _DonatorPhone = ""; // To be assigned later.
string _DonatorContactAddress = ""; // To be assigned later.
*/
#endregion
What you see above is a snippet of perfectly “well commented” (spelt “well commentated”)… goo! To the guy who wrote this piece of art I say:
If you’re going to write comments just because a book / everyone else told you write them, here’s a piece of advice: Don’t! Honestly, I preffer:
#region Private Declarations
string _DonatorId = "";
bool _IsDonatorAuthorizedToDonate = false;
string _DonatedAmount = "";
DateTime _DonationDate;
#endregion
In Rare circumstances like this one, I can read code. Honestly, I can! And what’s with the “Will be removed later” thing? I'll get a House-keeper to clean my mess?
On a slightly serious note, How do you intend to track this stuff later? At least, have “//TODO:” Tasks for stuff like this. Tools / Options / Task List - has options to allow you to create a New Task Token if you don't like TODO and want to have a Token that says “CleanUp“. Get a crash course in your IDE before you code. Please!!