evhub / rabbit

Rabbit is a modern, functional programming language built on top of Python.
13 stars 1 forks source link

Don't calculate debug output until it's needed #90

Open evhub opened 10 years ago

evhub commented 10 years ago

Delay formatting on printdebugs by always passing lambdas instead of strings when there is computation to be done that will be evaluated only when the debug output actually needs to be shown.