/Pointerless

Passed by value or reference? Not that obvious in a pointerless language.

Primary LanguageC#Creative Commons Zero v1.0 UniversalCC0-1.0

Pointerless Ambiguity

There are many languages which do not reveal pointers directly to the programmers.

That is not a defect. That is an intentionally designed feature. But...

var ValOrRef = new Quiz.StructOrClass();

Mutate(Who: ValOrRef);

Is that variable a value or a reference? Has it changed its internal state or not?

It depends on the context. Without pointer notation, it is not obvious at a glance #.

One should check # whether the type is declared as plain-old-struct or nullable-class.

Yeah, passing by "ref" is a very trivial job, but it feels not that elegant...

Is there any better language design?