guest - flak

remember to close your casts

When writing C++ code, remember to close your static_cast<type> operations with </type>, as demonstrated in this Facebook post.

close cast

Reminds me of too much email protection, but I’m not sure where it was introduced. Facebook’s online editor? Or some overly helpful text editor used to compose the draft? Doesn’t appear dynamic, but the source for the page is over 300K of impenetrable data spread over a mere 39 lines. Hard to imagine a person actually typing it in as posted.

Posted 2014-05-08 02:22:47 by tedu Updated: 2014-05-08 02:22:47
Tagged: bugs c web