Transitioning a Large Rails Codebase into Packages: Seeking Tips and Advice from Experienced Developers

Message originally sent by slack user U7213XMGS3H

I have a very positive pov on packwerk right now, that’s my prior, but i want to hear other perspectives

Message excluded from import.

Message excluded from import.

Message originally sent by slack user U7213XMGS3H

My perspective is pretty basic… it’s a tool

I say this a lot in conversations about many technologies

Message excluded from import.

Message excluded from import.

Message excluded from import.

Message originally sent by slack user U7213XMGS3H

I think perhaps where we keep talking past each other is that it sounds like you’re talking about ideal end states, and I’m talking about a process for improving a system in flight–a system that has problems and bright spots and forgotten spots, etc. it’s a system that is still changing and has many constraints… but we have a session on the books and i’m excited to talk about this

Message excluded from import.

Message originally sent by slack user U72DOM2VVHS

my question about package size is deliberately basic to get a feel for how how teams are thinking about package sizes in general

Message originally sent by slack user U7213XMGS3H

(:joy: in organic chemistry this the difference between thermodynamics and kinetics. you’re talking about thermodynamics, i’m talking about kinetics)

Message originally sent by slack user U7213XMGS3H

<@U72DOM2VVHS> might also be good to clarify… what do we mean when we say “size”? are we talking about public api size? data over the wire? LOC? eng head count?

Message originally sent by slack user U72DOM2VVHS

yes :smile:

Message excluded from import.

Message excluded from import.

Message originally sent by slack user U7213XMGS3H

I have in my mind a set of target conditions…. they’re not exactly what you’re describing but there are a lot of similarities

Message excluded from import.

Message originally sent by slack user U72DOM2VVHS

mostly engineering team size and loc but im not over indexing on any specific answers. most of what i see in this group seems to land on (what i would consider to be) very small packages. my limied anecdotal experience in some corners of shopify was for packages that at-a-glance felt larger than what i’m seeing folks discuss here. i don’t think either is wrong or right, i just like to get a sense of what the community is doing

Message originally sent by slack user U7213XMGS3H

but i also think i believe that code a piece of software is simultaneously an emergent system and something engineered by people. it’s a process of discovery. you’re figuring out what the product is and the shape of the code at the same time

Message excluded from import.