Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Gibbon1
78 days ago
|
parent
|
context
|
favorite
| on:
What to do with C++ modules?
I've really wanted that in C for a long time. It seems like a very trivial thing as well.
WalterBright
78 days ago
[–]
Yeah, it's actually easy to implement, too.
It replaces the preprocesser:
#define Q abc.T
with hygiene. Once you get used to it, it has all kinds of nice uses.
StilesCrisis
78 days ago
|
parent
[–]
C++ code generally uses `using` for typedefs. Macro-based typedefs are exceptionally rare and frowned upon.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: