Gotcha in the online Gotchas doc? - No Fluff Just Stuff

Gotcha in the online Gotchas doc?

Posted by: Venkat Subramaniam on September 11, 2005

Brian Grunkemeyer of the Microsoft BCL team emailed me recently with the message:
"In this document:  http://www.agiledeveloper.com/articles/DotNetGotchas.pdf you have
an improper example of the Dispose pattern.  Dispose(bool) should be protected, not public.
Dispose(void) should call GC.SuppressFinalize(this) after calling Dispose(bool).  You can
check on the web for updated design guidelines ? Joe Duffy, myself, and a few others cleaned
these up about 6 months ago."

Thanks Brian for taking the time to bring this to my attention. I sincerely appreciate it. I have
updated the document at http://www.agiledeveloper.com/articles/DotNetGotchas.pdf.
[This error is only in this online example and not the .NET Gotchas book!]

Venkat Subramaniam

About Venkat Subramaniam

Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., creator of agilelearner.com, and an instructional professor at the University of Houston.

He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences. Venkat helps his clients effectively apply and succeed with sustainable agile practices on their software projects.

Venkat is a (co)author of multiple technical books, including the 2007 Jolt Productivity award winning book Practices of an Agile Developer. You can find a list of his books at agiledeveloper.com. You can reach him by email at venkats@agiledeveloper.com or on twitter at @venkat_s.

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »