Re:The Rise of "Logical Punctuation".
by perlgeek on Friday May 13, 2011 @06:01AM
(#2544131)
Just imagine a programming language where you have to write
instead of
[ Parent
| on HN ]
print "some text," function(), "moretext;"
Re:The Rise of "Logical Punctuation".
by InclinedPlane on Friday May 13, 2011 @06:35AM
(#2544185)
print("some text," function(), "moretext;)"
Just looking at this make me physically uncomfortable.
A closing parenthesis would never be moved inside quotation marks in any system I know of.
You know, I think the next INTERCAL may come from ideas like this.
In Forth, you write
." some text"
to print 'some text' without the leading blank. But that's for a completely different reason.Just imagine having to write perl in the first place ;P
That's clearly inconsistent, it should be:
print "some text," function(,) "moretext;"
Re:The Rise of "Logical Punctuation".
by heyitsnick on Friday May 13, 2011 @04:50PM
(#2546135)
And the American system is very inconsistent as well. Exclamation marks and question marks would lie logically outside in the American system. For example:
- And then he told me he was 'sleeping in late.'
But:
- "What did he mean when he said he was "sleeping in late"?
- And can you believe it, he was "sleeping in late"!