Message from JavaScript talks

August 2017

— The problem with logging is the state for the IDDFS is very large and varies, depending on a single flyweight

Message permanent page

— 

So either you get too many logs to read them all, or your logs are not reflecting the real state at the time of the log

— I just rely on breakpoints XD

— Hmmm, why not use Proxy?

— In what way?

— Just make some enumerable props, and have the Proxy tick them off when they get accessed

— "tick them off"? as in label?

— I could put in a strategy algorithm that does that, yeah

— All the iddfs is, is an iterator

— 

var iterator = iddfs(subjectRoot, searchRoot);

var iteration = iterator.next();

var state = iteration.value;

Message permanent page

— *ahem*, you're familiar with Proxy objects?

— As in new Proxy