News for hackers. Stuff that matters.
Re:I Love Ruby by vidarh on Tuesday December 19, 2023 @03:49PM (#38701332)
If running a tool like pry (which is not a traditional debugger, for that we have rdbg) slows you down, then that is a tooling problem. Instead of just reading the code, you can read it and explore the API live. To me that's usually far faster beyond a couple of pages worth of code, because you see how the code actually works rather than how you imagine it should.
Re:I Love Ruby by jupp0r on Wednesday December 20, 2023 @11:21PM (#38716987)
You have to find a way to get to that particular statement in the code though. That can be super hard in itself.
Re:I Love Ruby by vidarh on Thursday December 21, 2023 @05:29PM (#38728006)
How? That's what things like pry and show-method makes trivial.