When comparing ed vs Light Table, the Slant community recommends Light Table for most people. In the question“What are the best programming text editors?” Light Table is ranked 25th while ed is ranked 49th. The most important reason people chose Light Table is:
With LT's inline evaluation, you don't have to re-compile your whole source file. Each time you want to see an output, all you have to do is hover your cursor over the line you'd like to evaluate and press `ctrl+enter`; LT will evaluate that line of code for you.
Ranked in these QuestionsQuestion Ranking
Pro ed is the standard text editor
As the standard text editor,
ed is available on multiple systems.
Pro Consistent UI
ed has a consistent user interface and error reportage.
Pro Inline evaluation
With LT's inline evaluation, you don't have to re-compile your whole source file. Each time you want to see an output, all you have to do is hover your cursor over the line you'd like to evaluate and press
ctrl+enter; LT will evaluate that line of code for you.
Pro Your code runs live as you write it
The "Watches" feature lets you see your code running live as you type it. This means that you can debug your code live while writing it, which leads to considerably less programming errors.
Pro Plugin manager available
LT has a plugin manager built directly inside of it. This plugin manager connects to LT's own registry of plugins, so whenever you want assistance while writing your HTML, JS, or even Python, just open up the plugin manager, search for it, and click the little install button beside it's name. Your plugin will then be installed.
There's absolutely no need for ed when you have sed and ex.
Con Not a lot of features
While extremely fast and simple, Ed is simply not for programming for a long time because it lacks a lot of important features. It should be used instead for quick edits.
Con Not a persistent UI
You can only view portions of a file through search or regular expression commands. You cannot scan or scroll through a file using the available screen real-estate.
It's not too dissimilar in use to command-line tools (such as grep and sed) for editing a file. In fact, both grep and sed are based on how interaction is performed with Ed.