in reply to Re^7: Re-blessing || Re-constructing objects
in thread Re-blessing || Re-constructing objects

The person trying to debug this code later may not agree that doing something so strange and unexpected just to save a few lines was worth it.

Possibly. But the very few occasions I have used the technique the motivation hasn't been to save lines of code. It's been to provide a simpler and clearer solution than the alternatives. I can only hope I succeeded.

  • Comment on Re^8: Re-blessing || Re-constructing objects