-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-12-11 21:22, Ivica Ico Bukvic wrote: > > I stand corrected. So, the next question is, is it considered "good > coding practice" to explicitly call destructors, or is this one of those > quod libet kinds of things?
"explicitely calling destructors" is a bit vague in this context. you question should rather be termed: "is it considered 'good practice' to explicitely call destructors on exit". anyhow, i believe "good practice" depends on a number of factors; so you cannot simply say that using CamelCase is good practice whereas using hungarian notation is bad practice. personally, i prefer if the program does call dtors on exit, since there are a number of ressources that cannot be automatically freed by the operating system due to their very nature. if your Pd-patch controls the facilities in your flat, you might want it to shut off the light if the patch is powered down in order to save energy. the operating system most likely will not send the appropriate commands to your arduino.... fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7lv2kACgkQkX2Xpv6ydvQWxACdHaYtDyHwMWomp3PCzPLSYSzA xiMAoMWlvetU+NUl3c3cogIGysr3LMYQ =VuWS -----END PGP SIGNATURE-----
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
