Re:Interrobang
by snarfy on Tuesday July 10, 2018 @10:33PM
(#17504021)
I can't seem to find the ‽ key on my keyboard.
[ Parent
| on HN ]
APL would like to have a word: https://en.wikipedia.org/wiki/APL_(codepage)
On Linux with the Compose key enabled, it's Compose, !, ?.
Re:Interrobang
by hurpaDurpa on Tuesday July 10, 2018 @10:41PM
(#17504062)
Well, obviously, the compiler could also interpret the consecutive use of each of the two distinct characters question mark (?) and exclamation point (!). But it would have to tolerate both options to remain convenient (?! and !? have the same effect).
Meanwhile the interrobang (‽) would really be an Easter egg.
Re:Interrobang
by simcop2387 on Tuesday July 10, 2018 @11:17PM
(#17504214)
most languages wouldn't work properly with ?! as that could be already valid (unary ! operator meaning not, and ? being used for the ternay operator). So you can't distinguish between: foo ?!bar : baz and an interrobang like operator. !? on the otherhand is likely to already be invalid and be parseable as an interrobang since it wouldn't already be valid to have a ? immediately following a ! in many languages. Having both work might be nice, but is likely impracticle for backwards compatibility.
You can't‽ But it's right there‽
With ligatures you can just use ?! and make it look that way.