Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
uecker
2 days ago
|
parent
|
context
|
favorite
| on:
I write games in C (yes, C) (2016)
I think it is simpler and "the compiler not helping" == "things are more transparent".
int a = 3; foo(a); // What value has a ?
There are various things one does not have to worry about when using C instead of C++. But the brain needs some time to get used to it.
wasmperson
2 days ago
[–]
I think I get what you're trying to say, but you may have picked a bad example, here:
#define foo(a) a = 12
reply
uecker
2 days ago
|
parent
[–]
Yes, but this is more a theoretical problems while references are common in C++.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: