From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
11–20 of 109 posts
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#12I'm begging you, just use a language that compiles to a single binary. It can self update in place, be easily installed on developer machines and CI pipelines without requiring a whole additional toolchain in every container. Google, Heroku, AWS, Shopify all do and it's an awful developer experience.
Is there a library that does self updating in place for binaries? Go is the langage that comes to mind when talking about single binary, so maybe a go library?
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#13I'm begging you, just use a language that compiles to a single binary. It can self update in place, be easily installed on developer machines and CI pipelines without requiring a whole additional toolchain in every container. Google, Heroku, AWS, Shopify all do and it's an awful developer experience.
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#14I'm begging you, just use a language that compiles to a single binary. It can self update in place, be easily installed on developer machines and CI pipelines without requiring a whole additional toolchain in every container. Google, Heroku, AWS, Shopify all do and it's an awful developer experience.
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#15Interesting. TIL about the Open CLI framework that they all seem to be moving to: https://oclif.io/
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#16I'm begging you, just use a language that compiles to a single binary. It can self update in place, be easily installed on developer machines and CI pipelines without requiring a whole additional toolchain in every container. Google, Heroku, AWS, Shopify all do and it's an awful developer experience.
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#17PSA: The singleton context configuration is probably the most disgusting thing I've seen in Ruby culture. Please do not bring this practice to node -- I've already witnessed this crime in shopify SDKs and stripe.
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#18Earlier quoted context omitted.
more background info https://blog.herokuapp.com/evolution-of-heroku-cli-2008-2017 Their version 6, started with Ruby, then go/node, then pure node. https://github.com/heroku/cli "This is the next generation Node-based Heroku CLI. The goals of this project were to make plugins more flexible, remove Ruby as a runtime dependency, and make the CLI faster. [...] It has identical functionality to the old Ruby CLI."
The original article has no relation to Heroku, that's why the downvote.
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#19Sure, 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 Partner / Expert / App Developer)
I've spoken to some Shopify employees and they all agreed that the developer teams are a bit of a mess. It seems like nobody managing the developer products are actually using the end results, otherwise they'd realize the hoops needed to work through (unless you are starting a brand new project right now --- and hoping that they don't decide to change it all, like they have 5 times in the past 3 years)
Re: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience
#20I'm begging you, just use a language that compiles to a single binary. It can self update in place, be easily installed on developer machines and CI pipelines without requiring a whole additional toolchain in every container. Google, Heroku, AWS, Shopify all do and it's an awful developer experience.