<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anushka on Medium]]></title>
        <description><![CDATA[Stories by Anushka on Medium]]></description>
        <link>https://medium.com/@anushka_7486?source=rss-792d7be3ce1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PXAjWJDEmft7z-C_</url>
            <title>Stories by Anushka on Medium</title>
            <link>https://medium.com/@anushka_7486?source=rss-792d7be3ce1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:18:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anushka_7486/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Better Way to Bookmark as a Developer]]></title>
            <link>https://medium.com/getpieces/a-better-way-to-bookmark-as-a-developer-16b7de9e3577?source=rss-792d7be3ce1------2</link>
            <guid isPermaLink="false">https://medium.com/p/16b7de9e3577</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[web-applications]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Anushka]]></dc:creator>
            <pubDate>Thu, 10 Feb 2022 20:59:33 GMT</pubDate>
            <atom:updated>2022-02-17T06:38:58.075Z</atom:updated>
            <content:encoded><![CDATA[<p><em>💡 Saving code solutions by using bookmarks in your browser is pretty painful when you want to find and revisit that solution later. An easy hack is to save snippets through the </em><a href="https://code.pieces.app/"><em>Pieces</em></a><em> tool, which automatically attaches the source URL from where you grabbed the snippet. You can not only find the snippet easily later, but you can hop out to the page it came from to remind yourself about the broader context.</em></p><p>I’m sure most of you search Google to find solutions for errors, from how to sort a list to a breadth-first binary tree traversal to how to establish a database connection.</p><p>And chances are you’re bookmarking a solution from some StackOverflow page, thinking it’s saved for the future.</p><p>But revisiting that solution in your bookmarks folder is suboptimal for a bunch of reasons:</p><ul><li>Unstructured bookmark lists are hard to search, and you’ve no idea where to start looking for the solution.</li><li>If you’re OCD, maybe you spend a bunch of time organizing your bookmarks, but most of us don’t have time for that</li><li>A bookmark provides minimal information unless you click through each link</li><li>Bookmarks save no context for your problem, which is often how you might want to search</li></ul><figure><img alt="Man sleeping on his computer" src="https://cdn-images-1.medium.com/max/1024/0*30THbIn-roGJdPH_.png" /></figure><p>Fear not — let’s look at a simple hack using the free <a href="https://code.pieces.app/">Pieces</a> tool that is much more effective at managing your saved links and solutions.</p><h4>A much more effective way to save URLs and solutions</h4><p>You might know Pieces as a snippet tool where you can save code and easily find it and reuse or reference it later. But one of the more interesting ways I use Pieces is through their Chrome plugin — which enables me to save code from any webpage in as little as a click.</p><p>The latest version of Pieces, though, added a killer new feature called Related Links that makes it far more useful as a home for your URLs. When you save a snippet from a web page using their plugin, Pieces automatically saves the URL of the page the snippet came from.</p><p>So when you need that snippet, you can search in Pieces using exact or fuzzy match based on the snippet or the language, but you’ll also find a link to the URL that you originally got the snippet from, and THAT is incredibly helpful to refresh on the context around the snippet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rmD7m_U7yFeWwymK.gif" /><figcaption>Saving a snippet from StackOverflow in Pieces with tags, description and Source URL</figcaption></figure><h4><strong>Let’s look at some examples in the wild…</strong></h4><h4>Finding Shell Commands</h4><p>If you’ve ever tried bookmarking your shell commands, you know it’s much easier to just search for them again than finding them in your bookmarks list.</p><p>Here’s how you can find your shell commands quickly with Pieces.</p><p><strong>Finding Shell Commands without Pieces:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mOSv9FWDbPIhzcojVgTuJg.gif" /><figcaption>Searching for the command in a never-ending list</figcaption></figure><ol><li>Opening your bookmarks</li><li>Trying to remember what the page was</li><li>Scrolling through an endless list to search</li><li>Finally finding the link and navigating it</li></ol><p><strong>Finding Shell Commands with Pieces:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xXR_FyWeqJQ7FMPvafe23g.gif" /><figcaption>Easy navigation to the webpage saved with the snippet</figcaption></figure><p>1. Searching for the saved snippet<br>2. Navigating to its related links</p><h4>Saving Git Commands</h4><p>Git commands are super handy. Maybe you’ve tried bookmarking commands to merge your local branch, fetch, rebase, resolve conflicts for your ease, but forgot your way back.</p><p>If you’d saved those commands in Pieces, you can get right back to your page in no time using the Related Links feature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JUhM5rN-E32wCyqy.gif" /><figcaption>Git Commands before Pieces (left) and after (right)</figcaption></figure><h4>Frontend Development</h4><p>While working with CSS, you might get confused about when to use an inline, block or inline-block display for controlling the layout of an element. Scrolling through a never-ending list of bookmarks to find their correct usage on W3Schools is a nightmare, isn’t it? Rather, you can simply save it to Pieces and jump to the relevant pages to understand their use cases, directly from your snippets, find the right one and use them in no time.</p><p><strong>💡Along with saving the links to pages, Pieces also helps you save specific information about them.</strong> So if you’ve some code that you feel like revisiting, rather than bookmarking the page, try saving it with Pieces next time and you’ll save a lot more time looking for it later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vWqbwe8de4ZqpAya.gif" /></figure><h4>Upgrade Your Bookmarking Game with Pieces — It’s Totally Free</h4><p><a href="http://pieces.app/">You can install Pieces for free</a> to save all your important information organized, easily accessible, and get a ton of other amazing benefits to supercharge your developer workflow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16b7de9e3577" width="1" height="1" alt=""><hr><p><a href="https://medium.com/getpieces/a-better-way-to-bookmark-as-a-developer-16b7de9e3577">A Better Way to Bookmark as a Developer</a> was originally published in <a href="https://medium.com/getpieces">Pieces for Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Extract code snippets from screenshots with Pieces]]></title>
            <link>https://medium.com/getpieces/extract-code-snippets-from-screenshots-with-pieces-22b8a75dd6d0?source=rss-792d7be3ce1------2</link>
            <guid isPermaLink="false">https://medium.com/p/22b8a75dd6d0</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[ocr]]></category>
            <category><![CDATA[image-to-text]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Anushka]]></dc:creator>
            <pubDate>Thu, 13 Jan 2022 14:33:08 GMT</pubDate>
            <atom:updated>2022-01-14T19:26:56.678Z</atom:updated>
            <content:encoded><![CDATA[<h4>Rewriting code from screenshots you find online? A thing of the past.</h4><p>💡 <em>Developers take a ton of screenshots of code which often live on their desktop or in some Finder tray. These screenshots are usually impossible to search and the code in the image isn’t accessible. But with the Pieces snippet saving tool, images can now be converted into text so that the code inside the screenshots can be copied, pasted, and edited in your IDE.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XYo7t7LNW5iJJUH_6lxqJQ.png" /></figure><p><strong>Drowning in Screenshots?</strong></p><h4>🖐 Raise your hand if you’ve experienced these screenshot frustrations:</h4><ul><li>You face an issue while coding. A quick Google search gets you to a useful tutorial with it, so you take a screenshot and later retype the code into your editor manually.</li><li>You’re on Reddit and find a screenshot of useful code but you need to screenshot it or bookmark the page and now it’s effectively gone from your memory.</li><li>You see someone asking for help on a StackOverflow or FreeCodeCamp and want to try running their code, which turns out to be a screenshot.</li><li>You’re trying to follow a beginner’s guide to a new tech you’ve been wanting to learn, but you can’t easily copy the example code from the screenshots.</li><li>You struggle with searching text in screenshots</li></ul><p>The common thread above is that screenshots with code aren’t searchable on your desktop and you can’t extract the code from inside the image.</p><h4>Pieces extracts code from your screenshots</h4><p><a href="http://pieces.app/">Pieces</a> is a snippet-saving tool that performs magic on screenshots. You can upload your screenshot to Pieces and automatically turn it into a usable snippet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3ANgDMjFl2_bTV7miXBfg.gif" /></figure><p>And better yet — your screenshots become fully searchable based on the text inside them. Because let’s face it — you like to have hundreds or thousands of screenshots sitting on your desktop and you have little to no way to search through them. So now you can search your screenshots based on:</p><ul><li>Any keyword inside the screenshot</li><li>The code classification of the snippet inside the screenshot — i.e. all your Javascript screenshots</li><li>Structures inside your code — i.e. for loops or switch statements</li></ul><h3>Your Life Reimagined with Code Extraction from Screenshots</h3><h4>Code in s<strong>creenshots from Slack, Discord, Reddit, Twitter….</strong></h4><p>There’s code in screenshots everywhere you look online. But instead of having to manually re-write the in the screenshot, just upload the screenshot to Pieces and you’ll have a copyable code snippet extracted from the image!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m-ujsYrV1YIxIWHanUHIrA.gif" /></figure><h4>Screenshots from <strong>Coding Bootcamps and Youtube Tutorials</strong></h4><p>If you’ve ever watched a coding tutorial or an online Coding Bootcamp, you know it can suck when the presenter moves through the code too fast. Hit pause on that video, take a screenshot and save it to Pieces. Voila — the code inside the screenshot will be converted to text instantly!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qbehMwMIKFDT_yvxtIM-TA.gif" /></figure><p><strong>Dealing with PDFs and hardcopies in university assignments</strong></p><p>Scanned documents such as your university assignments need to be edited in order to finish and submit them. Sometimes you have their hardcopies or pdfs and editing them on your machine becomes a hassle. Use Pieces to convert your screenshots into formatted, copyable, editable text.</p><h4><strong>Utilizing information from a lecture</strong></h4><p>Ever run out of time during the class and snap a picture of the code rather than writing it down? No need to manually convert it later — just send that screenshot to Pieces and it’s converted.</p><h3>Change your screenshot game today with Pieces</h3><p><a href="http://pieces.app/">You can install Pieces for free</a> and start turning your images and screenshots into meaningful text like magic. And Pieces does a ton of other amazing things for developers, including:</p><ul><li>Auto-formatting your snippets</li><li>Auto-categorizing snippets by language</li><li>Auto-tagging the snippet with the things inside it like for loops or switch statements.</li><li>Auto-capturing the project and file name and line numbers that the snippet came from in your editor</li><li>Storing the URL that the snippet came from if you saved from a web page like StackOverflow</li><li>Enabling you to manually save related links to a snippet</li></ul><p>All of this serves one critical purpose, making your life easy as a developer.</p><p><strong>What are you waiting for? Get Pieces now and begin extracting code from screenshots! Try it out with these sample images!</strong></p><figure><img alt="A screenshot of code" src="https://cdn-images-1.medium.com/max/572/0*zhUzT8TbTXQiCYdt.png" /></figure><figure><img alt="A screenshot of code" src="https://cdn-images-1.medium.com/max/654/0*xRm5lAkJrQTvt3Cd.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22b8a75dd6d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/getpieces/extract-code-snippets-from-screenshots-with-pieces-22b8a75dd6d0">Extract code snippets from screenshots with Pieces</a> was originally published in <a href="https://medium.com/getpieces">Pieces for Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Snippetizing your Coding Interviews]]></title>
            <link>https://medium.com/getpieces/snippetizing-your-coding-interviews-4ec4eb2f0d89?source=rss-792d7be3ce1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ec4eb2f0d89</guid>
            <category><![CDATA[coding-interviews]]></category>
            <category><![CDATA[faang]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[interview-tips]]></category>
            <dc:creator><![CDATA[Anushka]]></dc:creator>
            <pubDate>Tue, 21 Dec 2021 14:00:24 GMT</pubDate>
            <atom:updated>2022-02-11T19:20:42.705Z</atom:updated>
            <content:encoded><![CDATA[<p><em>💡 Working for FAANG companies is every developer’s dream. If you are wondering about how to get a job at FAANG or how to boost your preparation, this article consists of some really useful tips that have helped developers crack their interviews at FAANG. Preparation for DSA and approaching your interviews using these tips could land you in your dream role. Practicing DSA is a crucial task in the process, but can be made much more efficient using code snippets. </em><a href="http://pieces.app/"><em>Pieces</em></a><em> is a useful snippet-saving tool to help developers to save time and effort by saving their templates, important algorithms, and solutions as snippets in &lt;1 second, making search quite easy. Hence, it is an amazing tool for developers who want to boost their FAANG preparation.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*saSoauf9GtAfWiVCOqrN6w.jpeg" /><figcaption>Preparing for coding interviews at FAANG</figcaption></figure><p>Ridiculously high salaries, beautiful offices and free meals (yes, people used to go offices and maybe one day we will again), bragging rights for your parents….it’s no surprise that there’s intense competition for top developer jobs during placements.</p><p>I’m Anushka from <a href="http://code.pieces.app/">Pieces</a>, and I work with developers on how to leverage tools and workflow to be more productive. But before Pieces, I had my <a href="https://en.wikipedia.org/wiki/15_minutes_of_fame">15 minutes of fame</a> for a post I wrote on <a href="https://github.com/anushka23g/Complete-Placement-Preparation">job interview tips</a> for younger developers that made it to the list of Top 10 trending repositories on Github worldwide.</p><p>Clearly, the topic struck a nerve, so today I’m following up with part 2 on how to nail the coding interview and bag your dream offer from FAANG or that hot Web3 startup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VHLWD9IoSFcmmb7bUNoqug.jpeg" /><figcaption>Facebook, Apple, Amazon, Netflix, Google</figcaption></figure><h3>DSA is the key to a successful interview</h3><p>While there are a lot of areas you will be evaluated on at FAANG companies, let’s be clear about one thing — you need to crush the DSA interview. Never heard of DSA? Let’s understand what it is and what makes it a relevant topic for your interviews</p><p>DSA stands for data structures and algorithms. A data structure is a method of organizing data for efficient use, like sequences or data tables, whereas algorithms are the steps or procedures for solving a well-defined problem. They are the dynamic underlying parts that interact with data structures and help create well-optimized and efficient software.</p><p>Interviewers are looking for students who understand data structures like hash tables, trees, graphs, and various algorithms and who can apply the right set of tools to solve a given problem efficiently. If you know DSA well, you’ll be better equipped to decide on the most efficient data structure to solve a problem.</p><p>What makes DSA so critical during FAANG interviews is that it provides the interviewer a simple approach to evaluate your problem-solving skills, coding skills, basic computer science knowledge, and clarity of thought.</p><p>DSA helps in understanding the nature of the problem at a deeper level and thereby a better understanding of the world, making it a beloved topic for coding interviews.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7yvNtu1IauioeBXiE_5Rvw.jpeg" /></figure><h3>Smash your upcoming interviews!</h3><p>OK, so now you know what the DSA is and how it might feel like. How can you prepare for and crush these interviews?</p><p><strong>Speed up your practice to learn faster</strong></p><p>Saving templates of your most-used data structures and algorithms as code snippets is one of the best ideas to speed up your learning. Use a modern code snippet tool like <a href="http://code.pieces.app/">Pieces</a> to keep templates ready with your common algorithms, operations on the data structure, macros, and common imports. You’ll save time that you otherwise would have spent writing code from scratch, and you can repurpose that time to focus on logic building.</p><p>Finding the critical topics to study right before your interview is painful. You’ll likely visit a ton of sites and web pages, and it’s hard to keep track of the valuable material. Snippets can be invaluable to better organize this research and prep, and your saved snippets are easily accessible to brush over before a coding test. So if you need to do a DFS (depth-first search) ever again (or any other code), you’ll have already saved it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T_SGM8jy6YBICW11Una9UQ.gif" /><figcaption>Saving snippets with Pieces</figcaption></figure><p><strong>Pick up a language you are confident with</strong></p><p>Most interviewers will ask you to choose any language, but you need to choose wisely. Select a single language and practice DSA entirely with it. Switching between different languages will hurt your preparation.</p><p><strong>Talk through your solution</strong></p><p>It never hurts to ask if you can start your implementation in pseudocode. Interviewers are keen on understanding your thought process and are likely less concerned with your ability to use proper syntax on a whiteboard.</p><p><strong>Always start from the brute force approach</strong></p><p>While solving questions, always make it a habit to start off with the solution with the worst time complexity. Talk the interviewer through your approach and then think of how you can improvise further to make it efficient using better approaches. For example, you can start with a solution with O(n²) time complexity and then come to O(n) and then O(log(n)) if possible. It’s better to save all the different approaches as separate snippets so that you can find them later.</p><h3>The Power of the Code Snippet</h3><p>Really though, we’re just scratching the surface on how using a snippet management tool like <a href="http://code.pieces.app/">Pieces</a> can turbo-charge your preparation for these interviews. Let’s dig deeper.</p><p><strong>Saving Time</strong></p><p>Whenever starting with a new problem, there’s a lot of code that you might have used previously that is insignificant for logic-building. Think of macros, boilerplate, templates, libraries, or standard algorithms. You need them in almost every problem, but you’re wasting your time rewriting them every time.</p><p>Instead, use snippets to save and reuse this sort of code. You’ll only need to worry about how to reduce the time and space complexities of your solution, rather than spending most of your time writing repetitive code.</p><p>For example, if you’re trying to use binary search, why waste time writing the same old template for the 100th time when you could be spending that precious time determining the best approach and then optimizing that approach? Save that template as a snippet!</p><p><strong>Staying Organized</strong></p><p>Another issue you might have faced is remembering all the important topics that you need to brush up on before your interviews. A hot tip for this is to save important algorithms and solutions as snippets. So whenever I finish practicing and plan to revise, I already have my saved collection of snippets of important concepts in one place that I can visit anytime.</p><p><strong>Maintain Your Flow</strong></p><p>You’re going to prepare a lot for these interviews, and when you get into that zone when the distractions drop away and you start cranking, the last thing you want is to break your flow.</p><p><a href="https://code.pieces.app/">Pieces</a> is designed with this flow state in mind. You can save snippets in literally less than a second straight from your IDE or browser, without even having the Pieces app open. There’s no need to name the snippet, format it, put it into a folder. The snippets are auto-formatted, tagged and searchable, which makes it a no-brainer to save snippets there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fyvnAcRAjMFkffI1XHyr9Q.gif" /><figcaption>Saving snippets in Pieces with StackOverflow</figcaption></figure><h3>Get rolling with Pieces</h3><p>It’s completely free to get started with Pieces, with absolutely no questions asked! You don’t need to enter any personal information to start using it.</p><p>Download Pieces <a href="https://code.pieces.app/">here</a> and boost your preparation for upcoming interviews.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LeR0p4ArIU-uBjJP15l4dg.jpeg" /><figcaption>Supercharge Pieces with Integrations</figcaption></figure><p>Don’t forget to install our IntelliJ, VS Code, and/or Chrome integrations <a href="https://code.pieces.app/integrations">here</a> to enable all the single-click saving!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ec4eb2f0d89" width="1" height="1" alt=""><hr><p><a href="https://medium.com/getpieces/snippetizing-your-coding-interviews-4ec4eb2f0d89">Snippetizing your Coding Interviews</a> was originally published in <a href="https://medium.com/getpieces">Pieces for Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You’re still not using code snippets?!]]></title>
            <link>https://medium.com/getpieces/youre-still-not-using-code-snippets-4a8899d53151?source=rss-792d7be3ce1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a8899d53151</guid>
            <category><![CDATA[intellij]]></category>
            <category><![CDATA[code-snippet]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[chrome-extension]]></category>
            <category><![CDATA[stackoverflow]]></category>
            <dc:creator><![CDATA[Anushka]]></dc:creator>
            <pubDate>Tue, 07 Dec 2021 14:44:22 GMT</pubDate>
            <atom:updated>2021-12-10T14:36:23.422Z</atom:updated>
            <content:encoded><![CDATA[<p><em>💡 Snippets are small chunks of code that developers save because they might want to use them later. Snippets are useful throughout your workflow as a developer, from researching to developing to collaborating. But many devs don’t use snippets because it’s a hassle to save them. </em><a href="http://pieces.app/"><em>Pieces</em></a><em> allows you to save snippets in less than a second from your IDE or Chrome. Best of all, the snippets are auto-formatted and auto-tagged by language and structure for easily finding and re-using later. Get started with Pieces </em><a href="https://code.pieces.app/"><em>here</em></a><em>.</em></p><h3>Raise your hand if you’re a developer who…</h3><ul><li>Digs through endless project files looking for a solution that worked months ago</li><li>Bookmarks endless StackOverflow pages</li><li>Regrets closing tabs that could possibly have a fix for an issue you’ve been trying to resolve for days</li><li>Has a hard time figuring out why code that worked previously doesn’t work now</li></ul><p>If this sounds like you, you probably aren’t using snippets, and you definitely should!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GnucZIXTrMzjH3VwruPq2Q.png" /></figure><h3>Code snippets are like magic mushrooms</h3><p>Snippets are small pieces of code in a bigger code repository that might be useful later.</p><p>And they’re everywhere. Open source code, boilerplate code, analytics tags, SQL queries, loops, algorithms, logging and validation and so much more.</p><p>Think about how much of this sort of code that you likely write and re-write over and over again. Or how much time you waste trying to find that old snippet in that other project somewhere that will save you time.</p><p>So much code that we write as developers is ripe for re-use. And snippets are the magic mushroom that can unlock this productivity gain and keep you in flow.</p><p>💡 <strong>If this all sounds like drivel and you just want to decide if our tool is useful, </strong><a href="http://www.pieces.app/"><strong>download Pieces here and give it a rip</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*9_1wDm5tDE0_W0W4jHlFLw.gif" /><figcaption>Pieces enables users to easily save, search and insert code snippets.</figcaption></figure><h3>The case for using code snippets</h3><h4>Save time by not re-writing the same code</h4><p>Inserting snippets in code saves you from typing duplicative code. Imagine the time wasted searching for how to add an attribute using CSS for multiple elements across your site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*92GUGfRn--fTdVMM77UyQQ.jpeg" /></figure><h4>Eliminate errors</h4><p>Snippets reduce errors in your code.<strong> </strong>For example, use a snippet to add a consistent event listener across your codebase.</p><h4>Make your code implementation ready</h4><p>It’s frustrating when you forget to save a solution and need it later. Use snippets to save solutions that you typically search for over and over.</p><h4>Do better research</h4><p>Snippets are also great for the research phase of projects as you read articles, take screenshots, scan doc sites and generally want to put a bunch of stuff somewhere that you might need later.</p><h3>And yet, you probably don’t save snippets</h3><p>So why don’t most devs save snippets?</p><p><em>Mostly because it sucks to save snippets.</em></p><p>It takes too long. It breaks your flow. It’s a pain to name the snippet, label it, put it in a folder.</p><p>And if you do battle through this and save lots of snippets…good luck finding it in that flat Notepad or TextEdit doc.</p><h3>So we built Pieces.app…</h3><p>Basically, we got fed up with these limitations and built our dream code snippet management tool — <a href="http://code.pieces.app/">Pieces</a>.</p><p>It does one thing that is more important than any other thing:</p><h4>You can save snippets in less than a second, straight from your editor or browser.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*0HqRoZk5daz-WBtjqAedLQ.gif" /><figcaption>Just click save on any web page</figcaption></figure><p>You don’t even have to have the Pieces app open to save a snippet. Just highlight code and hit a keyboard shortcut like CMD+SHIFT+P or right-click and select “Send to Pieces” using your mouse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1CKvW7SJoj2QTvo2cDhkBA.png" /><figcaption>Right-click and send to Pieces straight from your editor</figcaption></figure><h3>Pieces offers a bunch of other super useful features:</h3><ul><li>Auto-formats your snippets</li><li>Auto-categorizes snippets by language</li><li>Auto-tags the snippet with the things inside it like for loops or switch statements.</li><li>Auto-captures the project and file name and line numbers that the snippet came from in your editor</li><li>Stores the URL that the snippet came from if you saved from a web page like StackOverflow</li><li>Enables you to manually save related links to a snippet</li></ul><p>All of this serves one critical purpose:</p><h4>Blazing fast, accurate search when you need to find just the right snippet for the job.</h4><h3>Getting started with Pieces</h3><p>We’ve made it as easy as humanly possible to use Pieces. It’s totally free to get started, and you don’t even have to give us a single piece of personal information. No credit card, no email address, no phone number.</p><p>Download Pieces <a href="https://code.pieces.app/">here</a> and open your mind to how snippets can supercharge your workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lUcAehA5EyGaujOG1aq8kA.png" /></figure><p>P.S. Don’t forget to install our IntelliJ, VS Code and/or Chrome integrations <a href="https://code.pieces.app/integrations">here</a> to enable all the single click saving!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a8899d53151" width="1" height="1" alt=""><hr><p><a href="https://medium.com/getpieces/youre-still-not-using-code-snippets-4a8899d53151">You’re still not using code snippets?!</a> was originally published in <a href="https://medium.com/getpieces">Pieces for Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>