I don't understand going from Ruby to JS. Go or Rust sure, but Node for CLI? What is gained by doing that lateral move?
From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
61–70 of 109 posts
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#62Cool. But god, the Shopify CLI / developer experience has degraded so much in the past few years. With the newest iteration, they want a full app re-structure just to work with the CLI properly. It is absolutely brutal. Sure, before they had basically no tooling, but then they had some basic ones that everyone was basically happy with, and then they just decided to iterate too much. (saying this as a ~ 8 year long Pa…
I've found some ok golang api clients which seem to do the trick so far.
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#63Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#64I don't understand going from Ruby to JS. Go or Rust sure, but Node for CLI? What is gained by doing that lateral move?
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#65So who's left, basically Github?
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#66Questionable decision making. Why not use Go when minimizing runtime dependencies is first priority? I’d probably just have cleaned up the Ruby code and used something like Ruby-Packer to create binaries. When typing is so important why not use rbs? Makes no sense to me.
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#67At MAANGs, Rust is taking over and Go is waning. Go allows for quick productivity from 0 but it plateaus due to an unwillingness to add features. Rust has a Haskell/Nix/(fancy tool) problem but it has a good productivity curve that keeps going. Sometimes worse is better as UNIX people might recall.
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#68Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#69Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#70Earlier quoted context omitted.
My read on this is they just wanted to cut out Ruby and do everything in Node. That's fine as a decision, but rest of the article feels like just trying to justify it after the fact. Like someone at the top decided, now lets pretend it's a good decision. As you mentioned, if they're not OK with CLI, they could refactor in Ruby. The whole "embracing functional programming" and MVC architecture (i think Rails when i he…
> Like someone at the top decided, now lets pretend it's a good decision. It might not even be a top thing, if they migrated internal eng from Ruby to node internally I would not be surprised if this was dev-driven either