Re:The naked truth about writing a programming language (2014)
by pbiggar on Sunday May 03, 2020 @12:09PM
(#23059870)
Yeah, I think a bunch of people work like that. We've had the feedback that some people have had to change their workflow to work well with Dark.
People generally use what we call "trace-driven development", where they make a HTTP request to the code they're editing (typically, people are making APIs or backends to JS apps), and then they always have "live values" of what they're working on (similar to a REPL, or to running unit tests on a loop, but instantly).
It's an interesting idea. I don't know if it would work for me, though. I don't write code as a stepwise refinement of a valid program, I massage the text gradually into a valid program. This is especially true when refactoring.