On Thursday, 10 October 2024 at 06:41:00 UTC, Walter Bright wrote:
>On 10/9/2024 3:52 AM, Nick Treleaven wrote:
>In fact any solution not using the written word 'move' or 'copy' does not have intuitive syntax. I don't understand why anyone is trying to argue that using a sigil in a novel way is intuitive.
We have special syntax already for constructors, postblits and destructors. None of it is intuitive -
>we're just used to it.
who is "we"?
you don't value new users?
you don't like fixing past mistakes to make things more consistent?
the only one with special (with a symbol) syntax is the destructor
~this() = 'surf this wave' this()
why cement a bad idea with another symbol, when everything else uses words one can read? and more importantly, search for documentation
do you blindly trust a C++ user? are you a C++ user? do you expect D users to be retired C++ users?
"i am new to D, what is the difference between ~this()
"a" ~ "b"
same symbol that does different things
not only symbols without prefix looks ugly, they are also confusing