On 10/16/2014 7:32 AM, Nicholas Nethercote wrote:
Hi,
I was wondering what people think is the worst piece of code in the
entire Mozilla codebase. I'll leave the exact meanings of "worst" and
"piece of code" unspecified...
<http://dxr.mozilla.org/comm-central/source/mailnews/mime/src/mimedrft.cpp>.
C code masquerading as C++ that use XPCOM classes directly. Manual
memory allocation up the wazoo. Cleans temporary files on error but not
success.
--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform