parinfer

shaunlebron 2017-06-16T15:18:38.646837Z

“oakinfer” was a failed experiment. non-indentation based inference was a rabbit hole of edge cases, even under conservative constraints

shaunlebron 2017-06-16T15:20:03.679849Z

v3 will have onBadInnerParen: 'erase' | 'suspend'. It will default to suspend, and highlight the offending paren. rationale: https://github.com/shaunlebron/parinfer/issues/131#issuecomment-309053770

shaunlebron 2017-06-16T15:21:23.710444Z

i’ll add it to the demo to help plugin authors decide which option they want

cfleming 2017-06-16T22:07:35.186823Z

@shaunlebron Thanks for all the great documentation of your thought process on this (and parinfer in general)

cfleming 2017-06-16T22:07:58.190862Z

It’s very easy to skip this because it’s a lot of work, but it’s amazingly useful

shaunlebron 2017-06-16T22:11:56.232333Z

@cfleming thanks for the encouragement!

shaunlebron 2017-06-16T22:12:26.237596Z

it’s definitely a lot of work. it helps me keep context which I’m always afraid of losing

cfleming 2017-06-16T22:12:37.239237Z

No problem, I wish I had the discipline to document my own work like this, since even in a solo-developer project it’s very useful

cfleming 2017-06-16T22:20:43.317941Z

Cursive has a bunch of very different components, I tend to work on one and then come back to it months later - as you say, it helps context and remember the justification for decisions.

shaunlebron 2017-06-16T22:21:34.326494Z

you probably have a better memory than I do then!

cfleming 2017-06-16T22:22:30.335695Z

Not at all - I spend a lot of time re-reading my code 😞

cfleming 2017-06-16T22:23:07.341570Z

Really, long term, documenting is almost certainly time-efficient, it just doesn’t feel like it when you’re doing it.

shaunlebron 2017-06-16T22:23:37.346644Z

that’s a really good way to put that

shaunlebron 2017-06-16T22:24:08.351570Z

i find it’s like climbing and taking the time to setup an anchor to clip into

1❤️
shaunlebron 2017-06-16T22:26:07.370550Z

i got tired of not finishing projects some years ago, and writing helped me overcome that