Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rudiger
on May 13, 2012
|
parent
|
context
|
favorite
| on:
*JS : Low-Level JavaScript
I've always written it before the variable, as int *x. A pointer to something isn't really a new type, is it?
haileys
on May 13, 2012
[–]
A pointer to T is definitely a different type to T itself:
http://codepad.org/ztUjn7g8
rudiger
on May 13, 2012
|
parent
[–]
What I mean to say is, if T is a type, then a pointer to T is certainly different from T, but a "pointer to T" isn't a new type. The C type system includes the single type "pointer."
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: