Y
Hacker News
new
|
ask
|
show
|
jobs
by
danlcaza
542 days ago
Heap allocation is necessary in real-world scenarios because it allows a tree of potentially derived widget types to be manipulated easily. This is precisely how any robust GUI library is implemented.