Y
Hacker News
new
|
ask
|
show
|
jobs
by
ryao
300 days ago
Unlike OOLs, C does not enforce contracts around structures (objects). You are free to do literally anything you want to them.
1 comments
pjmlp
300 days ago
Including implementing Abstract Data Types, thus everything on the structs is only accessible via functions that enforce the contracts.
link