/

Insights

Jul 25, 2022

Jul 25, 2022

Pieces User Stories: Protect code against regressions

Auto-save, regression protection, less time searching for code— Mack's got a long list of ways he uses Pieces for Developers.

An illustration of Mack.
An illustration of Mack.
An illustration of Mack.

As co-founder and lead developer of Pieces for Developers, Mack has auto-magical Pieces experiences nearly every day.

“One of my favorite moments is when Pieces auto-saves a snippet. Inside Pieces for Developers, we rely a lot on Dart Streams and Riverpod Listeners to fuel real-time updates in the code. So when you perform an action in one part of the app, it reacts everywhere else. And the way that we do that is through listeners — you use listeners in multiple areas in your code, and sometimes you put it in spot A but later on you decide you don't want it in spot A, so you move it to spot B. Sometimes you find you don't want it in spot B, so you move it back to A or to C, and so on. So when you're doing that, you're copying and pasting it all the time. When I'm coding and then I open Pieces and see a snippet there that I know I didn't put there manually, that's always really nice. Pieces auto-saved it, and then I can just insert the snippet in and I don't need to go find it somewhere in the code.”

For Mack, the useful features don’t stop there. One of his most common uses of Pieces is super simple, but saves him time and protects his code against regressions.

“When developing with Flutter, I often save snippets when I'm writing code and essentially use Pieces as a temporary save. When I'm about to delete a large chunk of code in order to refactor it and rewrite it, I'll just save the old code as I'm working with it. If I have a function I'm going to transport into a different file, but I'm not going to transport it right this second, I’ll take it, save it in Pieces, and then a couple of steps later move it into that new file. It doesn't necessarily live in Pieces long term, but it's a way to elongate my clipboard so that I can use it later on.”

SHARE

Pieces User Stories: Protect code against regressions

Recent

Nov 27, 2025

Nov 27, 2025

How we stopped watching our engineers struggle through stand-ups

Tired of awkward standup meetings where great engineers sound like they did nothing? I automated our team's standups with AI and got 3 people promoted. Here's exactly how we changed standups and made real work visible to managers.

Tired of awkward standup meetings where great engineers sound like they did nothing? I automated our team's standups with AI and got 3 people promoted. Here's exactly how we changed standups and made real work visible to managers.

Nov 25, 2025

Nov 25, 2025

Top 3 ways to improve your work performance (that I wish I’d learned sooner)

Discover the top 3 ways to improve work performance, based on real experience, not just theory. Learn how to gain clarity through context tracking, reduce mental load by automating reporting, and turn daily updates into actionable personal insights.

Discover the top 3 ways to improve work performance, based on real experience, not just theory. Learn how to gain clarity through context tracking, reduce mental load by automating reporting, and turn daily updates into actionable personal insights.

Nov 21, 2025

Nov 21, 2025

We fixed every other meeting problem. Why not stand-ups?

Most teams hate standup meetings but keep doing them anyway. We used AI to capture our work automatically and skip the meeting entirely. Here's how it works.

Most teams hate standup meetings but keep doing them anyway. We used AI to capture our work automatically and skip the meeting entirely. Here's how it works.

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.