[PD] pd at startup creates 2 canvases, why?

IOhannes m zmoelnig zmoelnig at iem.at
Mon Dec 12 09:46:36 CET 2011

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....

Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111212/c14308f6/attachment.bin>

More information about the Pd-list mailing list