«« Next » « Previous
«« Next » « Previous

Link Details

If you don't vote, who will? Login and vote now.
Link 948 thumbnail

By hoskinator
via hoskinator.blogspot.com
Published: Jun 23 2006 / 08:49

An article about why you should make objects immutable and initialize them only in the constructor.
  • 17
  • 0
  • 305
  • 294
SaveShareSend Tags: none

Comments

Add your comment
User 190346 avatar

ilazarte replied ago:

0 votes Vote down Vote up Reply

Who uses constructors these days... Everything is auto-initialiazed for you :\

User 201716 avatar

unchqua replied ago:

0 votes Vote down Vote up Reply

For you, everything is auto-initialized, but it implies that somebody have wrote that magic code, and this atricle is for them."These days" is not an absolute rule, there always are exceptions.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.