<?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: Prathamesh Thakre</title>
    <description>The latest articles on DEV Community by Prathamesh Thakre (@tpmsh).</description>
    <link>https://dev.to/tpmsh</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%2F3541098%2F0569b01a-a165-4f73-99e4-8df52e9a805e.jpg</url>
      <title>DEV Community: Prathamesh Thakre</title>
      <link>https://dev.to/tpmsh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tpmsh"/>
    <language>en</language>
    <item>
      <title>My First Open Source PR — Done During Hacktoberfest 2025!</title>
      <dc:creator>Prathamesh Thakre</dc:creator>
      <pubDate>Thu, 02 Oct 2025 16:58:23 +0000</pubDate>
      <link>https://dev.to/tpmsh/my-first-open-source-pr-done-during-hacktoberfest-2025-14p6</link>
      <guid>https://dev.to/tpmsh/my-first-open-source-pr-done-during-hacktoberfest-2025-14p6</guid>
      <description>&lt;p&gt;Hey devs!&lt;br&gt;
After years of building full stack apps, I finally checked off something that was long overdue — my first OSS contribution!&lt;/p&gt;

&lt;p&gt;This happened during Hacktoberfest 2025, and I wanted to share the real journey — with all the steps, wins, and lessons for beginners or even pros who haven’t yet jumped into open source.&lt;/p&gt;

&lt;p&gt;Even though I’ve been coding professionally for years, I never actively contributed to open source.&lt;/p&gt;

&lt;p&gt;This October, I wanted to be more than a consumer. So I searched for beginner-friendly Java issues, and I found this gem:&lt;/p&gt;

&lt;p&gt;JEP 507 - Primitive Types in Patterns, instanceof, and switch&lt;/p&gt;

&lt;p&gt;Goal: Add a demo for a cool upcoming Java 25 feature&lt;/p&gt;

&lt;p&gt;My Step-by-Step OSS Journey&lt;/p&gt;

&lt;p&gt;Here’s the exact workflow I followed, in case it helps you replicate it!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Find a Good Issue&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Look for repos with:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;hacktoberfest&lt;/code&gt;&lt;br&gt;
&lt;code&gt;help wanted&lt;/code&gt;&lt;br&gt;
&lt;code&gt;Your language of interest&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Fork + Clone&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git fork https://github.com/AloisSeckar/demos-java.git
git clone &amp;lt;your-fork-url&amp;gt;
cd demos-java
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. Understand the Code&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before writing anything, I read:&lt;/p&gt;

&lt;p&gt;The existing demo structure&lt;/p&gt;

&lt;p&gt;&lt;code&gt;CONTRIBUTING.md&lt;/code&gt;&lt;br&gt;
&lt;code&gt;JEP 507 details (super useful!)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Code the Demo&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I built PrimitiveTypesDemo.java, which included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;instanceof with primitives&lt;/li&gt;
&lt;li&gt;Record pattern narrowing&lt;/li&gt;
&lt;li&gt;Pattern-based switch blocks (with guards and fallbacks)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Also added print statements so devs could easily understand what’s happening at runtime.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Push and PR&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git checkout -b add-jep507-demo
git add .
git commit -m "Add JEP 507 demo: instanceof and switch with primitive types"
git push origin add-jep507-demo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then raised the Pull Request&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Link to Issue &amp;amp; Thank the Maintainer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Got it linked to the issue. Said thanks to the maintainer.&lt;br&gt;
Small gestures go a long way in OSS!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I Learned&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It’s not as intimidating as it looks&lt;/li&gt;
&lt;li&gt;Reading the issue &amp;amp; docs carefully saves time&lt;/li&gt;
&lt;li&gt;You don’t need to “fix bugs” to contribute — demos/docs/tests count too!&lt;/li&gt;
&lt;li&gt;Most OSS maintainers are super welcoming&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Your Turn?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thinking of contributing? Just start. Really.&lt;/p&gt;

&lt;p&gt;Even if you’re experienced like me, or just beginning, Hacktoberfest is the perfect excuse to finally hit that “Create Pull Request” button.&lt;/p&gt;

&lt;p&gt;Hit me up if you’re contributing or looking for beginner-friendly Java OSS — happy to collaborate or cheer you on!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>opensource</category>
      <category>java</category>
      <category>hacktoberfest</category>
    </item>
  </channel>
</rss>
