6 ms·
> If your language doesn't have a REPL, your language is less productive Am I the only one who sees this as pure BS? Some people like REPL's, and that's cool.
by bluejekyll 9y ago
> If your language doesn't have a REPL, your language is less productive
Am I the only one who sees this as pure BS? Some people like REPL's, and that's cool. But not everyone. I find it utterly annoying that in any REPL I've ever used I first have to import (or similar) the libraries I want access to in that repl environment. You end up generally writing a file to do the imports for you, or cutting and pasting.
With all that effort I almost always find it easier to just write a test-case, even in languages with a REPL. At that point I have a repeatable and testable piece of code that can be run, with almost zero error due to the REPL environment not being setup properly.