4 ms·
Just imagine a programming language where you have to write print "some text," function(), "moretext"; instead of print "some text", function(), "mor
by perlgeek 16y ago
Just imagine a programming language where you have to write
print "some text," function(), "moretext";
instead of
print "some text", function(), "moretext";
- metabrew 16y agoJust imagine having to write perl in the first place ;P
- getsat 16y agoprint "some text," function(), "moretext;"
- InclinedPlane 16y agoprint("some text," function(), "moretext;)"
- limmeau 16y agoIn Forth, you write ." some text" to print 'some text' without the leading blank. But that's for a completely different reason.
- j_baker 16y agoYou know, I think the next INTERCAL may come from ideas like this.
- freiheit 16y agoThat's clearly inconsistent, it should be: print "some text," function(,) "moretext;"
- heyitsnick 16y agoAnd 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"!