diff options
| author | Cliff Click <cliffc@acm.org> | 2024-08-04 13:53:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-04 13:53:42 -0700 |
| commit | 3de33d30cdff4e85940f781bfa4c4612af85eee2 (patch) | |
| tree | aca616ef6468ae5cdc816455fd846d822b405d62 /chapter03 | |
| parent | 09ecc9dd4ccf9ce636ae54f820d9c88adf5cce95 (diff) | |
| download | Simple-3de33d30cdff4e85940f781bfa4c4612af85eee2.tar.gz Simple-3de33d30cdff4e85940f781bfa4c4612af85eee2.zip | |
TODO comments (#94)
Diffstat (limited to 'chapter03')
| -rw-r--r-- | chapter03/src/main/java/com/seaofnodes/simple/node/AddNode.java | 2 | ||||
| -rw-r--r-- | chapter03/src/main/java/com/seaofnodes/simple/node/Node.java | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/chapter03/src/main/java/com/seaofnodes/simple/node/AddNode.java b/chapter03/src/main/java/com/seaofnodes/simple/node/AddNode.java index 2d58cb75..7c1968c5 100644 --- a/chapter03/src/main/java/com/seaofnodes/simple/node/AddNode.java +++ b/chapter03/src/main/java/com/seaofnodes/simple/node/AddNode.java @@ -29,7 +29,7 @@ public class AddNode extends Node { @Override public Node idealize () { - // TODO: add of 0 + // TODO: add of 0, and many other peepholes added in Chaper04 return null; } diff --git a/chapter03/src/main/java/com/seaofnodes/simple/node/Node.java b/chapter03/src/main/java/com/seaofnodes/simple/node/Node.java index 504b8e24..82357f9b 100644 --- a/chapter03/src/main/java/com/seaofnodes/simple/node/Node.java +++ b/chapter03/src/main/java/com/seaofnodes/simple/node/Node.java @@ -82,7 +82,11 @@ public abstract class Node { // has to be robust with broken graph/nodes. @Override public final String toString() { - // TODO: This needs a lot of work + // TODO: The print evolves in later chapters. For now, a simple + // recursive print does well. Later with control flow and later still + // with loops, we need some serious algorithm work to get a decent + // print. So you should consider the "print" to always be a work-in- + // progress as we march through the chapters. return print(); } |
