Live data from Hacker News

Letters: A tiny debugging library for Ruby

lettersrb.com

1–10 of 27 posts

Re: Letters: A tiny debugging library for Ruby

#5
post #3

Didn't check the code out but it looks like p is something like: obj.tap { |x| puts x }

That's the base case. It takes arguments, too, and if you give it a block, it prints out the result of the block called in the receiver's scope.

Cool, looks like a useful library.

Re: Letters: A tiny debugging library for Ruby

#6
This looks pretty cool. At first I had the reaction that it was too simple. I didn't have patience to watch the video, so I just read the homepage.

I think you should at least mention the other "letters" included in the library on the front page. It goes in depth into 'p', which makes it seem like it's all there is. Maybe name some of the other letters, and link to the API docs.

Each individual piece seems pretty small and easy enough to implement, but the package as a whole seems more valuable, having all these little tools in one place.

Nice work

Re: Letters: A tiny debugging library for Ruby

#7

This looks pretty cool. At first I had the reaction that it was too simple. I didn't have patience to watch the video, so I just read the homepage. I think you should at least mention the other "letters" included in the library on the front page. It goes in depth into 'p', which makes it seem like it's all there is. Maybe name some of the other letters, and link to the API docs. Each individual piece seems pretty sma…

This is great feedback, thanks. I updated the docs.
Post reply on HN