Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
koenigdavidmj
on Dec 4, 2012
|
parent
|
context
|
favorite
| on:
Go at Google: Language Design in the Service of So...
There's plenty of magic that can be done in the C preprocessor that makes it sometimes possible to #include a file twice with different effects than #include-ing it once.
#pragma once and Objective-C's #import declaration both do that, though.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
#pragma once and Objective-C's #import declaration both do that, though.