19,842 reputation
13776
bio website thehungersite.com
location United Kingdom
age 45
visits member for 3 years, 4 months
seen 3 hours ago
experienced software engineer with many years in the industry, mostly c++ for large-scale, high-reliability systems.

Jul
26
comment Deferred execution of Dispose for IDisposable objects
You don't, but you can wrap the class in your own object and call Dispose in the finaliser. After all, isn't that the pattern you use if your object doesn't get Disposed directly or in a using block.
Jul
26
answered Why do binary files load quicker than alphanumeric text files?
Jul
26
answered Deferred execution of Dispose for IDisposable objects
Jul
26
answered How to handle a vendor who asks for the solution of an issue they could not solve
Jul
26
answered Is too much whitespace a bad thing?
Jul
26
comment What are some version control systems based on different concepts than Git, Mercurial etc?
sure, but it doesn't matter what gets stored, or how it does it. You could use a SQLServer record, or a file, or a heap of files... a diff is still generated and applied. There's plenty of implementation differences, I meant the concepts are fundamentally the same. incidentally, git will have to open 2 versions of the file - or it cannot create the diff that the developer made between checkins. Its probably easier just to store the diff.
Jul
25
awarded  Good Answer
Jul
25
answered What are some version control systems based on different concepts than Git, Mercurial etc?
Jul
25
awarded  Nice Answer
Jul
25
awarded  Good Answer
Jul
25
answered What is the best way for a programmer to handle being code reviewed?
Jul
25
comment Should temporary code be put under version control and how?
@MattThrower in a bubble quote, coming from the lips of Clippy?
Jul
25
answered Why would programmers ignore ISO standards?
Jul
25
comment How much data should exceptions hold?
@whatsisname fair enough - but those are exceptions to the rule (haha). I'm not necessarily convinced by the file-open case though, return null is better IMHO. Failing to write to an opened file, that is another matter.
Jul
24
awarded  Nice Answer
Jul
24
answered How much data should exceptions hold?
Jul
24
comment Should temporary code be put under version control and how?
@randomA not really - git does it that way so you can continue to commit while working in a distributed way (even offline). When you push upstream you still push all individual commits (unless you effectively delete them, something any SCM user should be very wary of!)
Jul
24
comment Is there a way to use RAII techniques in COM?
@Mike not really, I refer to a smart pointer class - a facade rather than a factory. But factory would work too.
Jul
24
comment Should temporary code be put under version control and how?
@Vorac - that's what code reviews and testing is for! I can show you far worse than that - code that doesn't work even though it looked good at first glance. Return 7.. if only they were all so obvious!
Jul
24
answered Is there a way to use RAII techniques in COM?