<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Cubicle Buddha</title>
    <description>The latest articles on DEV Community by Cubicle Buddha (@cubiclebuddha).</description>
    <link>https://dev.to/cubiclebuddha</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153909%2F2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg</url>
      <title>DEV Community: Cubicle Buddha</title>
      <link>https://dev.to/cubiclebuddha</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cubiclebuddha"/>
    <language>en</language>
    <item>
      <title>Are Timed Coding Interviews A Good Indicator Of Job Performance?</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Thu, 26 Sep 2019 01:36:39 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/timed-coding-interviews-suck-3ci</link>
      <guid>https://dev.to/cubiclebuddha/timed-coding-interviews-suck-3ci</guid>
      <description>&lt;p&gt;So... I just failed an interview because I didn't finish the HackerRank challenge in time. I'm annoyed that I couldn't complete it, but I'm more frustrated by how robotic the process was...&lt;/p&gt;

&lt;p&gt;When I've interviewed candidates, I focus on their problem-solving skills not their speed. If someone is focusing too much on one problem, I’ll encourage them by saying, ”I think you got close enough. Why don't we try the next one.” After all, I want the candidate to see that were a company that embodies &lt;a href="https://dev.to/cubiclebuddha/screwing-up-advice-on-forgiving-your-inner-child-16bg"&gt;forgiveness&lt;/a&gt; and &lt;a href="https://dev.to/cubiclebuddha/samsara-5-agile-techniques-to-end-suffering-and-increase-learning-4a76"&gt;iterative learning&lt;/a&gt;. But you don’t get any compassion from an automated email sending you to HackerRank.&lt;/p&gt;

&lt;p&gt;So what does that say about the company that relies on this impersonal processes? Should companies even use timed coding challenges? Or are they necessary for certain types of high-pressure companies?&lt;/p&gt;

</description>
      <category>programming</category>
      <category>webdev</category>
      <category>discuss</category>
      <category>career</category>
    </item>
    <item>
      <title>What’s your favorite piece of code that you had to throw away?</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Wed, 18 Sep 2019 14:23:57 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/what-s-your-favorite-piece-of-code-that-you-had-to-throw-away-4fe6</link>
      <guid>https://dev.to/cubiclebuddha/what-s-your-favorite-piece-of-code-that-you-had-to-throw-away-4fe6</guid>
      <description>&lt;p&gt;Ever been here before...?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Developer: “Hey, I just finished the feature”&lt;br&gt;
Product Owner: “Oh, the customer actually wanted something different. Sorry about that.”&lt;br&gt;
Developer: “Oh” {furiously clicks delete}&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I know I have had to toss some of my favorite things I’ve written. And I’ve written about how &lt;a href="https://dev.to/cubiclebuddha/your-code-is-not-pretty-your-code-is-already-dead-code-glp"&gt;change can be okay&lt;/a&gt; and might even be the best thing for the user.&lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153909%2F2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/your-code-is-not-pretty-your-code-is-already-dead-code-glp" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Your Code Is Not Pretty / Your Code Is Already Dead Code&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ Jul 24 '19&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#motivation&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#productivity&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#agile&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;p&gt;But... sometimes you need to &lt;em&gt;mourn&lt;/em&gt; something before you can really move on. So tell me about your favorite bit of code that you’ve had to throw away. We can mourn it together so you can move onto even greater software!&lt;/p&gt;

</description>
      <category>agile</category>
      <category>discuss</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What is the best quality a developer can have?</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 09 Sep 2019 17:30:15 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/what-is-the-best-quality-a-developer-can-have-29m5</link>
      <guid>https://dev.to/cubiclebuddha/what-is-the-best-quality-a-developer-can-have-29m5</guid>
      <description>&lt;p&gt;If you had to narrow it down to the most important aspect of a developers personality... what would that be?&lt;/p&gt;

&lt;p&gt;What quality could an interview candidate have that would make you extra interested in hiring them?&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>webdev</category>
      <category>programming</category>
      <category>agile</category>
    </item>
    <item>
      <title>Screwing up. Advice on forgiving your inner child.</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 02 Sep 2019 23:30:16 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/screwing-up-advice-on-forgiving-your-inner-child-16bg</link>
      <guid>https://dev.to/cubiclebuddha/screwing-up-advice-on-forgiving-your-inner-child-16bg</guid>
      <description>&lt;p&gt;I made a mistake today. Not the &lt;a href="https://cubiclebuddha.com/?p=199"&gt;“calculated risk”&lt;/a&gt; kind of mistake that we recommend on this blog. I’m talking a plain-old, stupid error. I get it that bugs happen. But the problem was &lt;em&gt;my response&lt;/em&gt; to discovering the bug. Strangely enough, after a minutes I found myself thinking judgmental thoughts about family, co-workers, and friends about behaviors of theirs that I don’t like. Is that a coincidence? No, it doesn’t take a psychologist to identify that I was project my feels of self-criticism out to others. &lt;em&gt;Great.&lt;/em&gt; Now I’m being critical of myself for being critical of others!&lt;/p&gt;

&lt;p&gt;So how does a person break out of this blame cycle?&lt;/p&gt;

&lt;p&gt;To be honest, when I was in the middle of my recursive, blame tornado… I was completely unable to see a solution. Moreover, I was unable to see the problem of how my work snafu was unrelated to the actions of my family. Well luckily for me, there were some chores outside that would force me to use my body and to disconnect. Miraculous things happen when you &lt;a href="https://cubiclebuddha.com/?p=225"&gt;exercise&lt;/a&gt; even a little bit. While out in the yard, it occurred to me that I was forgetting the most useful solution that Buddhism has to offer: the inner child. There’s no better way to approach self-judgment than with this question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Would you let your son or daughter judge themself so harshly?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If the answer is “no,” then why are continuing to judge yourself? Not only is that a simple logical conclusion, but it’s also a great framework for healing. You can use this metaphor where you imagine the portion of yourself that are hurting to be a child. This is your inner child. Buddhist teacher, Thich Nhat Hanh, completes the metaphor by describing how the process of caring for ourselves can spark remarkable change:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Just by holding this child gently, we are soothing our difficult emotions and we can begin to feel at ease. When we embrace our strong emotions with mindfulness and concentration, we’ll be able to see the roots of these mental formations. We’ll know where our suffering has come from. When we see the roots of things, our suffering will lessen. So mindfulness recognizes, embraces, and relieves.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And just like that I realized that I shouldn’t be upset at myself for the programming mistake I made at work. As they say,”mistakes happen.” And all it took was a little bit of exercise, a little bit of quiet contemplation, and a lot of forgiveness.&lt;/p&gt;

