Skip to main content

Timeline for Pointless Code In Your Source

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Dec 18, 2012 at 20:48 history made wiki Post Made Community Wiki by MaxWell
Aug 22, 2011 at 9:21 comment added user Both C/C++ and C#, and I'm pretty sure Java (as well as likely many other similar languages) allow anonymous statement blocks; no need for an if, while or similar construct. It is unlikely to be very clean, but it certainly is allowed according to the language spec.
Aug 22, 2011 at 6:35 comment added FigBug There is no need for the 'if (1)', why not just have the block?
Aug 22, 2011 at 5:08 history answered ndim CC BY-SA 3.0