I've never been a fan of the $$ syntax for calling @category functions. For one, it uses two characters, which is only otherwise done for certain comparison and boolean operators.
: should work, e.g., Foo:create<?>("hello") instead of Foo$$create<?>("hello"). It seems to be the only convenient character that isn't already in use. This won't preclude using : in the future for @value operations, e.g., a ternary operator like C++ has.
I've never been a fan of the
$$
syntax for calling@category
functions. For one, it uses two characters, which is only otherwise done for certain comparison and boolean operators.:
should work, e.g.,Foo:create<?>("hello")
instead ofFoo$$create<?>("hello")
. It seems to be the only convenient character that isn't already in use. This won't preclude using:
in the future for@value
operations, e.g., a ternary operator like C++ has.