Click here to Skip to main content
15,893,190 members

Comments by Trellium (Top 4 by date)

Trellium 9-Oct-11 12:25pm View    
Deleted
This code worked very well for our needs with minimal tweaking. We need to extract the data table portion of client sites, and with this code was very easy to add code specific to tables.

One thing that throws it off (of course) are poorly coded web pages, and we are adding code to deal with those issues (which apply to specific pages generated on older sites).

It processes it nice and fast, it takes far longer to grab the data from the net than it does to recurse it.

Thanks! Full marks. :)
Trellium 8-Oct-11 14:35pm View    
Deleted
Using names that start with an underscore or not has nothing to do with "being cool", and is easily proved by the fact that neither method will help you get girls nor procreate (a typical outcome of great coolness).

There is no particular reason to use m_Name rather than _Name. There is no magic property to the prefix "m_", and replacing it with a simple underscore removes no readability nor understanding of the concept as long as it is used consistently.

I use the m_ prefix for private member variables. But I use only the underscore when it is a private member variable for which there is a property with the same name (minus the underscore).

Looking at any section of code, I can tell if a member variable is truly private, or if it is exposed as a property. If I see it start with m_, I would know there is no corresponding property without the m_. The reason for doing this is so I can see if the code should be bypassing the property access code or not. I ignore anything starting with m_ since that is the only way to access the variable (since there is no property).

That said, standards are there so everyone does the same thing. The scope of the project determines the standards to some extent. The more public the project the more important the adherance to common standards.
Trellium 13-Apr-11 23:46pm View    
Deleted
Reason for my vote of 3
Very rough code, needs better looping and recovery. Good generally though.
Trellium 27-Dec-10 15:10pm View    
Deleted
Reason for my vote of 3
See alternative 1