DEV Community


Discussion on: What if we would share code instead of packages?

sovietspy2 profile image

Do you mean that every module is a separate blockchain and new versions are blocks?

valeriavg profile image
Valeria Author

That's a good point. Yes, having a separate chain for each module might just work. Though duplicating data with each transaction seems like an overkill. I think Git might have a solution for it though

misobelica profile image

I am not sure I really understand. Isn't the npm/PyPI/... doing exactly that with the versions? Yes, you can delete the package but otherwise where is the advantage? Do you mean something like for Deno or even more advanced somehow?