Doxory?

ntn has decided I'm writing a programming language

Asked 2 years ago

use the keyword "is" talk about identical equality (ex. "if a is b{...}")

uberjay
I guess I like "is" for equality, and would prefer something like "handles" or "supports" for your other case. For reference, ruby uses "responds_to" to check for method existence.
Richie
"is" is a terrible word. It will certainly confuse people whose first language is not English. Does "is" mean "permanent state" ("the mountain is high") or "transitory state" ("he is outside at the moment")? Other languages distinguish these with different verbs. Also, "is" does not mean "has", so your first example might be better expressed as "if a has printability" or much more simple as "if a can print". For the second example, I would suggest "if a equals b" for clarity. I would, however, recommend not using words at all in a programming language if possible. Real engineers use better constructs.
kevinr
I think your question implies that 'is' should either be used for both, or is should only be used for identity, and 'has' should be used for the posession of a property.

nelhage, zellia, quince, ctl, Lex, Yoyo, paigep, shadow, ocschwar, michael, geoff

My choice: use the keyword "is" to talk about having a property (ex. "if a is printable{...}")

jmorzins
Any brilliant advice would certainly be appreciated. Shameless advocacy is often good, too.
kyrandil
but why not both?
shabble
property is theft. Embrace the state.
Kitty
If your language is intended to have operator overloading, the equality operator should be overloadable and I personally prefer operators to not be keywords (new notwithstanding).

Alex, Ian, crs, trs, aletta, seph, jtu, lakmiseiru, susannah, jesse, tibbetts, raf, riv, jonas, sauergeek, daveman692, jake, zkzkz, Diane, acme, Kake, Combaine, transistorman, fuggles

If you make a stupid choice because a website tells you to, it's your own damn fault.