And with Ruby, especially since you mention Smalltalk, we have a tool that is getting closer to the kind of live introspection and modifi...
And with Ruby, especially since you mention Smalltalk, we have a tool that is getting closer to the kind of live introspection and modification that Smalltalk is famous for: Pry [1]. Pry lets you call "binding.pry" anywhere in your program to dump you into a shell within that context, with full access to local variables etc.. And tab-completion and plenty of introspection features. I frequently find myself triggering Pry in the middle of handling http requests if something doesn't work, for example. Letting me inspect the environment, modify stuff, and when I exit the request is completed. It can also do things (with some limitations) like bring up an editor to where the current method was defined, and let you edit and reload the code. And you can attach to it remotely using Drb in case the app in question doesn't run attached to a terminal. At this point it's almost criminal to do Ruby development without Pry. [1] http://pryrepl.org/
Posted by vidarh on Oct 23, 2014, 8:20 AM
Tags
Related issues
- That's the biggest problem with iOS because Apple can be ordered to block them from the App Store and it would be instantly kill these pr...
- I'm intrigued about the "Trip Planner" being a top-level app.
- This asymmetry is IMO the biggest problem with AI-driven output.
- This is one of the most important objectives in software today.
- At least in Europe - these rouge corporations need to be reined in or just leave the market.
- I was skeptical, but this looks genuinely useful.
Raise real-world problems, find people facing the same issue, and discuss solutions.9,000 issues0 comments
hackernews (SaaS)
That's the biggest problem with iOS because Apple can be ordered to block them from the App Store and it would be instantly kill these pr...
I'm intrigued about the "Trip Planner" being a top-level app.
This asymmetry is IMO the biggest problem with AI-driven output.
This is one of the most important objectives in software today.
At least in Europe - these rouge corporations need to be reined in or just leave the market.
I was skeptical, but this looks genuinely useful.
Why has she gone through so many iPhones?
The biggest problem with Europe is the lack of innovation.
And with Ruby, especially since you mention Smalltalk, we have a tool that is getting closer to the kind of live introspection and modifi...
And with Ruby, especially since you mention Smalltalk, we have a tool that is getting closer to the kind of live introspection and modification that Smalltalk is famous for: Pry [1]. Pry lets you call "binding.pry" anywhere in your program to dump you into a shell within that context, with full access to local variables etc.. And tab-completion and plenty of introspection features. I frequently find myself triggering Pry in the middle of handling http requests if something doesn't work, for example. Letting me inspect the environment, modify stuff, and when I exit the request is completed. It can also do things (with some limitations) like bring up an editor to where the current method was defined, and let you edit and reload the code. And you can attach to it remotely using Drb in case the app in question doesn't run attached to a terminal. At this point it's almost criminal to do Ruby development without Pry. [1] http://pryrepl.org/
Comments (0)
No comments yet. Start the discussion.