Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
pessimizer
9y ago
0 comments
Share
Everything in programming is trees. If you write a program that calls functions, that call other functions, that's a tree.
0 comments
default
newest
oldest
dalke
9y 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.
cjhopman
9y ago
Unlikely. Unless a single function corresponds to a possibly infinite set of nodes, most programs are not trees.
pessimizer
OP
9y ago
A single node is a tree. main() is a tree.
j
/
k
navigate · click thread line to collapse