Y
Hacker News
new
|
ask
|
show
|
jobs
by
pessimizer
3713 days ago
Everything in programming is trees. If you write a program that calls functions, that call other functions, that's a tree.
2 comments
dalke
3713 days ago
I believe continuation-passing style is an alternative to the direct style you mention. Return-oriented programming and threaded programming may be specific counter-examples.
link
cjhopman
3713 days ago
Unlikely. Unless a single function corresponds to a possibly infinite set of nodes, most programs are not trees.
link
pessimizer
3713 days ago
A single node is a tree. main() is a tree.
link