<?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 Jia Oblepias on Medium]]></title>
        <description><![CDATA[Stories by Jia Oblepias on Medium]]></description>
        <link>https://medium.com/@jia.oblepias?source=rss-9fbeef0945d8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*G7OCFd7koRtbaECktXJ-kw.png</url>
            <title>Stories by Jia Oblepias on Medium</title>
            <link>https://medium.com/@jia.oblepias?source=rss-9fbeef0945d8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:39:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jia.oblepias/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[Your AWS Adventure: A Guide for New Team Member]]></title>
            <link>https://medium.com/@jia.oblepias/your-aws-adventure-a-guide-for-new-team-member-0a9276c08183?source=rss-9fbeef0945d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a9276c08183</guid>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Jia Oblepias]]></dc:creator>
            <pubDate>Mon, 16 Oct 2023 05:00:37 GMT</pubDate>
            <atom:updated>2023-10-16T05:00:37.725Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the AWS world! As you embark on your journey with Amazon Web Services (AWS), you’re about to discover a vast, dynamic, and exciting landscape of cloud computing. This guide is tailored just for you, a new team member who is taking your first steps into the AWS ecosystem. Whether you’re a developer or a curious learner eager to explore, this resource will be your compass as you navigate the AWS cloud.</p><p>In this guide, I’ll walk you through the essential steps to help you quickly become familiar with AWS and start contributing to the team. We understand that as a newcomer, it can be both exhilarating and overwhelming, but rest assured, this journey is yours to mold. So, let’s begin your AWS adventure and discover the pathways that lead to successful collaboration and personal growth within our team.</p><h3>1. Connect with Teammates:</h3><ul><li>Start by reaching out to a teammate for a casual chat, maybe over coffee or a virtual meet-up. This is your chance to understand AWS while building friendly relationships with your new team.</li></ul><h3>2. Identify AWS Resources:</h3><ul><li>Ask your teammate about the current projects and select one that piques your interest.</li><li>Open the project’s source code and take a casual stroll to spot any AWS-related elements.</li><li>Don’t worry if you miss something — that’s part of the adventure!</li></ul><h3>3. Understand the Basics:</h3><ul><li>Begin by exploring the basics of AWS resources. No need to dive too deep into the technicalities just yet.</li><li>Feel free to leave a couple of resources for future exploration.</li><li>Try to grasp why these AWS resources are used in the project. Trust your instincts, and don’t hesitate to seek insights from your team.</li></ul><h3>4. Learn the Implementation:</h3><ul><li>Dive into the code and pick one AWS resource to dig into — maybe Lambda, S3, or DynamoDB.</li><li>Take your time understanding how these resources are managed in the project.</li><li>Find out if they use declarative tools or more developer-friendly options for resource management.</li><li>If you see the resource being created or reused, explore how it’s done with your teammate’s guidance.</li></ul><h3>5. Explore Independently:</h3><ul><li>As you feel comfortable, venture into other AWS resources in the project.</li><li>Remember, learning is a personal journey, so go at your own pace and enjoy the process.</li><li>Strive to create these resources and understand their various configurations.</li></ul><h3>6. Hands-On Practice:</h3><ul><li>Experiment with creating AWS resources in your own AWS account using the free tier.</li><li>Check if your company offers a playground account for hands-on experience.</li><li>Consult AWS documentation and use the step-by-step guides to get familiar with resource creation.</li><li>Try replicating the project’s AWS configurations using the same deployment tools your team uses.</li></ul><h3>7. Join and Contribute:</h3><ul><li>Consider shadowing a teammate on their next task — it’s a fantastic way to learn from their experience.</li><li>Don’t hesitate to grab a task and learn as you go. Sharing your discoveries, tips, and challenges with the team will be appreciated.</li></ul><p>Remember, this is your journey, and you have the freedom to explore and learn. Embrace the excitement of discovery, but don’t forget that your teammates are here to help you navigate this new world of AWS. Enjoy the ride!</p><h3>That’s it! What’s next?!</h3><p>Absolutely, after you’ve taken those initial steps into the AWS world, there are plenty of paths to explore and expand your knowledge at your own pace. Here are some suggestions:</p><h3>Advance your Beginner’s Learning Journey</h3><ul><li>Consider creating your mini projects or experiments to solidify your understanding.</li><li>Follow your curiosity and explore topics that interest you within AWS.</li><li>Take the initiative to map the architecture of other projects, apps, or services within your team and then discuss it with your colleagues.</li></ul><h3>Explore Outside the Company Bubble</h3><ul><li>Explore online learning platforms like ACloudGuru, Udemy, Coursera, and LinkedIn Learning. You can find recorded classes and training sessions on AWS.</li><li>If you enjoy reading, there are numerous books available for AWS learning. You can check out recommendations from sources like <a href="https://medium.com/javarevisited/my-favorite-books-to-learn-aws-c258a3185476">this Medium post</a>.</li><li>Dive into AWS documentation and white papers when you encounter specific questions or need in-depth information.</li><li>Watch AWS-related sessions and tutorials on platforms like YouTube and Twitch. The official <a href="https://www.youtube.com/@amazonwebservices/videos">AWS YouTube channel</a> is a great starting point.</li></ul><h3>Go Pro</h3><ul><li>If you want to take your AWS knowledge to the next level, consider pursuing an AWS certification. AWS offers a <a href="https://aws.amazon.com/training/">variety of certifications</a>, and you can plan your certification path according to your interests and career goals.</li><li>Look into training resources like ACloudGuru, Udemy (especially courses by instructors like Stephane Maarek), Coursera, and LinkedIn Learning.</li><li>Practice exams are a valuable resource for preparing for AWS certifications. Platforms like Whizlabs and Udemy offer practice exams that can help you assess your knowledge and readiness.</li></ul><h3>Sync Yourself with the Latest</h3><ul><li>Stay updated by attending AWS sessions, webinars, and conferences. You can find a list of AWS events <a href="https://aws.amazon.com/events/">here</a>.</li><li>Join communities like the <a href="https://www.reddit.com/r/aws/">AWS subreddit</a> to stay informed and engage in discussions with fellow AWS enthusiasts.</li><li>Follow AWS experts and advocates on social media platforms, including Twitter, LinkedIn, and YouTube. Some notable figures include James Beswick, Jeff Barr, Danilo Poccia, Laura Hyatt, Corey Quinn, Jaana Dogan, and Werner Vogels.</li><li>Don’t forget to maintain an open line of communication with your colleagues. Sharing knowledge and experiences within your team is essential for personal growth and collective success.</li></ul><p>Your AWS journey is entirely in your hands, and the beauty of it is that you have the freedom to explore at your own pace and according to your interests. Enjoy the adventure!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a9276c08183" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Pair Programmer Co-Pilot: My Unhelpful Rough Thoughts]]></title>
            <link>https://medium.com/@jia.oblepias/ai-pair-programmer-co-pilot-my-unhelpful-rough-thoughts-14f7a935d6cb?source=rss-9fbeef0945d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/14f7a935d6cb</guid>
            <category><![CDATA[github-copilot]]></category>
            <category><![CDATA[ai-pair-programmer]]></category>
            <dc:creator><![CDATA[Jia Oblepias]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 17:12:27 GMT</pubDate>
            <atom:updated>2023-09-19T17:14:16.181Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P8g7x3yQbD5_QjMF" /><figcaption>Photo by <a href="https://unsplash.com/@chuklanov?utm_source=medium&amp;utm_medium=referral">Avel Chuklanov</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The <strong>AI pair programme</strong>r, <strong>co-pilot</strong> seems to be helpful in seemingly repetitive things with patterns such as unit tests. It also learns my coding behaviour and seems to be doing quite well. I’ve been using co-pilot even after my organization trial expired. I’ve also tried a month or a couple of weeks without it and I can feel the difference. It’s like I’ve offloaded some stuff to it and without it, I’ll have to do them manually. There are small things to offload, but collectively it feels like they can save time, though I haven’t timed myself. For example, in some cases I just have to create a comment of what I want to do and hit tab and voila code is ready. Because of that I can focus my limited energy on the next big thing. I also learned to code with comments, and I feel like my code became more simple and more readable for some reason because of that. It also helps with momentum, sometimes my brain is still loading and a bit foggy, I wanted to do something but can’t find the words to express it in code, co-pilot gives ideas just like what chatGPT does, so it keeps me going.. instead of getting stuck at figuring out what to search. It’s also good when, for example, Im not as familiar with python as I am with typescript, so when coding in python, it really helps a lot, saves me time from googling simple stuffs like “remove columns with more than 50% missing values”.</p><p>AI pair programmer such as Co-pilot, may not be labelled as “need” at the moment because we can obviously code without it but I guess it will be in the future. For example, decisions without machine learning is okay, we’ve been doing that, but now, without machine learning backing up our decisions while competitors have it, we are definitely at a disadvantage. Will I continue to use it? I’m not sure, maybe I’ll try something new or whatever.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14f7a935d6cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I’m delighted to share that I’ve successfully completed a comprehensive machine learning course!]]></title>
            <link>https://medium.com/@jia.oblepias/im-delighted-to-share-that-i-ve-successfully-completed-a-comprehensive-machine-learning-course-fcd55fb1c2e8?source=rss-9fbeef0945d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcd55fb1c2e8</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mit]]></category>
            <dc:creator><![CDATA[Jia Oblepias]]></dc:creator>
            <pubDate>Sat, 16 Sep 2023 13:30:46 GMT</pubDate>
            <atom:updated>2023-09-19T17:15:19.012Z</atom:updated>
            <content:encoded><![CDATA[<h3>I’m delighted to share that I’ve successfully completed a comprehensive machine learning course! 🚀🤖</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*11KuPmclLnR_Lf-W" /><figcaption>Photo by <a href="https://unsplash.com/@markuswinkler?utm_source=medium&amp;utm_medium=referral">Markus Winkler</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>This journey has been nothing short of incredible, and I wanted to take a moment to reflect on how I got here.</p><p>My first taste of machine learning came during a company-hosted event, the Optus AWS DeepRacer competition in 2022. To my amazement, our team secured 3rd place 🤯😊, but I couldn’t shake the feeling that I didn’t fully grasp the concepts. So, I embarked on another DeepRacer journey the following month, this time going solo. I joined AWS’s monthly competition and was ecstatic to find out about the swag pack I had won — I didn’t even know there was one! This achievement spurred me on to explore more.</p><p>It was then that my friend Niko introduced me to Kaggle, which opened up a world of opportunities with its myriad of competitions and learning resources. We decided to take on the Parkinson’s Detection competition, a challenge that struck a chord with me as it had the potential to make a real impact in the Parkinson’s community. To deepen my understanding, I dove into “Brain Storms: The Race to Unlock the Mysteries of Parkinson’s Disease” by Jon Palfreman, a book that I wholeheartedly recommend.</p><p>Yet, Niko and I faced formidable hurdles. We scoured the internet for answers, but the wealth of information left us feeling lost. That’s when it dawned on me that I needed a solid foundation in machine learning. Thanks to ads, I discovered that MIT was offering a Machine Learning course through Great Learning. This course was a game-changer, providing me with the structured learning I needed to comprehend the process, build solutions from scratch, and understand the real-world applications.</p><p>I am profoundly grateful for this incredible learning journey. None of this would have been possible without the support and encouragement of many individuals and entities.</p><p>First and foremost, I want to express my gratitude to God for guiding me through this course successfully.</p><p>I owe a debt of thanks to <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Joice Marinay</a> for being a constant source of encouragement and motivation, always pushing me to excel.</p><p>To <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Niko Mejia</a>, you’ve been an incredible source of support, always guiding me towards exciting competitions, helping me understand complex concepts, and being a true partner in this journey.</p><p>To my mom Liz, dad Jess, sister <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Jernette Louise Oblepias</a>, and brother <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Jasper Lance Oblepias</a>, and friends thank you for tailoring our schedule to accommodate my classes and for always rooting for me. Your support means the world to me.</p><p>I extend my heartfelt thanks to my company, <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">amaysim</a> and <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Optus</a> for sparking my initial interest in exploring the fascinating world of machine learning.</p><p>To my super talented, inspiring, patient and empathetic teammates (and my DeepRacer teammates) <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Liberty Estrella</a> <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Niko Mejia</a> <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Klein Estrada</a> <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Jonathan Magaru</a>, who sparks my curiosity and stood by me even during my “morning zombie moments” (that I hid from them), I am truly thankful.</p><p><a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Massachusetts Institute of Technology</a> and <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Great Learning</a>, thank you for providing a specialized course tailored for working professionals. Your commitment to education is commendable.</p><p>To the esteemed MIT professors and industry experts, especially <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Srikanth Phalgun Pyaraka</a>, your expertise was invaluable and thank you so much for all the walkthroughs and practical tips, and my program manager, <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Vineet Mishra</a>, thank you for all your help and kindness.</p><p>A special shoutout to my classmates for generously sharing learning materials, and to my hackathon partner, <a href="https://www.linkedin.com/feed/update/urn:li:share:7108811587292983296/#">Ntlabo (Thabang) Lekoto</a>, for your collaboration.</p><p>I apologise for this lengthy acknowledgment, but this course has been a remarkable journey, I feel like I just wrote an entire book (though I haven’t yet). I’m overwhelmed with gratitude for the opportunity to grow in this exciting field. 📚🌟</p><p>#MachineLearning #AI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcd55fb1c2e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PubTalk: Welcome to Typescript]]></title>
            <link>https://medium.com/@jia.oblepias/pubtalk-welcome-to-typescript-20b0ccbab482?source=rss-9fbeef0945d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/20b0ccbab482</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jia Oblepias]]></dc:creator>
            <pubDate>Wed, 20 Jul 2022 10:21:57 GMT</pubDate>
            <atom:updated>2022-07-20T10:39:28.830Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QhKQVi6wYrkkP0AbNdA7KQ.jpeg" /></figure><p>Just a casual and relaxing Typescript introduction for those who are not familiar with it and for anyone interested.</p><h3>What’s Typescript?</h3><p>It’s NodeJS, but with types</p><h3>What’s the sense?</h3><p>I believe the intention of Typescript is to strongly put a type so that you know what objects and especially what fields are you expecting and you can’t pass wrong objects. It’s like helping you to avoid making errors on those kinds of things.</p><p>I&#39;m telling you honestly I&#39;m not a fan because it&#39;s such a pain to create Types. I hate types, so let’s talk about it.</p><h3>ArbitraryObject — are you my life saver?</h3><ul><li>You can create such a thing as ArbitraryObject, it’s like a generic type. You can imagine it as a one-size-fits-all.</li><li>Is your head cloudy (hopefully not bec. of too much beer)? Like you can’t create the right types YET but need to deliver something urgent? This is your friend.</li><li>But mind you, your teammates may hate you for it</li><li>So.. learn to create proper types</li></ul><h3>Interface VS Types</h3><p>Use interface if you need inheritance, if not use type.</p><h3>Classes — Yay or Nay?</h3><p>Hey, warning: what’s coming up next is highly opinionated.</p><p>Classes — it depends on the person, it’s like the pizza-with-pineapple-or-not question. Personally, I don’t like it (unless needed), because I feel like it makes things more complicated.</p><p>Javascript OOP? no. It’s not. However, it is very lenient so you can do anything with it — be it OOP or functional programming.</p><p>Special thanks to my teammates Niko and Klein. Niko’s an expert who I asked to review and it is from Klein’s wonderful questions that I got these ideas to write. Also for my brother, Jasper, who’s still in the uni at this time of writing for his honest reviews. Good luck to all of us!</p><p>Originally written on 10 November 2021.</p><h3><strong>UPDATE</strong></h3><p>19 JULY 2022 — I was searching for a data model of a thing we did in the past and I was digging through one of our deprecated services. I was instinctively looking for the object type and shockingly found nothing! WHAT!? The deprecated service was written in NodeJS. This is the first time I had wished for something to be written in Typescript. Some things are left unappreciated until the need arises (I&#39;m not proud of it). I&#39;m not saying I totally like Typescript now, I&#39;m just saying that it indeed can save you time. And lastly, my brother Jasper has already graduated! How time flies :) Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20b0ccbab482" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tips on Creating Unit Tests Using Jest]]></title>
            <link>https://medium.com/@jia.oblepias/tips-on-creating-unit-tests-using-jest-c3a5fd06ea09?source=rss-9fbeef0945d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3a5fd06ea09</guid>
            <category><![CDATA[jest]]></category>
            <category><![CDATA[js]]></category>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jia Oblepias]]></dc:creator>
            <pubDate>Fri, 19 Nov 2021 09:18:51 GMT</pubDate>
            <atom:updated>2022-06-10T04:31:44.801Z</atom:updated>
            <content:encoded><![CDATA[<p>This is for newbies who want to start writing simple unit tests using Jest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LjbjECkz5AxBrjsckIyKrQ.jpeg" /></figure><h3>Prerequisite</h3><ul><li>Jest <a href="https://jestjs.io/docs/getting-started">https://jestjs.io/docs/getting-started</a>. I won&#39;t be talking about the setup here.</li></ul><h3>What do you want to unit test?</h3><p>Usually, you want to know if the function you have created is behaving properly.</p><p>How to start?</p><h3>Basics</h3><p>Let’s say we want to create a polygon object that has fields: sides and name.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a6a1119c61490945005f725198db8733/href">https://medium.com/media/a6a1119c61490945005f725198db8733/href</a></iframe><p>Start with your function, focus on the basic happy case and the unhappy case.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f9327523283dfc7efaf587ee5829d6e/href">https://medium.com/media/6f9327523283dfc7efaf587ee5829d6e/href</a></iframe><p>Then, you can build up from here. Add more happy cases and unhappy cases.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea5e8787980366d3f00786466b5b65d6/href">https://medium.com/media/ea5e8787980366d3f00786466b5b65d6/href</a></iframe><p>The next step would be to think about possible edge cases, like for this example, negative numbers. Let your imagination do its work!</p><h3>Something small but important:</h3><p>Notice that we only have one expectation per “it” block. We do it this way for these reasons:</p><ol><li>Keep it simple.</li><li>Make it easier to know where the error is.</li></ol><p>You might be thinking, maybe it’s because the example is super simple so it&#39;s possible.</p><p>I think we can create simple and clear unit tests that are not a pain to maintain.</p><p>I’ll share some tips on how to create simple tests even when there’s a lot going on in the code. See you in the next post!</p><p>There you go! Short and sweet.</p><p>Thanks for reading. What do you think of these tips? Looks weird, fun, interesting? Do you have any strong reactions? Violent ones? (spare me, I&#39;m scared.. but ok I’ll try my best). Have some bits to share? Leave a comment down below :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3a5fd06ea09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tips on Pushing Small PRs]]></title>
            <link>https://medium.com/@jia.oblepias/tips-on-pushing-small-prs-fd5448ea9962?source=rss-9fbeef0945d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd5448ea9962</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[pull-request]]></category>
            <category><![CDATA[pull-request-reviews]]></category>
            <dc:creator><![CDATA[Jia Oblepias]]></dc:creator>
            <pubDate>Wed, 10 Nov 2021 13:15:39 GMT</pubDate>
            <atom:updated>2021-11-10T13:57:51.286Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tips on Creating Small Pull Requests</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kLr_333NBKJBqO9S" /><figcaption>Photo by <a href="https://unsplash.com/@glencarrie?utm_source=medium&amp;utm_medium=referral">Glen Carrie</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Prerequisite</h3><ul><li>An understanding of Git push, PR, merge concepts</li><li>An understanding of trunk-based development</li></ul><p>The tips here are based on trunk-based development.</p><h3>Why would you want to do small PRs?</h3><h4>Better code review</h4><ul><li>Easier to look at. Less headache for your teammates.</li><li>Better quality. Less chance of your peers missing a line.</li><li>Faster because it’s small</li></ul><h4>Fix task dependency issues</h4><ul><li>Shared libs or functions (like database client) can be easily merged to the main branch so that other teammates can use it right away.</li><li>No more waiting for teammates to finish their whole dev work.</li></ul><h4>Easier to split big tasks</h4><ul><li>Sometimes we didn’t know things are big until we work on them.</li><li>If dev work is big, usually it’s better to split it up for faster delivery, especially if it’s a high priority ticket.</li><li>With small PRs you can easily split the remaining dev work for other functions or sub-functions to a new ticket/s which can be shared with the team.</li></ul><h4>Easier emergency handovers and other handovers</h4><ul><li>Have you had a time where you became suddenly sick while working on a high priority deliverable?</li><li>It’s easier for your team to know where you left off and they can easily take over and continue your work if needed when you have merged some of the bits you’ve finished.</li></ul><h3>Here’s one of the things to consider when making small PRs:</h3><h4>It should be safe to merge to the main branch</h4><ul><li>Meaning if you merge, nothings gonna break, especially production.</li><li>Imagine if you break an endpoint in a development environment used by other teams or worse if it’s included and released to production — you’re dead meat. Let’s not be a blocker to others.</li><li>No breaking test (that is if you have one).</li></ul><h3>Key Tips</h3><ul><li>Start on a main function or method, build the skeleton code first so that you know what your sub-functions will be</li><li>PR the most inner sub-functions first OR</li><li>Check if there’s a caller to the function, if none yet it’s safe, you can merge it</li></ul><p>Confused? Here’s how you can get started.</p><h3>Option #1 — Merge all inner functions first</h3><p>In the example below the greeter sub-functions are done but the main function is not yet complete.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/821cd8bdd9220223c00715c406d22f15/href">https://medium.com/media/821cd8bdd9220223c00715c406d22f15/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d39b26c4f185d991d9065225440feb56/href">https://medium.com/media/d39b26c4f185d991d9065225440feb56/href</a></iframe><p>Don’t wait for the main function to complete. Focus on the sub-functions first and create their unit test. Then push, submit PR and merge your branch to the main branch. Easy~</p><p>Since no one’s calling these sub-functions → it&#39;s safe! nothing’s gonna break.</p><h3>Option #2 Merge inner function with the new main function one by one</h3><p>In the example below the main function is new. The main function is not yet done and just one sub-function is done.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f2a4aa0afefe8a56fe86ee00183e5d90/href">https://medium.com/media/f2a4aa0afefe8a56fe86ee00183e5d90/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/746c79aadf79fa707813f5d881b0097c/href">https://medium.com/media/746c79aadf79fa707813f5d881b0097c/href</a></iframe><p>You can push, PR and merge the greetFilipino() function with its unit test — with the main function and its unit test. The main function is new and no one’s using it yet → safe!</p><p>If you finished the greetEnglish() function, then let your main function call it, then push, PR and merge it. Same goes for the greetRussian() and the reversedName(). Then you’re done!</p><p>That’s all for now. I wish it’s helpful to you and I hope you can get started with creating small PRs. See you in the next post. Many thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd5448ea9962" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>