&lt;p&gt;Once I made the breakthrough, I was able to see that random thoughts that had popped up about my family and friends were simply unrelated and unnecessary. After all, if I can forgive myself then it was easy enough to forget the transgressions my brain was coming up with.&lt;/p&gt;

&lt;p&gt;Now I’m free to go enjoy my time with my wife and my cat without worrying about my day at work. There’s no time like the present and presently I am mistake free! It’s so strange that I, the author of a self-care blog, would be stuck in mistakes of the past. But we can’t escape our biology. As evolutionary psychologist and author Robert Wright mentioned in an interview with WHYY, “we are condemned to always want things to be a little different, always want a little more. We’re not designed by natural selection to be happy” (&lt;a href="https://www.npr.org/sections/health-shots/2017/08/07/541610511/can-buddhist-practices-help-us-overcome-the-biological-pull-of-dissatisfaction"&gt;1&lt;/a&gt;). But as his book “Why Buddhism Is True” described, we have an opportunity to override our programming. So as I described above, take the time to see yourself, acknowledge/accept the pain, and to forgive yourself.&lt;/p&gt;

&lt;p&gt;Calculated risk or silly screwup, they’re all opportunities to learn and grow, which requires acceptance. So while your at it, give your friends, family, and coworkers the true gift of forgiveness so they can also life with freedom in the present moment.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>agile</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
    <item>
      <title>When you can’t relax</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 26 Aug 2019 11:32:37 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/when-you-can-t-relax-nld</link>
      <guid>https://dev.to/cubiclebuddha/when-you-can-t-relax-nld</guid>
      <description>&lt;p&gt;So the weekend is over, and you don’t feel relaxed. What happened? Maybe you even “stayed home and did nothing,” and yet you didn’t really replenish your energy. Well, today I’ll share a little guidance that will hopefully give you a booster shot to help you truly rest the next time you get a chance.&lt;/p&gt;

&lt;p&gt;It turns out that Thich Nhat Hanh describes this exact scenario of resting but not really resting:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Calming allows us to rest, and resting is a precondition for healing. When animals in the forest get wounded, they find a place to lie down, and they rest completely for many days. They don’t think about food or anything else. They just rest, and they get the healing they need. When we humans get sick, we just worry! We look for doctors and medicine, but we don’t stop. Even when we go to the beach or the mountains for a vacation, we don’t rest, and we come back more tired than before. We have to learn to rest.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Did you notice that part about all animals needing to rest? You need to rest too. You need to replenish your mental energy from many hard days of work.&lt;/p&gt;

&lt;h3&gt;
  
  
  So how do we learn how to rest?
&lt;/h3&gt;

