twit.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The official Mastodon of the TWiT Podcast Network

Administered by:

Server stats:

1.3K
active users

#ruby

101 posts77 participants14 posts today

I used `protected` for reals in a #Ruby class yesterday, and that’s probably a sign that I’ve gone too far in my refactor.

I think the prevailing culture in Ruby is to forget about language-enforced encapsulation and simply agree to ignore crufty parts of APIs. Honestly that seems to work out ok in practice

Funny thing.
So in most #Ruby web frameworks (works with Roda, Rails and I think Sinatra, at the very least) you can mount other Rack apps to endpoints.
IIRC that's how Rodauth works.
But I haven't seen the ability to mount other WSGI apps in #Python frameworks.
Wonder if there's a technical reason for that, or if it's just, something that isn't needed.