News for hackers. Stuff that matters.
Re:Ace, CodeMirror, and Monaco: A comparison of browser code... by jan_Inkepa on Monday March 14, 2022 @06:35PM (#30679395)
> Adopting CodeMirror pushed us to write more in a more functional style that makes the code more fun and simple (not easy) in the shortrun, and more maintainable in the long run!

I had a similar kind of good experience with code-mirror. I was writing my first proper compiler, and making a total dogs dinner of it. As a distraction, I decided to try put together an editor with syntax highlighting with CodeMirror. In the process of just fitting my compiler to the CodeMirror recursive descent parser I ended up bringing my compiler back from the brink of disaster. It feels really nice when a framework/API has enough good-taste/-engineering built into it that it improves code that uses it :)

I'll be interested in seeing how the upgrade to 6 goes - I'll wait until it's officially released, though...

(People've been using said compiler + IDE for about ten years now)

Re:Ace, CodeMirror, and Monaco: A comparison of browser code... by tomcam on Monday March 14, 2022 @11:04PM (#30681257)
You’re killing me here. What’s the compiler?
Re:Ace, CodeMirror, and Monaco: A comparison of browser code... by jan_Inkepa on Tuesday March 15, 2022 @01:35AM (#30681980)
Re:Ace, CodeMirror, and Monaco: A comparison of browser code... by tomcam on Tuesday March 15, 2022 @02:08AM (#30682120)
10 years of supporting your own compiler is pretty damn impressive