Click here to Skip to main content
15,920,005 members
Articles / All Topics

Reason to make your class Sealed by default

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
15 Nov 2011LGPL33 min read 17.4K  
Dear Reader, Lately i have been reviewing/refactoring alot of code, and i must say many a times some code pushed me to a confused state, because they are not sealed. Now reading this you may wonder that i might sound silly. The problem is with inheritance here. When there are alot of code in your [.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer (Senior) Siemens
India India
A .net developer since 4+ years, wild, curious and adventurous nerd.

Loves Trekking/Hiking, animals and nature.

A FOSS/Linux maniac by default Wink | ;)

An MVP aspirant and loves blogging -> https://adventurouszen.wordpress.com/

Comments and Discussions