4 ms·
> That means, if it isn't a "syntactically" valid program, you can't create it in the first place. It's an interesting idea. I don't know if it would work for
by WalterBright 7y ago
> That means, if it isn't a "syntactically" valid program, you can't create it in the first place.
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.
- pbiggar 7y agoYeah, 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).