- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Yeah, I'd take Lisp over S-expressions-in-XML any day of the week.
Filed under: Lisp is more readable than trying to code in XML...which should be a sign that code-in-XML is a bad idea
Admin
There's not enough XML. The regex should've been represented as an AST.
Admin
FTFY
Admin
Strictly speaking, yes, reading from a union member which was not the most recently one written to is UB in all flavors of ISO C.
However, it is an extremely common idiom and is well-supported by all major compilers. As a practical matter, reading and writing to any member of a union, in any order, is acceptable practice. (source)
Admin
Admin
Okay, so if Javascript was designed to manipulate data like XML in a browser, give me one good reason why Javascript can't / shouldn't be used to do the exact same task outside a browser. Or in any non-browser application which parses XML and needs a scripting language with which to manipulate it.
Admin
Node.js. I'm not sure if that's proof that you can, or proof that you shouldn't.
Admin
http://tvtropes.org/pmwiki/pmwiki.php/Series/Sherlock
Admin
That show is a fair bit of brilliant; I recommend it to anyone ;)
Admin
"...instead of vigorously nodding his head..."? I think you mean "shaking," there, sport. "Nodding" means "agreeing."