Re:Show HN: 15-question language identification quiz
by dunham on Thursday July 13, 2017 @09:17PM
(#14766726)
Same here, because I knew they intersected and presumed it was a trick question. Technically, I believe it is neither valid perl nor PHP because it's missing an opening brace on one of the if statements.
[ Parent
| on HN ]
Re:Show HN: 15-question language identification quiz
by sethrin on Friday July 14, 2017 @06:48AM
(#14768829)
PHP lets you skip using curly braces for conditionals. I've seen real-world code which used this style only once, and it was about as bad as you'd expect.