&lt;p&gt;There are many ways to learn to disconnect, but most mindfulness practitioners point to breathing techniques. I had to employ it myself last night when I couldn’t get to sleep. [Click here for our article on breathing techniques and their values.](&lt;a href="https://dev.to/cubiclebuddha/mindfully-breathing-to-prepare-for-a-big-meeting-"&gt;https://dev.to/cubiclebuddha/mindfully-breathing-to-prepare-for-a-big-meeting-&lt;/a&gt;&lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153909%2F2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/mindfully-breathing-to-prepare-for-a-big-meeting-19im" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Mindfully Breathing to prepare for a big meeting&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ May 1 '19&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#motivation&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#productivity&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#career&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Hey, is this article over already?
&lt;/h3&gt;

&lt;p&gt;Yes, it is. Sorry, but I needed a rest this weekend too. So I gave myself a break. I used the time that I would normally be researching psychology studies and combing through Buddhist text to instead doing nothing but stare out my window.&lt;/p&gt;

&lt;h3&gt;
  
  
  What can you “slack on” to make time for rest?
&lt;/h3&gt;

&lt;p&gt;So that’s my challenge for you. Is there one thing in your life that you can give up or put down for five minutes? Try installing a screen time app on your phone to see where you’re spending your time. Then you can audit the results and say, “hmm, maybe I don’t need to spend 4 hours on facebook.” All you need to do is carve out &lt;a href="https://dev.to/cubiclebuddha/doing-nothing-the-cure-for-procrastination-47ik"&gt;5 minutes to doing nothing&lt;/a&gt;.&lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153909%2F2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/doing-nothing-the-cure-for-procrastination-47ik" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Doing nothing: The cure for procrastination&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ Jun 26 '19&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#career&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#help&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#motivation&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#agile&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;p&gt;And if you’re finding it difficult to really enjoy the calm and quiet, you need a positive voice in your head. When your brain is telling you that “you shouldn’t be resting” please try to insert my voice saying “you deserve it.” Because you really do.&lt;/p&gt;

</description>
      <category>motivation</category>
      <category>productivity</category>
      <category>webdev</category>
      <category>agile</category>
    </item>
    <item>
      <title>Why I was wrong about Scrum + “Hard Goals”</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 19 Aug 2019 14:27:02 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/why-i-was-wrong-about-scrum-hard-goals-1jdd</link>
      <guid>https://dev.to/cubiclebuddha/why-i-was-wrong-about-scrum-hard-goals-1jdd</guid>
      <description>&lt;p&gt;I am so happy to admit to you that I made a mistake.&lt;/p&gt;

&lt;p&gt;I thought reaching the goal was the most important thing. “Isn’t that what Scrum is all about?” (I thought). I used to value making sure my team’s completed point values looked good at the end of the sprint. I thought pushing them to produce work would be more helpful so they learned how to commit to a goal. But sometimes that attitude of mine simply encouraged the developers to produce code that either they weren’t personally proud of or that I &lt;em&gt;sure as heck&lt;/em&gt; wasn’t happy with when it came to the code review. So what was the value of making it to the goal line if the ball is busted and deflated when it whizzes past?&lt;/p&gt;

&lt;p&gt;Keep reading to learn why admitting your mistakes in not only ”okay” but also possibly the most productive thing you can do.&lt;/p&gt;

&lt;p&gt;I recognize my misunderstanding of Scrum’s goals when the Scrum Alliance announced &lt;a href="https://medium.com/serious-scrum/5-controversial-topics-that-were-removed-from-scrum-68b5e83d38f2"&gt;changes that were made to the Scrum guidelines&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“As of 2011 the Development Team no longer commits to the work planned in the Sprint. Instead, the team creates a forecast.&lt;/p&gt;

&lt;p&gt;This is a major change.&lt;/p&gt;

&lt;p&gt;A commitment implies that there will be no new insights during the Sprint. A forecast is taking into account empiricism: transparency, inspection, adaptation.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That last line really excited me, so let’s break it down. I’m hoping that by putting less emphasis on committing to deadlines I’ll be giving my team the opportunity to take the time to embody the values that Agile really emphasis:&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Transparency:&lt;/strong&gt; It would be so amazing for me (as the frequent Scrum Master of the team) if I didn’t have to consistently coach/bother the team to communicate early and often about difficulties. Are my teammates keeping quiet because they’re afraid I’ll find out that they’re maybe going to miss the “commitment?” I certainly hope that’s not the case, but it’s possible that they’re afflicted by the same procrastination issues I also have had to deal with. And as I’ve described before, the best cure for procrastination is to remove the fear that is preventing progress— so commitments are out for me. So maybe the simple language tweak of using “forecasting” will help my team to communicate sooner if a particular user story looks like it’s going to take more time than we originally predicted. This way the blame is focused less on the developer’s tech skills and more on the scientifically proven difficulty that all humans have with accurately estimating time.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Adaptation:&lt;/strong&gt; I would be unbelievably happy if I watched one of my teammates ask the team if we can pivot and rearrange the user stories we brought into the sprint. This could easily be needed if we have surprising learnings that tell us our plan will need to adapt to reality. I have always told my teams that negotiating before a sprint is kicked off is better, but that we can still talk about necessary changes inside of the sprint… but I guess that the big bad commitment was preventing them from bringing up any changes. That’s no good. I need to foster an environment where any topic (especially necessary changes) can be brought up. After all, accepting change (ie acknowledging &lt;a href="https://dev.to/cubiclebuddha/your-code-is-not-pretty-your-code-is-already-dead-code-glp"&gt;impermanence&lt;/a&gt;) is a core aspect of Buddhism, and I have to say it’s made my life so much nicer… so why would I want to deny my team the peace that comes from knowing that change is okay and is to be expected. Hey, I don’t have to throw away all that Scrum used to be— I can always tell a teammate that the change in scope can be represented as new work in the next sprint if the change is more of an enhancement than a misunderstanding of the original acceptance criteria. We can slice and dice the work however we want. We can do whatever works best for the team… so long as the team is comfortable to bring it up.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Empiricism:&lt;/strong&gt; Not knowing is core to one of my great loves, the scientific method. TheHappyScientist.com describes &lt;a href="http://TheHappyScientist.com"&gt;the scientific method&lt;/a&gt; best when they write: “A theory starts as one or more hypotheses, untested ideas about why something happens. […] To become a scientific theory, an idea must be thoroughly tested, and must be an accurate and predictive description of the natural world. […] theories change frequently as new evidence is discovered.” Empiricism is also core to Buddhism (which is the through-line of most of my articles on &lt;a href="http://cubiclebuddha.com"&gt;CubicleBuddha.com&lt;/a&gt;). I wish that everyone can know the peace and calm that comes from accepting that &lt;strong&gt;&lt;em&gt;it’s okay to not know the answer&lt;/em&gt;&lt;/strong&gt;. You can’t learn unless you admit that you don’t know. That’s why I’m always trying at least two or three solutions when I’m trying out a new language or technology. For instance, I recently decided to challenge my tendency towards functional programming. So I made a hypothesis that a reduce function is better for aggregating data but then after I had to hand-roll a groupBy-style hashmap (because my lambda function didn’t have lodash) I determined that a foreach was the most readable solution. How amazing? By challenging my own preconceived notions, I now have multiple theories on aggregating data and I have a more refined knowledge of what constitutes readable code.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Empiricism Is More Important Than Scrum Points
&lt;/h3&gt;

&lt;p&gt;I want my team to also have the time and freedom to question their own code. If they do, then ultimately we will have a better product, more confident developers, and happier customers. Oh, and I won’t have to cringe when a code review request is sent to me and the submission looks like the developer threw the code together quickly. Take the time to enjoy your craft!&lt;/p&gt;

&lt;h3&gt;
  
  
  What have you been wrong about that brought you happiness?
&lt;/h3&gt;

&lt;p&gt;Recognizing my misunderstanding led to greater happiness for my team and for myself. So what are some notions that you've had that you were amazed when they flipped?&lt;/p&gt;

</description>
      <category>agile</category>
      <category>programming</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Making Small Positive Changes: 5 easy examples</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 12 Aug 2019 11:45:15 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/making-small-positive-changes-5-easy-examples-4ff6</link>
      <guid>https://dev.to/cubiclebuddha/making-small-positive-changes-5-easy-examples-4ff6</guid>
      <description>&lt;p&gt;We all know the deal– if you want to lose 20 pounds, start with losing 1 pound. But how do I lose 1 pound? And if you want to become a violinist, start by learning one song. But you think, “how the heck can I motivate myself to start?”&lt;/p&gt;

&lt;p&gt;Sometimes the best way to make the change is to remove obstacles. In the example above, how can I learn violin if I don’t buy a violin? And maybe I consistently tell myself that I cannot buy a violin because I need to save money for more valuable things. Well, why not consider renting a violin so that you have high reward to low risk? This lets the pressure off.&lt;/p&gt;

&lt;h3&gt;
  
  
  An Example Of A Tiny Step That Paid Off
&lt;/h3&gt;

&lt;p&gt;I experienced the power of un-roadblocking myself recently when I was trying to set a goal to read more. I love reading. Or at least I tell myself I do. But how often do I actually sit down to read? Probably twice a year. At least that’s how often I &lt;em&gt;used to read&lt;/em&gt; books, until I:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bought myself a book stand&lt;/li&gt;
&lt;li&gt;Bought myself a reading light that charges really easily&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And now that I have no excuses, I read all the time. And I’m a much happier and I’m a much more relaxed person on the days that I carve out a few minutes of reading time– because reading helps me quiet my mind. And it only cost me a tiny amount of money, but it brought on a bigger change.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Equipped with that energy of mindfulness and concentration, you may take a step. And if you can take one mindful step, you can take another and another.”&lt;/p&gt;

&lt;p&gt;~ Thich Nhat Hanh&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Other Examples Of Small Steps
&lt;/h3&gt;

&lt;p&gt;So if you’re trying to make what feels like a big change, try making a small change first.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Worried about your terrible posture?&lt;/em&gt;&lt;/strong&gt; One life hack involves getting out of bed instead of reading your phone in bed in some slouchy position. So the trick is to plug your phone into an outlet this is far away form your bed so you have to get up to turn off your morning alarm.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Worried about switching careers?&lt;/em&gt;&lt;/strong&gt; Take a tutorial course on something that interests you, like an online programming course. The obstacle is the cost of course or the materials, so just do it. No, I’m not talking about investing tons of money, but sometimes you have to throw down a little cash, even if it’s a trial membership to PluralSight (or any online course website).&lt;/li&gt;
&lt;li&gt;_ &lt;strong&gt;Feeling low on energy?&lt;/strong&gt; _ Eat at breakfast and dinner at the right times. It’s been proven that cortisol (the stress hormone) is introduced into the body whenever you delay your usual eating times. So if you often find yourself hangry, keep a box of low-glycemic energy bars around. The simple act of buying food to keep around is an easy way to un-roadblock your goals. Remember, you’re not just a brain in a jar. You have to eat so you can take care of that body!&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Feeling like you’ll never brush your teeth more than 2 times a day?&lt;/em&gt;&lt;/strong&gt; Buy a toothbrush and a travel sized toothpaste and leave it in every place you can. If you have one at your desk at work, then maybe one day you’ll remember to use it before pair-programming or after you had stinky fish lunch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Feeling sore? Wear more layers.&lt;/em&gt;&lt;/strong&gt; This one came compliments of my incredible wife, who recognized before I did that I am often cold. But the interesting part is that I didn’t realize how being slightly cold was having a major negative effect on my health and well-being due to reduce flexibility that was causing significant muscle strain in my shoulders and neck. After one winter where I experimented with wearing many comfortable, nice layered hoodies and cardigans, I found myself in much better health by spring. Life hacks don’t get much smaller than that.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Losing confidence at work?&lt;/em&gt;&lt;/strong&gt; Enroll in that online course or subscription. If you find yourself nervous about the weight of your monthly payment to PluralSight, LinkedIn Learning, or EggHead.io, then you might be more motivated to take the time to educate yourself. With education comes confidence and pride.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  It's okay to make a mistake
&lt;/h3&gt;

&lt;p&gt;One of the best ways to feel better about taking a step is to forgive yourself of the past. That's easier than it seems:&lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153909%2F2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/fixing-bad-habits-by-learning-to-love-them-agile-retrospectives-1o2g" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Fixing Bad Habits By Learning To Love Them: Agile Retrospectives&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ May 15 '19&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#productivity&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#career&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#explainlikeimfive&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  What Was The Best Step You Took
&lt;/h3&gt;

&lt;p&gt;Those are just a few ideas. Sometimes you just need a little something to get you started, and though they may only involve a very small cost or small change to your day they could have a huge impact over time. We’d love to hear from you on similar experiences you had, so reach out to us on &lt;a href="https://twitter.com/cubiclebuddha" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;, &lt;a href="https://facebook.com/cubiclebuddha" rel="noopener noreferrer"&gt;Facebook&lt;/a&gt;, and &lt;a href="https://instagram.com/cubiclebuddha" rel="noopener noreferrer"&gt;Instagram&lt;/a&gt;. What small step helped you to make the biggest change?&lt;/p&gt;

</description>
      <category>motivation</category>
      <category>agile</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>How To Be Productive + Avoid “Analysis Paralysis”</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 05 Aug 2019 11:30:15 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/how-to-be-productive-avoid-analysis-paralysis-1e7h</link>
      <guid>https://dev.to/cubiclebuddha/how-to-be-productive-avoid-analysis-paralysis-1e7h</guid>
      <description>&lt;p&gt;You’re staring at the blank screen and you have no idea what to write. Or maybe you’re staring at a bug in some software you have to fix. Every career has these moments where you have no idea where to start. You’re overwhelmed by the options, and you’ve found yourself firmly in a state of “analysis paralysis.” So how do you get productive when you can’t even begin?&lt;/p&gt;

&lt;p&gt;We’ll share a wonderful tip from a surprising place: Hollywood.&lt;/p&gt;

&lt;p&gt;Inspiration can be found anywhere, and I often learn a lot from hearing about other careers. They call this “multidisciplinary learning.” It’s largely the reason why Leonardo DaVinci was so successful– he grabbed as much knowledge as he could from engineering, art, anatomy and more.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Hollywood Deals With Writer’s Block
&lt;/h2&gt;

&lt;p&gt;Today’s discovery came to me while listening to the podcast Armchair Expert, where Dax Shepard was interviewing Mike Schur (the show-runner and head writer of NBC’s hit comedy, “The Good Place”). Dax Shepard was shocked to discover that a writer is only allowed 3 days to write an entire episode, saying “[that’s] not a lot of time for writer’s block!”&lt;/p&gt;

&lt;p&gt;Dax Shepard and Mike Schur then share their secret:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Dax Shepard:&lt;/strong&gt; “My technique as a writer, to get over writer’s block is to give myself permission to write something shitty.”&lt;/p&gt;

&lt;p&gt;“Don’t you think it’s own of the greatest assets you can have?”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mike Schur:&lt;/strong&gt; “Of course.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dax Shepard:&lt;/strong&gt; “You become paralyzed with trying to write something perfect, and you’ll just never write.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It turns out that there’s a term in Hollywood for this process of iterating: “The Vomit Draft.”&lt;/p&gt;

&lt;h2&gt;
  
  
  The Vomit Draft
&lt;/h2&gt;

&lt;p&gt;The idea is that you just vomit something out. Maybe there are some good chunks in there (forgive me), but ultimately you are most likely going to throw away the whole draft.&lt;/p&gt;

&lt;p&gt;So how does that even help?&lt;/p&gt;

&lt;p&gt;Well, once you’ve started creating you have effectively removed the roadblocks. You have become un-paralyzed. Now you’re free to write a second draft that will almost certainly be better than the first. As I’ve heard it said before, “there’s only one direction to go from here: up!”&lt;/p&gt;

&lt;h2&gt;
  
  
  How To Apply It
&lt;/h2&gt;

&lt;p&gt;So if you’re working on a software bug, make a guess about the cause the bug and investigate it even if it’s wildly wrong. Just by getting into the motion of investigating will help you find the real root cause sooner.&lt;/p&gt;

&lt;p&gt;If you’re trying to write an email to your boss about a promotion… write a very bad one first. After you’re done, you’ll know what not to say. Just be sure to avoid adding an email address first so you don’t accidentally send it! We believe in &lt;a href="https://dev.to/cubiclebuddha/your-code-is-not-pretty-your-code-is-already-dead-code-glp"&gt;impermanence&lt;/a&gt;, but some things are not as easily undone.&lt;/p&gt;

&lt;p&gt;Those are just a few practical examples of how to get in the motion. What we’re really talking about here is iterating. You start small and you build on it. More importantly, don’t be afraid to chuck things out if they aren’t working. But you can’t throw away pages if you haven’t written any. So get started with something crappy!&lt;/p&gt;

&lt;h2&gt;
  
  
  Other Examples Of How Iterating Solves Quality And Productivity Problems
&lt;/h2&gt;

&lt;p&gt;It’s clear that iteratively developing a product can help to refine the idea into it’s best version over time. Here are some other examples from other careers that prove that “vomit drafts” or prototypes can help immensely.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Software:&lt;/strong&gt; The software development world introduced a concept called Agile that has recently been applied to all types of careers. You can read more about it &lt;a href="https://dev.to/cubiclebuddha/samsara-5-agile-techniques-to-end-suffering-and-increase-learning-4a76"&gt;here&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Wn_Ht1o8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--HRUFaBpC--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/user/profile_image/153909/2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha image"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/samsara-5-agile-techniques-to-end-suffering-and-increase-learning-4a76" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Samsara: 5 Agile Techniques to End Suffering And Increase Learning&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ Apr  7 '19 ・ 6 min read&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#productivity&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#motivation&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#agile&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#career&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Novel Writing:&lt;/strong&gt; Charles Dickens was famous for writing his novels in sections. And if you look at how prolific he was, you’ll see that he was onto something. Read more about his iterative novels &lt;a href="https://dev.to/cubiclebuddha/how-charles-dickens-wrote-like-an-agile-programmer-f51"&gt;here&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Wn_Ht1o8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--HRUFaBpC--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/user/profile_image/153909/2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha image"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/how-charles-dickens-wrote-like-an-agile-programmer-f51" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;How Charles Dickens Wrote Like An Agile Programmer&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ Jun  5 '19 ・ 5 min read&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#career&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#agile&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#productivity&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#motivation&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Visual Design&lt;/strong&gt; : We discussed “design thinking” recently, and &lt;a href="https://dev.to/cubiclebuddha/using-self-affirmation-to-fake-it-till-you-make-it-34l6"&gt;how this lesson from User Experience (UX) Design can help you to move past perfectionism&lt;/a&gt;and to improve yourself iteratively.&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Wn_Ht1o8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--HRUFaBpC--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/user/profile_image/153909/2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha image"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/using-self-affirmation-to-fake-it-till-you-make-it-34l6" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Using Self-Affirmation to “Fake It Till You Make It”&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ Jul 31 '19 ・ 3 min read&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#agile&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#career&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#motivation&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#psychology&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  But What’s Worked For You?
&lt;/h2&gt;

&lt;p&gt;I’d love to hear how you’re learning to overcome the paralysis that comes from a blank white canvas. How are you getting started?&lt;/p&gt;

</description>
      <category>agile</category>
      <category>motivation</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>Using Self-Affirmation to “Fake It Till You Make It”</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 29 Jul 2019 11:45:17 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/using-self-affirmation-to-fake-it-till-you-make-it-34l6</link>
      <guid>https://dev.to/cubiclebuddha/using-self-affirmation-to-fake-it-till-you-make-it-34l6</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;“Oh, that’s just what I’m like”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Have you ever heard you or a coworker say the following?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“Oh, geez. I’m such an idiot.”&lt;/li&gt;
&lt;li&gt;“Don’t mind me, I’m just a pessimist.”&lt;/li&gt;
&lt;li&gt;“Hah, I guess my perfectionism is showing today.”&lt;/li&gt;
&lt;li&gt;“I could never present at a meeting, I’m too antisocial.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Beware of thoughts like this. I’ve heard it said that “we become the stories that we say about ourselves.” So try this:&lt;/p&gt;

&lt;p&gt;Tell yourself &lt;strong&gt;a good story&lt;/strong&gt; , or at least the myth of what you want to become. And then believe it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Power Of Myth
&lt;/h2&gt;

&lt;p&gt;You have the ability to change your neural pathways (or &lt;a href="https://cubiclebuddha.com/?p=261"&gt;what Buddhists call your “habit energy”&lt;/a&gt;) through self-affirmation or “the process of reflecting upon important personal values or strengths.” Psychologist such as Professor Peter Harris of the University Of Sussex frequently write on the power of self-affirmation:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Self-affirmation appears to promote several key processes relevant to health behavior change, including more open-minded appraisal of otherwise threatening information, higher levels of mental construal, and reductions in the likelihood of self-control failure.” (&lt;a href="https://www.tandfonline.com/doi/abs/10.1080/15298868.2010.517963"&gt;1&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The Danger Of A Negative Myth
&lt;/h2&gt;

&lt;p&gt;Unfortunately, the opposite is true and that believing you are something negative can cause you to grow even further into those negative qualities.&lt;/p&gt;

&lt;p&gt;For instance, I used to tell myself that I was someone who is always late. I had thought that about myself from age 0-28. With the help of mentors, I began telling myself the opposite. I now tell myself that “I am a professional and accountable person.”&lt;/p&gt;

&lt;p&gt;I didn’t believe myself at first. But I desperately wanted to change. I have learned from the past that making sweeping changes are difficult, and that it is important to have &lt;a href="https://cubiclebuddha.com/?p=269"&gt;realistic expectations (you hear me perfectionists?)&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How To Turn It Around
&lt;/h2&gt;

&lt;p&gt;So I started small. At first, I tried getting to meetings one minute earlier than I would have. Then 3 minutes. Then 5 minutes before the meeting even started.&lt;/p&gt;

&lt;p&gt;Once I discovered the joy of being early and the innate calmness of having &lt;a href="https://dev.to/cubiclebuddha/mindfully-breathing-to-prepare-for-a-big-meeting-19im"&gt;a few minutes to breath before a meeting&lt;/a&gt;, the process of waking up early became easier. (P.s. Also, my team was happier that I was coming to meetings prepared. As a lead developer, you have to do your prep work!)&lt;/p&gt;

&lt;p&gt;So now, when I hear myself saying “oh, I’m not a morning person” I cut myself off. “I &lt;strong&gt;am&lt;/strong&gt; someone who respects time.”&lt;/p&gt;

&lt;p&gt;Be the myth. Fake it till you make it. Eventually &lt;em&gt;you won’t be faking it.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;P.s. Sometimes I slip up, and I’m late again. But &lt;a href="https://cubiclebuddha.com/?p=244"&gt;I don’t judge myself too harshly&lt;/a&gt;, because every moment is an opportunity for reinvention. The “me” of one second ago made that mistake, the “me” of right now can choose to behave wisely. Be in the present moment, and earn that forgiveness by being better. You can’t change the past, but you &lt;em&gt;can&lt;/em&gt; change this current moment.&lt;/p&gt;




&lt;p&gt;Addendum: Discovery processes like this yield interesting findings about your own mental processes. I realized that the previous me didn’t like being early to meetings because I didn’t like to be alone with my thoughts. Coming face-to-face with that realization, I had to remind myself what I’ve always known: being alone with your thoughts is one of the most valuable things you can do. In fact, &lt;a href="https://cubiclebuddha.com/?p=269"&gt;a quiet mind might even be productive.&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agile</category>
      <category>career</category>
      <category>motivation</category>
      <category>psychology</category>
    </item>
    <item>
      <title>Your Code Is Not Pretty / Your Code Is Already Dead Code</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 22 Jul 2019 11:45:07 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/your-code-is-not-pretty-your-code-is-already-dead-code-glp</link>
      <guid>https://dev.to/cubiclebuddha/your-code-is-not-pretty-your-code-is-already-dead-code-glp</guid>
      <description>&lt;p&gt;&lt;em&gt;“Wow. Look at this code, it looks so nice! And it’s so clear and easy to read!”&lt;/em&gt; Clarity and readability are admirable things to aim for, but is it possible that the quest for “perfect” code is preventing you from actually RELEASING real functionality to the user?&lt;/p&gt;

&lt;p&gt;When my perfectionism is owning me more than helping me, I remind myself:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Yesterday is already gone. Tomorrow is not yet here. Today is the only day available to us; it is the most important day of our lives.”&lt;br&gt;&lt;br&gt;
– Thich Nhat Hanh&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What Thich Nhat Hanh is referring to is the Buddhist concept of Impermanence.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;“Impermanence..?!?”&lt;/em&gt; What a crazy thing to be talking about in relationship to software. &lt;em&gt;“Aren’t we trying to build something that will stand the test of time?”&lt;/em&gt; is something a rational human might say. But what impermanence refers to is the fact that all things decay and/or change. Maybe that notion is scary or sad to you, but that’s not what we’re trying to do– &lt;a href="https://CubicleBuddha.com" rel="noopener noreferrer"&gt;CubicleBuddha.com&lt;/a&gt; is all about lifting you up! So instead of being sad about the staleness of yesterday’s effort, remember that your users &lt;strong&gt;&lt;em&gt;want&lt;/em&gt;&lt;/strong&gt; the code to change to support new use cases. So why not focus on what your users need today– after all, “[today] is the most important day of our lives.”&lt;/p&gt;

&lt;h2&gt;
  
  
  How Do I Know When Fear Is Preventing Me From Helping My Users?
&lt;/h2&gt;

&lt;p&gt;It doesn’t take very much time to find a company that is afraid of change. Here are some clear markers of that “fear of change” and how it can lead to a slow development process:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Products that are delayed because “it wasn’t all ready.” (Who cares if it’s not all done? Release what you have!)&lt;/li&gt;
&lt;li&gt;Code that never gets released because of poor understanding of the requirements/ acceptance criteria. (If you’re trying to add value for your users, you should probably ask them what they want. And better yet, try to limit the number of people that the message has to flow through between the user and the developer. Whisper down the lane is a killer.)&lt;/li&gt;
&lt;li&gt;A product that never gets released because the contract was canceled before it had a chance to “go live” to the customers. (This means that the company clearly waited too long to get the work out to the users.)&lt;/li&gt;
&lt;li&gt;Code that is rewritten all of the time because new requirements come in all the time– i.e. “swirl” or “churn.” Again, this is a clear sign that it took too long to get the product out to the users. Software isn’t made out of stone like I used to think– it’s very easy to change. And if you don’t think it’s easy to change, then you’re not writing with an eye towards refactorability. Think about it this way: a contractor who is building a porch or a roof can’t build it quickly and then ask the home owner if he likes the work. They’d get fired and/or taken to court if their work was deficient. But a house contractor can draw up plans and get feedback on these low-fidelity mockups of the work. We have almost no excuses in software since not only can we have the users review our plans, but we can also get the work out and then change it almost immediately.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;What do these scenarios have in common?&lt;/em&gt; They’re all examples of how embracing change would have made for more pleasurable experiences for all involved.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, How Can I Embrace Change?
&lt;/h2&gt;

&lt;p&gt;Maybe you’ve recognized that you want to make the jump, but you don’t know how. You ask, “what does embracing change mean in software?”&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It means writing code that lets you make quick changes without breaking the past. This means using good design patterns (like we’ll discuss in future articles).&lt;/li&gt;
&lt;li&gt;It means writing unit tests so you can make new updates without worrying about whether or not you broke your last updates.&lt;/li&gt;
&lt;li&gt;It means removing “&lt;a href="https://cubiclebuddha.com/?p=170" rel="noopener noreferrer"&gt;Dead Code&lt;/a&gt;” so that the past doesn’t slow you down and creep up as unexpected bugs.&lt;/li&gt;
&lt;li&gt;It means worrying less about the “beauty” of your code and more about if it makes your users happy and if it makes future developers happy to build upon it.&lt;/li&gt;
&lt;li&gt;It means loving and understanding your peers, even when your Product Owner comes to you and says that we misunderstood the customer and therefore we have to remove the code you just worked so hard on. That’s change. And as long as your listening to the needs of the customer, you’re changing for the better.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We’ll be touching on many of these solutions in future articles, but let’s unpack that last point a little bit:&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Learned To Be Happy Deleting Code
&lt;/h2&gt;

&lt;p&gt;In my years of professional programming, I have had to delete functions, features, and entire products countless times when my bosses “refined” their understanding of the customer’s needs or the market’s needs. So when that happens, did I get sad over the loss of my code? &lt;em&gt;Heck yea I did! I’m only human.&lt;/em&gt; But eventually you realize that every time we write code, we’re producing our best guesses of what the customer needs. As we refine that guesstimate, we have to remove or delete the parts of the product that were bad assumptions. Sometimes that means deleting your favorite parts– yes, even the parts that you really thought were beautifully written. But was it really beautiful if it wasn’t helping the customer?&lt;/p&gt;

&lt;p&gt;You might have read my critique of “beautiful code” and thought, “is he asking me to not worry about readability?” Of course I’m not! I am simply recommending that you don’t let yourself become slowed down or paralyzed by thoughts on how the code should be structured.&lt;/p&gt;

&lt;p&gt;The best way I find to unburden myself from these thoughts is to ask myself, “Do you think that future developers will see your code and think this is beautiful?” The answer is almost certainly “no.” The dirty secret about software maintainability is that most of us only like the way &lt;em&gt;our&lt;/em&gt; code looks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ignoring “pretty” and perfection
&lt;/h2&gt;

&lt;p&gt;What we’re trying to do is make a tiny amount of room for acceptable failure so that perfectionism doesn’t control you. When you’re thinking from the perspective of balance you can consider thoughts like “I want the code to be maintainable but I also want to get value out to the users today!” We would be wise to remember the words of Confucius who said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Better a diamond with a flaw than a pebble without.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So my wish for you is that you accept and learn from the flaws so you can grow your work into a diamond day by day. And if your peers have flaws, accept them too– they’re also trying to grow and learn too. &lt;strong&gt;If you don’t let go of the past, then you can’t make room for what really matters today.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;—————————————&lt;/p&gt;

&lt;p&gt;If this article helped you, you might interested in other articles from &lt;a href="https://CubicleBuddha.com" rel="noopener noreferrer"&gt;CubicleBuddha.com&lt;/a&gt; such as:&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153909%2F2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/doing-nothing-the-cure-for-procrastination-47ik" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Doing nothing: The cure for procrastination&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ Jun 26 '19&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#career&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#help&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#motivation&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#agile&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153909%2F2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/samsara-5-agile-techniques-to-end-suffering-and-increase-learning-4a76" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Samsara: 5 Agile Techniques to End Suffering And Increase Learning&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ Apr 7 '19&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#productivity&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#motivation&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#agile&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#career&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;p&gt;Thanks again for reading. I’d love to know what has helped you to accept change in the workplace?&lt;/p&gt;

</description>
      <category>motivation</category>
      <category>productivity</category>
      <category>agile</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Finally, an easy way to use TypeScript enums</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 15 Jul 2019 16:37:16 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/finally-an-easy-way-to-use-typescript-enums-3kj0</link>
      <guid>https://dev.to/cubiclebuddha/finally-an-easy-way-to-use-typescript-enums-3kj0</guid>
      <description>&lt;p&gt;One of the best things that TypeScript provides is a standard &lt;code&gt;enum&lt;/code&gt; type that simply doesn't exist in JavaScript. Yes, yes... there are &lt;em&gt;thousands&lt;/em&gt; of enum libraries out there in Github with various implementations. But there's something wonderful about having a standard built into the language.&lt;/p&gt;

&lt;p&gt;tl;dr: I'm going to show a cool library that makes interacting with enums a joyous experience.&lt;/p&gt;

&lt;h1&gt;
  
  
  So what's the problem?
&lt;/h1&gt;

&lt;p&gt;Well, as great as TypeScript enums are... they've lead to some verbose or unreadable code.&lt;/p&gt;

&lt;p&gt;Like, let's say you have an enum for food ordering:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kr"&gt;enum&lt;/span&gt; &lt;span class="nx"&gt;FoodPreference&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;vegan&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nx"&gt;vegetarian&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nx"&gt;meatEater&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Beautiful. But now you need to write some presentation logic. Let's first show a simple but highly-unreadable way to write that presentation logic:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;presentationString&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;filter&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;vegan&lt;/span&gt;
            &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Do you have a nut preference?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
            &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;filter&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;vegetarian&lt;/span&gt;
            &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Which protein would you like?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
            &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;What type of meat would you like?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;So, just like how people have food preferences... some people love nested ternaries. I am not one of those people.&lt;/p&gt;

&lt;p&gt;While I love the immutability benefits that come with &lt;code&gt;const&lt;/code&gt;, there are serious problems with the "eye-scan-ability" of nested ternaries. Furthermore, I recently described how fall-through approaches like that example put the code at risk for when a new case has been added to the enum.&lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/cubiclebuddha" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153909%2F2d2a009c-aba7-491d-bd87-6451d6733ddd.jpeg" alt="cubiclebuddha"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/cubiclebuddha/is-defensive-programming-actually-healthy-5flj" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Is “Defensive Programming” actually healthy?&lt;/h2&gt;
      &lt;h3&gt;Cubicle Buddha ・ May 8 '19&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#discuss&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#help&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#typescript&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#javascript&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;h1&gt;
  
  
  The more readable, more defensive, but sadly verbose option
&lt;/h1&gt;

&lt;p&gt;So we could rewrite the above code using our defensive technique by using the &lt;a href="https://dev.to/cubiclebuddha/is-defensive-programming-actually-healthy-5flj"&gt;assertUnreachable&lt;/a&gt;  function I described in my &lt;a href="https://dev.to/cubiclebuddha/is-defensive-programming-actually-healthy-5flj"&gt;other&lt;/a&gt; article:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;askFirstQuestion&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;pref&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;switch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;pref&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
        &lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;vegan&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Do you have a nut preference?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;vegetarian&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Which protein would you like?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;meatEater&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;What type of meat would you like?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nl"&gt;default&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nf"&gt;assertUnreachable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;pref&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Hmmm, that's still a lot of typing. I don't even like switch cases that much because of known issues like falling through. And although &lt;a href="https://dev.to/cubiclebuddha/is-defensive-programming-actually-healthy-5flj"&gt;assertUnreachable&lt;/a&gt; eliminates a lot of the problems with switch cases, I still feel like we can do better.&lt;/p&gt;

&lt;h1&gt;
  
  
  Look up in the sky! It's &lt;code&gt;ts-enum-util&lt;/code&gt; to the rescue!
&lt;/h1&gt;

&lt;p&gt;Some wonderful person decided to make a library that would simplify many enum operations. Check out their readme for more information, but for the moment let's see how this &lt;code&gt;ts-enum-util&lt;/code&gt; improves our code:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;createPresentationString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;pref&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;$enum&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;mapValue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;pref&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;with&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;vegan&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Do you have a nut preference?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;vegetarian&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Which protein would you like?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;FoodPreference&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;meatEater&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;What type of meat would you like?&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;})&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Isn't that much clearer? It's certainly shorter.&lt;/p&gt;

&lt;h1&gt;
  
  
  So is this just about less code?
&lt;/h1&gt;

&lt;p&gt;Wait, before you say that it's just syntactic sugar... let's show the TLC (tender, love, and care) that the library author added to their library.&lt;/p&gt;

&lt;p&gt;Watch what happens when you add a new entry into the enum:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsx34g2nj362zci2qz9xo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsx34g2nj362zci2qz9xo.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Isn't that cool? We get all of the benefits of &lt;a href="https://dev.to/cubiclebuddha/is-defensive-programming-actually-healthy-5flj"&gt;assertUnreachable&lt;/a&gt; without the readability problems of nested ternaries or the verbosity (and other known issues) of switch statements.&lt;/p&gt;

&lt;h1&gt;
  
  
  Thoughts?
&lt;/h1&gt;

&lt;p&gt;So I'm a big fan of this new approach. But I'm interested in hearing your thoughts so please reply on &lt;a href="https://twitter.com/cubiclebuddha" rel="noopener noreferrer"&gt;twitter&lt;/a&gt; or in the comments. Also, be sure to throw a Github star or two to Jeff Lau's &lt;a href="https://github.com/UselessPickles/ts-enum-util" rel="noopener noreferrer"&gt;ts-enum-util&lt;/a&gt; library.&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>webdev</category>
      <category>programmming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Mindfully Screaming: How to deal with anger at work</title>
      <dc:creator>Cubicle Buddha</dc:creator>
      <pubDate>Mon, 15 Jul 2019 11:45:12 +0000</pubDate>
      <link>https://dev.to/cubiclebuddha/mindfully-screaming-how-to-deal-with-anger-at-work-dg0</link>
      <guid>https://dev.to/cubiclebuddha/mindfully-screaming-how-to-deal-with-anger-at-work-dg0</guid>
      <description>&lt;p&gt;Wait, what? You &lt;em&gt;want&lt;/em&gt; me to scream on purpose? &lt;strong&gt;Yes.&lt;/strong&gt; And I promise this won’t lead to the Human Resources department knocking down your door. In fact, it might even help prevent negative interactions with your peers.&lt;/p&gt;

&lt;p&gt;Try the following surprising advice to get &lt;em&gt;truly&lt;/em&gt; calm.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Go out to your car and SCREAM.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sometimes you have a bad interaction at work and it simply makes you furious. The logic center of your brain knows that it’s uncouth to be angry, but let’s be honest… logic has nothing to do with anger. After all we are scientifically classified as animals. Even software engineers like me, who operate in logic all day, can’t escape the feelings that arise when a coworker is being cruel or if the computer just isn’t behaving.&lt;/p&gt;

&lt;p&gt;Of course we all hope that we can fight off our anger, but Buddhism has a surprising suggestion: &lt;strong&gt;don’t fight your anger.&lt;/strong&gt; Famed Buddhist teacher Thich Nhat Hanh perfectly describes how you can accept and forgive the anger as a way of dissipating it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“The practitioner knows that her anger is not her enemy; her anger is her suffering baby. She must take good care of her baby, using the energy of mindfulness to embrace her anger in the most tender way. She can say, “Breathing in, I know that anger is in me. Breathing out, I am peacefully holding my anger.”&lt;/p&gt;

&lt;p&gt;– Thich Nhat Hanh&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;One of the easiest ways to get through anger that may pop up is to go outside or to go someplace you’re comfortable with and just yell. It doesn’t have to be loud or to sound like William Shatner’s Kahn yell… but it’s just the act of acknowledging your anger.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi2.wp.com%2Fcubiclebuddha.com%2Fwp-content%2Fuploads%2F2019%2F01%2FCAA9780D-FCF0-44E3-8599-BF83131A0B2F.jpeg%3Fw%3D660%26ssl%3D1" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi2.wp.com%2Fcubiclebuddha.com%2Fwp-content%2Fuploads%2F2019%2F01%2FCAA9780D-FCF0-44E3-8599-BF83131A0B2F.jpeg%3Fw%3D660%26ssl%3D1"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And once you’ve given yourself permission to feel your anger, you will most likely feel it dissipate.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“People who use venting techniques like hitting a pillow or shouting are actually rehearsing anger. When someone is angry and vents their anger by hitting a pillow, they are learning a dangerous habit. They are training in aggression. Instead, our approach is to generate the energy of mindfulness and embrace anger every time it manifests.”&lt;/p&gt;

&lt;p&gt;~ Thich Nhat Hanh&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So the trick is to not act out in a way that masks your frustration, but to really embody the pain. When you are screaming in your car, allow yourself to feel the catharsis that comes with actually expressing your emotions.&lt;/p&gt;

&lt;p&gt;Once you stop judging your anger, it begins to feel less important to direct that anger at another person. In fact, you might find that you were in the wrong. Apologizing is not something to be ashamed of and can be very cathartic, and we have advice on how to apologize well. Or, you might find the clarity of mind to transparently share your concerns with your peer. Or perhaps it was something very silly to be mad at. Maybe you will find yourself laughing with your new friend.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Mindfulness is like a big brother who does not suppress his younger brother’s suffering. He simply says, “Dear brother, I’m here for you.”&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;So what do you think… could you see yourself walking out to the car to scream a little? What have you tried that’s helped to authentically embrace your feelings?&lt;/p&gt;

</description>
      <category>career</category>
      <category>productivity</category>
      <category>psychology</category>
      <category>watercooler</category>
    </item>
  </channel>
</rss>
