<?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: Brittney Kernan</title>
    <description>The latest articles on DEV Community by Brittney Kernan (@brittneykernan).</description>
    <link>https://dev.to/brittneykernan</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%2F368406%2F413f7435-f0be-4249-b92b-a83df31f415b.jpeg</url>
      <title>DEV Community: Brittney Kernan</title>
      <link>https://dev.to/brittneykernan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brittneykernan"/>
    <language>en</language>
    <item>
      <title>Getting Started with Graphite: A No-Fluff Guide</title>
      <dc:creator>Brittney Kernan</dc:creator>
      <pubDate>Mon, 09 Jun 2025 01:08:21 +0000</pubDate>
      <link>https://dev.to/brittneykernan/a-quick-way-to-get-started-with-graphite-5bb2</link>
      <guid>https://dev.to/brittneykernan/a-quick-way-to-get-started-with-graphite-5bb2</guid>
      <description>&lt;p&gt;For visual learners who want to learn the basics of PR stacking quickly. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why use &lt;a href="https://graphite.dev/" rel="noopener noreferrer"&gt;Graphite&lt;/a&gt;?&lt;/strong&gt; Have you ever based branches on top of others and opened PRs for them? Yes. Does it get messy? Yes. Graphite makes this, called stacking PRs, easier and less time consuming.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Graphite?&lt;/strong&gt; A web platform and cli. The web platform feels like a next gen Github. The CLI is like git.&lt;/p&gt;

&lt;p&gt;Step 0: Check out their &lt;a href="https://graphite.dev/" rel="noopener noreferrer"&gt;cool website&lt;/a&gt; and &lt;a href="https://graphite.dev/pricing" rel="noopener noreferrer"&gt;create a Free dev account&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 1: Watch the first 4 or more videos in Graphite’s &lt;a href="https://www.youtube.com/playlist?list=PLT6uQleTDjGRJhmQRIel-B3gNVYpxD2DZ" rel="noopener noreferrer"&gt;Getting started with Graphite video playlist&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 2: &lt;a href="https://graphite.dev/docs/install-the-cli" rel="noopener noreferrer"&gt;Install the CLI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 3: Follow their demo to get hands on experience by running: &lt;code&gt;gt demo&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Step 4: Create your own cheatsheet to strengthen memory of cli commands&lt;/p&gt;

&lt;p&gt;Step 5: Get to work&lt;/p&gt;

&lt;p&gt;Bonus: &lt;a href="https://graphite.dev/docs/slack-notifications" rel="noopener noreferrer"&gt;Integrate with Slack&lt;/a&gt; for notifications&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learning time:&lt;/strong&gt; Under an hour&lt;/p&gt;

&lt;p&gt;I hope you found this helpful and concise.&lt;/p&gt;

</description>
      <category>graphite</category>
      <category>git</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Tiny Brain Hack for Getting Over Fear of Coding Something New</title>
      <dc:creator>Brittney Kernan</dc:creator>
      <pubDate>Tue, 19 Nov 2024 02:57:50 +0000</pubDate>
      <link>https://dev.to/brittneykernan/tiny-brain-hack-for-getting-over-fear-of-coding-something-new-5d4g</link>
      <guid>https://dev.to/brittneykernan/tiny-brain-hack-for-getting-over-fear-of-coding-something-new-5d4g</guid>
      <description>&lt;p&gt;A little brain hack to quiet that fearful voice in your brain when coding something new: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;write a quick list of steps to tackle the problem&lt;/li&gt;
&lt;li&gt;write the difficulty next to each step&lt;/li&gt;
&lt;li&gt;code&lt;/li&gt;
&lt;li&gt;reread the difficulty when the fear kicks up&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;My brain will tell me steps are more difficult than they will be, but from experience, I know the brain is exaggerating. Raising risk is the brain’s job, so let it do its thing, you do yours.&lt;/p&gt;

</description>
      <category>learning</category>
    </item>
    <item>
      <title>What is a memberwise initializer in Swift?</title>
      <dc:creator>Brittney Kernan</dc:creator>
      <pubDate>Wed, 15 Nov 2023 17:10:00 +0000</pubDate>
      <link>https://dev.to/brittneykernan/what-is-a-memberwise-initializer-in-swift-p61</link>
      <guid>https://dev.to/brittneykernan/what-is-a-memberwise-initializer-in-swift-p61</guid>
      <description>&lt;p&gt;This is a heuristic I, a front-end developer learning SwiftUI, used to mentally map this intimidating term.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mapping each word:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Initializer: A function that initializes an instance of an object, in this case, a structure, a.k.a. struct&lt;/li&gt;
&lt;li&gt;Member: Members is another term for the properties of the struct&lt;/li&gt;
&lt;li&gt;Wise: Knowledgable about the struct members/properties and capable of generating code &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Putting it together:
&lt;/h3&gt;

&lt;p&gt;A memberwise initializer is an initializer function that the Swift compiler conveniently auto-generates for you when you define a struct. This saves you the mundane task of writing an initializer function for structs.&lt;/p&gt;

&lt;h3&gt;
  
  
  A visual:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fct106nfjnzabu3nn5gia.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fct106nfjnzabu3nn5gia.png" alt="A screenshot of the struct code below with Xcode's code completion popup" width="800" height="273"&gt;&lt;/a&gt;&lt;br&gt;
See the suggested completion for the Song struct. It shows you the memberwise initializer’s function signature. Notice I did not type out an init function.&lt;/p&gt;

&lt;h3&gt;
  
  
  Try it yourself:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight swift"&gt;&lt;code&gt;&lt;span class="kd"&gt;struct&lt;/span&gt; &lt;span class="kt"&gt;Song&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="nv"&gt;bpm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Int&lt;/span&gt;
    &lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="nv"&gt;artist&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;String&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="nv"&gt;greatestHit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;Song&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="c1"&gt;// code completion pops up here&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I encourage you to build a deeper understanding of the term by &lt;a href="https://cocoacasts.com/swift-fundamentals-what-is-a-memberwise-initializer" rel="noopener noreferrer"&gt;reading Bart Jacobs' article on memberwise initializers&lt;/a&gt; and following along with his code examples in XCode’s Playground. It’s also always a good idea to &lt;a href="https://docs.swift.org/swift-book/documentation/the-swift-programming-language/initialization/#Memberwise-Initializers-for-Structure-Types" rel="noopener noreferrer"&gt;read the official Apple documentation, for now on memberwise initializers&lt;/a&gt;, for the freshest information, as Swift is updated about twice yearly.&lt;/p&gt;

&lt;p&gt;Thanks for your time. Let me know if you have questions or suggested improvements to this post.&lt;/p&gt;

</description>
      <category>swift</category>
    </item>
  </channel>
</rss>
