3 ms·
>D has @property functions, which are methods that you call with what looks like field access, so in the above example, c.d might call a function. Rust has oper
by benibela 6y ago
>D has @property functions, which are methods that you call with what looks like field access, so in the above example, c.d might call a function. Rust has operator overloading, so the + operator might call a function.
But I love properties and operator overloading