5 ms·
I don't want to be a skeptic, this question is serious, but has anyone produced a large project that used live-editing? I've never seen any example, they are a
by mchahn 11y ago
I don't want to be a skeptic, this question is serious, but has anyone produced a large project that used live-editing? I've never seen any example, they are all small code snippets. Any example would be appreciated.
- azhenley 11y agoI'm interested in hearing about this too. If it counts, I certainly use R and Python in a live-ish manner but without a lot of the IDE support to truly make it live.
- detaro 11y agoGames/game-engines often can change scripts or even C code out on the fly, so they are at least partially build live. Working in Smalltalk images can be "live-editing", if you run your application at the same time. Both of these examples work on a method-basis: you change the code, trigger a rebuild the method and it is used from then on, not automatically after each change/keypress. There is a bunch of live-coding stuff for creating music, but that often is used with smaller programs and writing the entire program as part of the performance. I think here the more important thing is that it doesn't work on source code that is then parsed and compiled, but directly on a tree structure representing the program. Live-coding is sort of a side effect, because you a) don't have to reparse everything and b) always can have a state that is a valid program.
- AgentME 11y agoLive editing works great with React with react-transform-hmr. It's easy to use with most web apps using React.
- TheAceOfHearts 11y agoI use Webpack's Hot Module Replacement [0] along with Redux [1] and React. It's extremely useful for iterating on user interfaces. You just save and your styles and markup update without having to reload. Furthermore, Redux has a devtools library [2] (you can view a gif of it in action in the repo) that lets you do time-travel for debugging purposes. I don't use it much, but it can be occasionally useful. [0] http://webpack.github.io/docs/hot-module-replacement-with-webpack.html http://webpack.github.io/docs/hot-module-replacement-with-we... [1] http://redux.js.org/ http://redux.js.org/ [2] https://github.com/gaearon/redux-devtools https://github.com/gaearon/redux-devtools
- tlarkworthy 11y agoMinecraft
- ktRolster 11y agoI did it for a while ~2006 using ASP.NET, although it wasn't as in-depth as this. It was kind of cool, but after a while it was easier to just use text and view it in a browser. I think it would be more useful to build a tool that helps visualize the overall structure of a program. The usefulness of such a tool would increase as the size of the program increased.
- fsloth 11y agoSimilar mechanisms at least have been around. Visual studio has had support for "edit and continue" functionality for ages when debugging.
- Grue3 11y agoDepends on what qualifies as live-editing, most Lisp software is produced by incrementally adding code into a live image.
- sambeau 11y agoI would argue that most browsers qualify in this regard these days (at last partially). Live editing has transformed how I work when creating web apps.
- moron4hire 11y agoI usually design and develop new features for Primrose from within Primrose. http://www.primrosevr.com http://www.primrosevr.com
- rch 11y agoYou can watch video of Notch live-editing Prelude of the Chambered from a few years back.