I love C# but, for example, a simple a conditional like the following is quite verbose for what it's trying to achieve:
if ( (ctr == "BT") || (ctr = "B") ) {
ctrName = "Brian";
} else if ( (ctr == "G") || (ctr = "GD") ) {
ctrName = "George";
}
I was thinking that in an ideal language it could be coded something like:
if ctr:
in {"BT", "B"}: ctr = "Brian"
in {"G", "GD" }: ctr = "George"
Is there any language more like that?