164 points · by madlag · 14y ago · 52 comments
Still, it just occurred to me that one could use integration with scm like git or mercurial to get the same kind of benefit as the Smalltalk change log+image.
What if every change to a function was snapshotted, and the developer could easily scroll/flip through these snapshots? Merging the change back to a main branch would then be like image saving in Smalltalk. This would give developers the ability to try really risky development, since they would always be able to quickly get back to a previous state.
(This can already be done, but by making the integration really seamless, it has a synergistic effect with development.)
But you should disable them by default, they are confusing!
Edit: Why the downvote(s)?
It's not your fault, but YouTube's. I just find computer generated gibberish funny.
Sorry, I've been a professional in Smalltalk since 1998, and I've never encountered a corrupted image. The closest thing I've seen to that is de-sync with source code. (Which you don't care much about if you're using SCM, for the same reasons everyone else uses SCM.)
stateful (wtf were they thinking?) web-apps.
Same things others were thinking at the time -- you're just seeing a slice of history. People still rave over the debugging in Seaside like it's magic, though.
Typing `C-c p d b` in my Emacs inserts this macro:
import sys; sys.stdout = sys.__stdout__; import ipdb; ipdb.set_trace()
All the benefits of a Lisp REPL and a Smalltalk debugging environment in a language people actually use. Tab-completion, dumps, breakpoints, testing assumptions/data, running arbitrary code inside a specific environ...the works.
I can use it in my virtualenvs without having to explain to an IDE what a virtualenv, a running test in Nose, a normal script, or a running web server. It's normal code so I can wrap the trace in a condition or whatever else I want.
(I've often said around here that things would've worked out better if there wasn't such a barrier between stuff happening in Smalltalk and outside in the OS -- community wise. But if you're willing to play just in the Smalltalk sandbox, it's a pretty awesome experience.)
I have been using it daily for a few months now, it's a bit like re-discovering coding because it's just way more fun to code with it.
And I will definitely consider creating a Kickstarter project.
# List your project dependencies here. # For more details, see: # http://packages.python.org/distribute/setuptools.html#declar...
then people might try out your software more easily.
"Nope, that's a bad idea right there in you thoughts."
"WARNING: Usage of public pools during hot weather is deprecated. Misuse may lead to a degradation of your insurance policy. At short-term-alpha memory, synapse group #23AE18-123, phase shift 3"