[HN Gopher] Ruby delights built into the language ___________________________________________________________________ Ruby delights built into the language Author : codenamev Score : 97 points Date : 2022-12-20 20:51 UTC (2 hours ago) (HTM) web link (technology.doximity.com) (TXT) w3m dump (technology.doximity.com) | halfmatthalfcat wrote: | Point of clarification: how or why did this get boosted to the | front page? I still don't understand how this all works after | being here for years now. | o_1 wrote: | ruby | sodapopcan wrote: | Someone submitted it and people voted on it. | halfmatthalfcat wrote: | I guess I'm either underestimating how many will upvote | middling Ruby articles or the article is better than I | realize. | sodapopcan wrote: | Ruby is still relevant and people are still learning it. | There's some good stuff in there (though I agree I don't | understand the "built in" claim) and stuff I didn't know | after getting back into it after being away from it for a | couple of years. | skitter wrote: | > There are so many Ruby features built in to the language | itself. In the very first episode of this series, we dove deep | into the internals of one such gem bundled with Ruby's standard | library: IRB. Keeping on theme, I'd like to take some time to | explore some other areas of Ruby's source. | | From that introduction I though this would be about different | parts of the standard library, but it's about files from the | example folder. In how far are these built in? | fknorangesite wrote: | > I though this would be about different parts of the standard | library, but it's about files from the example folder. | | All of the examples given use only the standard lib, afaict. | horsawlarway wrote: | Yet there's almost no real discussion of how to use the | standard library here, and a lot of talking about example | code that's mostly useless (seriously - why is biorhythm | pseudoscience #2, and how is displaying a calendar on the CLI | going to help me...?) | | I agree with the top post - I have a _very_ different idea | about what "built-in" means than the author of this article. | Lammy wrote: | > seriously - why is biorhythm pseudoscience #2 | | It's an interactive tutorial on using the `Date` and | `OptionParser` classes and printing stuff to stdout. | | > and how is displaying a calendar on the CLI going to help | me | | It's an interactive tutorial on using the `Date` and | `GetoptLong` classes and printing stuff to stdout :) ___________________________________________________________________ (page generated 2022-12-20 23:00 UTC)