3 ms·
The first example about spyscope potentially confuses the reader a bit by using it in context of println debugging. The point of it is you can stick it in front
by fulafel 5y ago
The first example about spyscope potentially confuses the reader a bit by using it in context of println debugging. The point of it is you can stick it in front of any form. For a better example, see https://github.com/dgrnbrg/spyscope#spyp https://github.com/dgrnbrg/spyscope#spyp
Otherwise great article, I hadn't heard about scope-capture.
- DaveWM 5y agoThanks! Perhaps the wording isn't great in that paragraph, I intended the phrase "println debugging" to mean the general style of debugging, rather than specifically using the println function.
- zurn 5y agoActually i misread the example as using println instead of str because my brain had been primed by println in the headline!