Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
WalterBright
on Jan 7, 2017
|
parent
|
context
|
favorite
| on:
C99/C11 dynamic array that mimics C++'s std::vecto...
> A possible approach is to use a macro
When macros start being used for metaprogramming in C, it's time to reconsider using C++.
wott
on Jan 7, 2017
[–]
When it's time to reconsider using C++, it's time to consider using something else :-)
Ace17
on Jan 8, 2017
|
parent
[–]
Like the D programming language? :-)
WalterBright
on Jan 8, 2017
|
root
|
parent
[–]
I do see people extending C++ using the preprocessor for more complex metaprogramming. Those should consider D.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
When macros start being used for metaprogramming in C, it's time to reconsider using C++.