News for hackers. Stuff that matters.
Re:How Shopify Manages API Versioning and Breaking Changes by mr__y on Thursday December 19, 2019 @10:20AM (#21835583)
>those apps continue to be updated and utilizing the latest features.

while this is orthogonal to Shopify API or your post at all, since you mentioned the need of updates, I just wanted to use that opportunity to vent my frustration with the constant push to update everything all the time and judging any piece of software by using "when was the last update" as a metric.

The problem I see is that not all apps or libs need (frequent) updates, many (maybe most) do need them, but some don't. They provide some functionality, they do that well and you could call them "complete". Maybe some security fix could be needed from time to time, but with a mature code being in use for many years event those are not frequent.

For example, consider something like ping utility. It does what it does for many decades. There was a need to add IPv6 support, but that was almost two decades ago. Why would anyone need to update it? I do not want any additional functionality, I don't want it to send emails or have social media share button. I want it to send ICMP echo requests and receive ICMP echo replies and nothing more. Aside from some security fixes no updates should be needed for 10+ years. This utility is done. It should not be thrown upon just because there were no updates for many years.

While of course neither ecommerce or Shopify platform are "done" and they get many updates now and will get updates in future it does not mean that some functionalities could have reached "done" stage.

For a "complete and done" addon, there could be a need for a security fix from time to time. There could be a need for some adjustments if a major browser introduces a new deviation from JS/CSS/HTML standards and forces everyone to update their code. But those events happen from time to time, possibly not that frequently. This means that some addon/plugin would not require any updates during the periods between those events and those periods could be many months/years long. But hey: "this addon did not receive any updates for 13 months, it must be really bad and should be avoided". This leads to a situation where a competing solution with tons of bugs will look better just because it receives two updates a week.

Re:How Shopify Manages API Versioning and Breaking Changes by pc86 on Thursday December 19, 2019 @12:44PM (#21837232)
Well first of all I think it's a straw man to imply that anyone would want to send emails or share to Facebook out a ping utility. That's sort of a big thing that makes utilities different than applications.

Edit: I deleted a couple sentences and realize now this might not convey exactly what I meant. Utilities are easy to call "done," applications are not. Applications interact with external forces who do change constantly (other software, business processes, law and regulation, etc). I think in general, updating applications is a necessary thing, bordering on good, regardless of circumstances.

Re:How Shopify Manages API Versioning and Breaking Changes by pilom on Thursday December 19, 2019 @02:09PM (#21838140)
I think the parent is saying that API's should be utilities and not applications.
Re:How Shopify Manages API Versioning and Breaking Changes by sbilstein on Thursday December 19, 2019 @02:12PM (#21838170)
100%

Companies may have really good reasons to break old APIs. I’ve done this before...retiring an old framework and set of APIs that was inherently much less secure than what the bulk of customers needed.

Re:How Shopify Manages API Versioning and Breaking Changes by t0astbread on Friday December 20, 2019 @06:43AM (#21843388)
The question is, is everything that uses the Shopify API an application?
Re:How Shopify Manages API Versioning and Breaking Changes by dwild on Thursday December 19, 2019 @03:24PM (#21838854)
> I just wanted to use that opportunity to vent my frustration with the constant push to update everything all the time and judging any piece of software by using "when was the last update" as a metric.

The update in theses cases are not necessary to keep the most recent feature, but to stay connected to the interface that does change with time.

Someone needs to update the interface between the two while things evolve. Like it or not, but that's need to be done. If the tool is used and like by a few, then why not push that requirement toward the ones theses few that used it and like it, instead of supporting everything, even what's no longer used?

Re:How Shopify Manages API Versioning and Breaking Changes by wvh on Thursday December 19, 2019 @04:43PM (#21839642)
One reason would be to make sure somebody's still around. I'd make tiny updates to let dependents know that I'm still watching the code base. Where I work, code is (sadly enough) dead pretty much when workers' contracts or consultant hiring agreements end.

Sporadic updates tell those who depend on the code that stability and security updates are still being handled, even if the code is "complete". I'm not sure I'd have a lot of faith in code that looks abandoned.

Re:How Shopify Manages API Versioning and Breaking Changes by stickfigure on Thursday December 19, 2019 @10:33PM (#21841529)
> ping...Why would anyone need to update it?

How about being able to ping TCP ports? I need this for debugging all the time. Yeah, I use tcping instead... but why is this a separate tool? Dumb.

I'm pretty sure that for every tool you think is "done", there's someone out there screaming at its inadequacy.

Re:How Shopify Manages API Versioning and Breaking Changes by celticninja on Thursday December 19, 2019 @11:20PM (#21841692)
Do one thing, do it well. You could always bind tcping to a shorter alias or create your own ping that does what you need.
Re:How Shopify Manages API Versioning and Breaking Changes by stickfigure on Friday December 20, 2019 @12:38PM (#21845849)
You think "one thing" is probe connectivity over ICMP and I think "one thing" is probe connectivity. Someone else could reasonably argue that "one thing" is probe the network.

People use this phrase a lot but I feel that they emphasize the wrong part. It's all about "do it well", no matter what you do.

Re:How Shopify Manages API Versioning and Breaking Changes by pbreit on Thursday December 19, 2019 @12:58PM (#21837390)
I don't mind updates that are incremental and backwards compatible.

I LOATHE breaking changes. They are almost never actually necessary.