Y
Hacker News
new
|
ask
|
show
|
jobs
by
tsegers
990 days ago
I'd argue @ is more suitable for a dereference operation than an "address of" one. It functions that way in an email address too.
4 comments
bsza
990 days ago
Also, then "int @p" would read "integer at p" which is exactly what "int *p" means.
link
frou_dh
990 days ago
That's precisely what Clojure did, where @foo is syntactic sugar for (deref foo)
link
amelius
990 days ago
So address-of could be an "@" symbol, but upside down.
link
anticensor
990 days ago
Or a spanish question mark ¿.
link
robertlagrant
990 days ago
Ah yes - that's true.
link