Ancestors

Written by Jared Norman on 2024-12-06 at 20:48

The good news: I had lots of fun on stream with @marcoroth yesterday.

The bad news: We will be serving life sentences in Ruby jail if the Ruby police ever catch us.

=> More informations about this toot | More toots from jardo@ruby.social

Written by Jared Norman on 2024-12-06 at 20:48

Yesterday’s #AdventOfCode puzzle wasn’t especially tricky, so we took it as an opportunity to play with refinements, a feature of Ruby that are like monkey-patches, but more confusing. You should definitely use them in production.

=> More informations about this toot | More toots from jardo@ruby.social

Written by Jared Norman on 2024-12-06 at 20:48

I have never used refinements before and likely still won’t ever use them in production code, but it was a great stream. We overrode operators. We dynamically defined methods. We changed what the bitwise OR operator does for integers. Totally normal stuff.

=> More informations about this toot | More toots from jardo@ruby.social

Toot

Written by Jared Norman on 2024-12-06 at 20:48

You can find the recording of the stream and a breakdown of our Ruby transgressions over on my blog. https://jardo.dev/advent-of-criminally-bad-ruby-code

=> More informations about this toot | More toots from jardo@ruby.social

Descendants

Written by Jared Norman on 2024-12-06 at 20:48

The end result was some code that I don’t really even think is spoiler for the puzzle, because it’s so incomprehensible. Surely you can’t tell me what this does?

=> View attached media

=> More informations about this toot | More toots from jardo@ruby.social

Written by Jared Norman on 2024-12-06 at 20:48

I’ll be streaming again today at about 2:30pm Pacific and method_missing is on the menu. Come join in the fun! https://twitch.tv/jardonamron

=> More informations about this toot | More toots from jardo@ruby.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113607842483151005
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
310.592308 milliseconds
Gemini-to-HTML Time
1.183185 milliseconds

This content has been proxied by September (ba2dc).