P
Peter Seaman
I do recognise a number of very appealing features of C#, in particular the
strong typing and the need in some contexts to be very explicit regarding
your intention. But the most common operator - assignment -seems to me a
right source of confusion and mistakes because it has two very different
meanings. Why not have one syntax for value assigment and a different
syntax for aliasing? With classes you might be permitted both types of
assigment if the target is not null. Hypothetical question I know but I'd
be interested in people's opinions.
Peter Seaman
strong typing and the need in some contexts to be very explicit regarding
your intention. But the most common operator - assignment -seems to me a
right source of confusion and mistakes because it has two very different
meanings. Why not have one syntax for value assigment and a different
syntax for aliasing? With classes you might be permitted both types of
assigment if the target is not null. Hypothetical question I know but I'd
be interested in people's opinions.
Peter Seaman