3 ms·
yes this looks definitely very close to live coding. If it can replace live objects on the fly even when already referenced by other live objects its live codin
by kilon 13y ago
yes this looks definitely very close to live coding. If it can replace live objects on the fly even when already referenced by other live objects its live coding in its true form. You just gave me a big reason to add Ruby to my list of languages to learn next :)
I think IPython offers something similar for python too. Its makes me very happy to see live coding making its way through the dynamic languages as I am a huge fan of live coding :)
- vidarh 13y agoI don't think it can outright replace objects, but Ruby objects are extremely malleable, so you could e.g. override each and every method for a specific object to forward to a replacement. Replacing the object entirely wouldn't be impossible, but it'd likely require some more invasive changes.
- kilon 13y agoyes those things Python can do too. Replace methods, recreate objects etc. And probably you can find tons of workaround for things it cant do out of the box. Its not bad, not bad at all :) I really like Ruby :)