top | item 43965786

(no title)

drogus | 9 months ago

While I agree with the sentiment here, ie. that Ruby doesn't necessarily need namespaces, I think it's also not necessarily good to base Ruby usage on what Shopify is doing. They have so many expert Ruby devs, and whole teams that write extra tooling, that I'd argue they shouldn't be compared to pretty much most of the usage of Ruby/Rails out there

discuss

order

byroot|9 months ago

Shopify would benefit a ton from "some" namespaces. In a way, packwerk[0] was an attempt at bringing some namespaces benefits.

But I don't personally think Shopify would benefit from this specific implementation of namespaces (a couple colleagues do). I'm personally not even sure Namespace is a proper term to describe that feature. It's more some sort of lightweight sandboxing to me.

Also:

> They have so many expert Ruby devs

If anything, the average Ruby expertise at Shopify is likely noticeably lower than in most Ruby/Rails shop.

[0] https://github.com/Shopify/packwerk