Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
benibela
on March 17, 2022
|
parent
|
context
|
favorite
| on:
C Isn't a Programming Language Anymore
Kind of.
A pointer to type A is:
var B: ^A
The parser knows it is a declaration because of the var, and it knows ^A is the type, because of the colon. That it is a caret does not really matter here
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
A pointer to type A is:
The parser knows it is a declaration because of the var, and it knows ^A is the type, because of the colon. That it is a caret does not really matter here