"If you don't set an object to nothing, how is the garbage collector to know it can be collected or not? Hence set to nothing.
Note, you can control when it collects via the GC.Collect method."
I believe that your entire post if false....isn't it?
"If you don't set an object...
Won't the garbage collector notice that they are not attached to anything and clean them up just the same?
Maybe the = nothing will somehow flag the garbage collector but will that really matter considering that we have no control over when it collects?
Also doesn't the garbage collector...
The book I mentioned does have a section on regex use in .NET as well as a section on regex use in Java and a section on regex use in Perl.
I think the only real diff between the laguages is how the regex is created...the regex itself should be identical.
interface jobs
sub execute()
end interface
class jobOne implements jobs
sub executeJobOne() implements jobs.execute
'do something
end sub
end class
class jobTwo implements jobs
sub executeJobTwo() implements jobs.execute
'do something
end sub
end class
class jobThree...
I own a book called Mastering Regular Expressions from O'Reilly publishing and written by Jeffrey E.F. Friedl
I haven't dwelved much into the book so I can't give a good review (although it seems to be a very throuough coverage of regular expressions.)
Check out the reviews on amazon.com for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.