3 ms·
My first thought on reading the headline, was that this was about a construct/directive/command that should be in interpreters, like irb/ruby, that often save t
by e12e 7y ago
My first thought on reading the headline, was that this was about a construct/directive/command that should be in interpreters, like irb/ruby, that often save the last return value as _ (underscore) :
> x=3 ; y=2
=> 2
> x + y
=> 5
> _
=> 5
> _why?
=> x + y
> _why?
=> x=3 ; y=2
Oh well... Then I tmrealized it was probably about what it is about ;)
- icebraining 7y agoThat seems like a nice feature, yes. Reminds me SHRDLU, where you could ask the computer "why did you do that?" recursively: https://en.wikipedia.org/wiki/SHRDLU#Excerpt https://en.wikipedia.org/wiki/SHRDLU#Excerpt