10

Why Smalltalk uses ~= and ~~?

I rephrased the original question in order to avoid my personal opinion. However, it looks like I'm still missing something. Could someone help me see what's objectable with my question? I would also like to know whether it is just a matter of wording or the question itself is off-topic.

6
  • 7
    The comments underneath the question pretty much illuminate it: the only possible answer would be anecdotal. It's not really verifiable whether the answer is true. What exactly is true in this case? If one of the original authors spoke out to tell their story of how this got to be... what would that help you? How would we know that's actually the story? How could we prevent someone from impersonating the author and making something up? This overall does not fit the fact-based character of Stackoverflow.
    – deceze Mod
    Commented Jan 12, 2015 at 2:46
  • 1
    OK. I get it. Thanks a lot. I'll delete the question. Commented Jan 12, 2015 at 2:47
  • 4
    On the other hand, there have been some Java 8 design rationale questions that were very positively received -- likely because Brian Goetz, one of the language/library designers, is active and can/does answer. Similarly, C++ standards committee papers include 'rationale' sections (and before that, there's Stroustrup's D&E book) that factual answers can be based on. Commented Jan 12, 2015 at 3:43
  • 3
  • 3
    I do think that your question could've been a Good Subjective one, and may have been closed too hastily. Indeed, were it still open, I would've offered an answer. As it is not, let me just briefly note here that the use of the symbol ~ for logical negation goes back at least to Whitehead & Russell's Principia Mathematica (first published in 1910), if not earlier. Commented Jan 13, 2015 at 6:16
  • Thanks Ilmari, that's precisely the kind of insight I was looking for. I'm not going to ask why other languages use != for not equal but you really awoke my curiosity... Commented Jan 13, 2015 at 10:48

1 Answer 1

10

The comments on your question explain it pretty well :

Only the creators of Smalltalk are likely able to answer the why of this. – Eric J.

Probably because that's what the people who designed the language wanted to use. Feel free to go design your own language if you want it done differently :-) – paxdiablo

The only person(s) that can answer that are the one(s) who were part of the design team. Anyone else is just guessing why those characters were chosen for those operators. – m-y

Unfortunately your question will only get opinion-based answers which are off topic for SE; the only way to answer your question would be to ask the designers of the language.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .