Link Details

Link 54338 thumbnail
User 111696 avatar

By bloid
via stephan.reposita.org
Published: Nov 23 2007 / 18:43

When reading about reflection on the beautiful code website I thought about solving some problems with reflection and finding new solutions to old problems. One problem is boring code when writing a copy constructor. A copy constructor is a constructor which takes another object and copies it’s attributes. This is often useful when copying objects or moving objects to different system layers.
  • 11
  • 1
  • 1397
  • 514

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.

Voters For This Link (11)



Voters Against This Link (1)