3 ms·
Everything in programming is trees. If you write a program that calls functions, that call other functions, that's a tree.
by pessimizer 11y ago
Everything in programming is trees. If you write a program that calls functions, that call other functions, that's a tree.
- dalke 11y agoI 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 11y agoUnlikely. Unless a single function corresponds to a possibly infinite set of nodes, most programs are not trees.
- pessimizer 11y agoA single node is a tree. main() is a tree.