<?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 Muge Evren Bulut on Medium]]></title>
        <description><![CDATA[Stories by Muge Evren Bulut on Medium]]></description>
        <link>https://medium.com/@muge-evren-bulut?source=rss-8492e650cdb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*u7Iz2PdZOIbVEDwSCI2XFQ.jpeg</url>
            <title>Stories by Muge Evren Bulut on Medium</title>
            <link>https://medium.com/@muge-evren-bulut?source=rss-8492e650cdb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 00:27:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muge-evren-bulut/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[Pre-rendering with Next.JS]]></title>
            <link>https://levelup.gitconnected.com/pre-rendering-with-next-js-feb51ed7e327?source=rss-8492e650cdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/feb51ed7e327</guid>
            <category><![CDATA[pre-rendering]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[static-site-generation]]></category>
            <category><![CDATA[server-side-rendering]]></category>
            <dc:creator><![CDATA[Muge Evren Bulut]]></dc:creator>
            <pubDate>Tue, 06 Jun 2023 03:10:59 GMT</pubDate>
            <atom:updated>2023-06-06T03:10:59.420Z</atom:updated>
            <content:encoded><![CDATA[<p>Static Generation &amp; Server-side Rendering in details</p><p>Web applications usually work with <strong><em>Client-Side Rendering</em></strong>, this means a very small part of the application like some styles, and texts are bundled in minimal HTML files, and when a user starts using the application, contents are rendered based on the user’s actions by Javascript. So most of the rendering work is dependent on user behavior.</p><p>But imagine a blog or documentation application, for those the biggest part of the application is content which usually doesn’t change based on the user’s behavior, so in those applications, if you are rendering the content when the user clicks to open a page, this means you have some room for improvements for your application to behave in a more performant way. This is where <strong><em>Pre-Rendering</em></strong> takes the stage. With pre-rendering, initial content is generated on the server, and the browser downloads the bundled files with HTML content already in place without dependency to javascript loads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_pwaDY4afSmaJE0klukUDQ.png" /></figure><p>Pre-rendering will help you optimize your application with improved search engine optimization, better performance and user experience.</p><p>There are some great libraries and tools that help creating such applications. Almost every Javascript libraries like Vue, Reach, Angular have some solution for pre-rendering. In addition there are more specific technologies you can use create even more performant solutions based on your needs like Next.js, Jekyll, Hugo and many more…</p><p>I will try to explain concept of Pre-Rendering with Next.js in this article.</p><h3>What is Next.js?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*upfMAvxJ229-bIoP.png" /></figure><p>Next.js is a React framework that helps you develop web applications faster by the help of building blocks provides solutions to common application requirements such as routing, data fetching, integrations etc. For more details of NextJS I highly suggest following the <a href="https://nextjs.org/learn/foundations">training path</a> that NextJS provides.</p><p>Pre-rendering is one of the most important concept that Next.js provides.</p><blockquote>By default, Next.js pre-renders every page. This means that Next.js generates HTML for each page in advance, instead of having it all done by client-side JavaScript.</blockquote><p>Next.js provides two types of pre-rendering based on when the HTML of the page is generated. <strong>Static Generation</strong> and <strong>Server-Side Rendering.</strong></p><blockquote>With static generation, there is no dependency to user request and the HTML of the page is being generated during build time.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M_Jl9KRiteVcpJbGtEmZRw.png" /><figcaption>Static Generation</figcaption></figure><blockquote>With server-side rendering generation of the HTML is done on each user request.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AUfuD-djq42vjmdHL-aiIQ.png" /><figcaption>Server-side rendering</figcaption></figure><p><strong>How do we decide when to use Static Generation or Server-side rendering? </strong>We should think about whether we can make a page ready before user’s request or not. If we can then we should go with the static generation. On the other hand, if our page depends on user’s request or contains data that always needs to be up to date. Then we should choose server-side rendering.</p><p>However, Next.js has an even better feature, which is that it is not restricting you to choose only one pre-rendering option, you can choose what you’d like to use for each page, by that you can create an app by using static generation for some pages and using server-side rendering for others.</p><h3>Data Fetching in Next.js</h3><p>Next.js provides a set of functionalities that allows us to implement pre-rendering. The two of them are getServerSideProps and getStaticProps, that are responsible for static generation and server side rendering as they already give away the hint within their names.</p><pre>export default function Page(props) {<br>  // Render data...<br>}<br>// This gets called only at build time<br>export async function getStaticProps() {<br>  // Get external data from the file system, API, DB, etc.<br>  const data = ...<br>  // The value of the `props` key will be<br>  //  passed to the `Page` at build time<br>  return {<br>    props: ...<br>  }<br>}</pre><pre>export default function Page({ data }) {<br>  // Render data...<br>}<br> <br>// This gets called on every request<br>export async function getServerSideProps() {<br>  // Fetch data from external API<br>  const res = await fetch(`https://.../data`);<br>// Parse the JSON<br>  const data = await res.json();<br> <br>  // By returning { props: { data } }, the Blog component<br>  // will receive `posts` as a prop at build time<br>  return { props: { data } };<br>}</pre><p>I will try to explain those with a very simple example and dummy code… Assume that we will create an web application named Traveller, which will have a page where we will list all the countries (travellerapp.com/countries). The second page will display the list of countries that the logged in user travelled (travellerapp.com/travels).</p><p>Since countries list is not changing very frequently (hopefully not at all, as Atatürk once said <em>“Peace at Home, Peace in the World”</em>), we can choose static generation for the /countries page which will make sure the page is only rendered on build time.</p><p>In contrary, /travels page carry personal travels of the user which can be updated frequently and also extremely user dependent, it should be implemented with server side rendering and generated in every user request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F6Xl5rk8Ps192LI0-Zkbrw.png" /><figcaption>/countries page with Static Generation &amp; /travels page with Server Side Rendering</figcaption></figure><pre>// Countries Page Component, <br>// receiving all countries from getStaticProps<br>export default function Countries({ all }) {<br>    return (<br>        &lt;h1&gt;All Counties&lt;/h1&gt;<br>        &lt;ul&gt;<br>            {allCountries.map((country) =&gt; (<br>                &lt;li key={country.id}&gt;{country.name}&lt;/li&gt;<br>            ))}<br>        &lt;/ul&gt;<br>    );<br>}<br> <br>export async function getStaticProps() {<br> <br>    // Call the fetch method by passing the REST Countries API link<br>    const response = await fetch(<br>        &#39;https://restcountries.com/v3.1/all&#39;);<br>    const data = await response.json();<br> <br>    // Return the result inside props as allCountries<br>    return {<br>        props: { allCountries: data.results },<br>    };<br>}</pre><pre>// Travels Page Component, <br>// receiving travels of the user from getServerSideProps<br>export default function Travels({ all }) {<br>    const { user } = getLoggedInUserFromState();<br>    return (<br>        &lt;h1&gt;{user.name}&#39;s Travels&lt;/h1&gt;<br>        &lt;ul&gt;<br>            {travels.map((travel) =&gt; (<br>                &lt;li key={travel.id}&gt;{travel.country_name}&lt;/li&gt;<br>            ))}<br>        &lt;/ul&gt;<br>    );<br>}<br><br>export async function getServerSideProps() {<br> <br>    // Call the fetch method to my backend service <br>    // which we assumed returns data based on logged in user&#39;s session<br>    const response = await fetch(&#39;https://mybackendservice.com/getUsersTravels&#39;);<br>    const data = await response.json();<br> <br>    // Return the result inside props as travels<br>    return {<br>        props: { travels: data.results },<br>    };<br>}</pre><p>As a summary, powerful pre-rendering and data fetching options Next.js offers is great to optimize your app. But as always, it is not the solution for all. You need to tailor your approach to your unique application requirements and user experience. It would be non-sense trying to force static site generation in every page, sometimes it is better just to stick to client-side fetching for better performance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=feb51ed7e327" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/pre-rendering-with-next-js-feb51ed7e327">Pre-rendering with Next.JS</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agile Checklists Guide: Onboarding plan]]></title>
            <link>https://medium.com/agileinsider/agile-checklists-guide-onboarding-plan-7903b67ca321?source=rss-8492e650cdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7903b67ca321</guid>
            <dc:creator><![CDATA[Muge Evren Bulut]]></dc:creator>
            <pubDate>Fri, 18 Nov 2022 13:36:06 GMT</pubDate>
            <atom:updated>2022-11-18T13:36:06.759Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>How to create the best onboarding plan for your team using checklists</blockquote><p>In my current job, I got to experience being in a team that has been built from scratch within the past 3 years. It is risky if you are joining a team that has no structured working culture. But also it is very educational if you have passionate teammates who are constantly trying to do better and bring up ideas to improve. I was a lucky one so I feel like these past 3 years have taught me more than what I can learn in 10 work years maybe!</p><p>One of the life-changing and important lessons I have learned in this team was the power of checklists. I have read a book called <em>“The Checklist Manifesto” by Atul Gawande</em> and I can not tell you enough about how this book changed my mindset in both my personal and work life. The book makes you understand your failures first. There could be two types of mistakes that cause failures; mistakes we make because we don’t know enough or mistakes we make because we don’t use what we know properly. It focuses on teaching you to make proper use of what you know by designing the best checklists to minimize failures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/0*5BaICpc7vHJpR0V4.jpg" /><figcaption>The book “The Checklist Manifesto” by Atul Gawande</figcaption></figure><blockquote>Checklists can be the very first step to create and optimize a work culture within a team. It can be used as a basic tool to identify any problem or process.</blockquote><p>In my team, we have used checklists in many areas of our daily work. For example, <strong>the</strong> <strong>code review checklist.</strong> Code review is very common if you are working on a software development team. At least one team member needs to review and approve the code. We have created a checklist for code owners and reviewers so then every team member will know what needs to be done to review the code properly. The second example is <strong>the release checklist</strong>. This was the step-by-step guide to follow during production deployments. With the help of this checklist, every team member was able to do smooth releases without any incidents. There are many more examples but the one that served me the most is <strong>the Onboarding Checklist</strong>.</p><p>We were a small team at the start, but we know that there will be days in the future when the team will grow and we need to get ready. We have first identified some main contexts for onboarding. This helped us to group what needs to be done, in which order, and prioritization.</p><p>Here are a few contexts we come up with;</p><ul><li>Apps&amp;Access</li><li>Company context</li><li>People context</li><li>Agile context</li><li>Product context</li><li>Development context</li><li>Test &amp; Quality concept</li><li>Infrastructure concept</li><li>Training placeholder</li></ul><p>Under each context, we have created some small tasks and sessions to explain the way we work to the new team member. We usually create an onboarding plan one week before the new team member’s start date. In that one week, we prepare and share tasks before the new team member&#39;s arrival.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CnwlRhLEoxr-VAXUoYiYKg.png" /><figcaption>This is what a small part of the onboarding plan looked like.</figcaption></figure><p>Nevertheless, we had our ups and downs with this onboarding mindset until it is fully captured and applied by all team members. For example, there have been times when the start date of the team member was in an extremely busy week of the team and we could not get prepared as we wish. In such situations, assigning an onboarding buddy was very helpful, even though we have not completed all sessions and tasks about onboarding within let’s say three weeks(our approximate onboarding complete timeline was around three weeks), the onboarding buddy was the daily contact and person who helped the new joiner about organizing the onboarding plan, provide guidance for training he could take and just be there whenever there is a question to answer.</p><p>As the scrum master of the team, I try to set up an onboarding retrospective session after each onboarding plan is completed. In these retrospective sessions, we identify missing points and get feedback from the new joiner, so then we adjust and enrich the onboarding plan regarding retrospective outcomes and actions. I remember that one of the feedbacks I received from a team member on his onboarding retro session literally made my day. He said, our onboarding preparation made him feel like we are eagerly waiting for his arrival and he was already a part of the team on day 0.</p><h3>This onboarding plan is not the initial or the final version. It is always changing and improving day by day according to the feedback from new joiners and updates within the team structure.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7903b67ca321" width="1" height="1" alt=""><hr><p><a href="https://medium.com/agileinsider/agile-checklists-guide-onboarding-plan-7903b67ca321">Agile Checklists Guide: Onboarding plan</a> was originally published in <a href="https://medium.com/agileinsider">Agile Insider</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git Cherry-pick: Merge Only the Selected Commits in Git CLI and GUI]]></title>
            <link>https://medium.com/better-programming/git-cherry-pick-merge-only-the-selected-commits-in-git-cli-and-gui-99259de728e3?source=rss-8492e650cdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/99259de728e3</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Muge Evren Bulut]]></dc:creator>
            <pubDate>Tue, 01 Feb 2022 18:04:07 GMT</pubDate>
            <atom:updated>2022-02-01T18:04:07.662Z</atom:updated>
            <content:encoded><![CDATA[<h4>What does cherry-picking a commit with Git mean?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*rlboD7hx1gppn5wyErZVRQ.jpeg" /><figcaption>Image by author</figcaption></figure><p>Managing development and branches in large teams and projects can be exhausting. You might end up sending not completed work to the production environment and cause bugs. It is extremely important for teams to have the mindset and rules to prevent these kinds of situations.</p><p>In fact, my team had suffered from a similar situation in the past. Back then, we were a new team, and always in a rush to prove our worth to the organization, we have had a development mindset but rules such as the definition of done, deployment checklist, etc. were still work in progress.</p><p>We had three branches and environments; development, staging, and production. We were directly merging development to staging and staging to production.</p><p>One feature in the development environment was depending on a third-party API of another team. The other team completed their development only in their development environment but didn’t push that change to their production environment for some reason(they were depending on another client or something, I don’t remember the exact reason). And we were in a rush to make deployment to fix a production bug.</p><p>At that point, we forget about that dependency and merge everything to the production branch. We’d realized and rolled back to the previous release within an hour, but since it was the middle of the workday we had got several bugs reported by our users.</p><p>This was our call to work on our processes and rules. And with that call, we have introduced git cherry-pick to our development processes.</p><h3>What is cherry-pick?</h3><p>Sometimes it is needed to progress a feature to another branch without other commits in the source branch. For this purpose, git provides cherry-pick command.</p><p>Cherry-pick in Git means to choose a commit from one branch and apply it to another. This is in contrast with other ways such as merge and rebase which normally apply many commits onto another branch.</p><h3>Git CLI Solution</h3><p>For an easy start, suppose we have developed a feature, <strong>C</strong>, currently available in the development branch with other developments, A, B, and D. If we want the feature C to be in the staging branch, then we should use cherry-pick command to make this happen.</p><p>Steps for cherry-picking:</p><ol><li>First, be sure that your head branch is development:</li></ol><pre>git checkout development</pre><p>2. Second, you should get the commit SHA id of feature C. You can do this in one of two ways:</p><p>a. After you commit feature C, you run the following command:</p><pre>git rev-parse development</pre><p>This will give you the __latest__ commit id which has been done on the development branch.</p><p>b. If the commit is not the latest one, then run the following command the see the last 5 commit made to the development:</p><pre>git log -5</pre><p>Copy the commit id of your feature.</p><p>3. Now change the head to staging.</p><pre>git checkout stage</pre><p>4. Run the following cherry-pick command with your commit id:</p><pre>git cherry-pick -x b29e6aaxx0c315ba94afc0xx35ff7b2b76f9xx03</pre><p>The -x argument provides the explanation you have entered for feature C carried out with this new commit. At this step, you have made the local commit operation.</p><p>5. Now it is time to push</p><pre>git push</pre><p>6 - Now it should be ok and your changes should be pushed to the staging branch. Don’t forget to switch back to the development branch with the following command:</p><pre>git checkout development</pre><h3>Git GUI Solution</h3><p>Using a GUI could be much easier, almost every Git GUI application now supports cherry-picking. Below, I have demonstrated cherry-picking with two of the most popular GUI applications of Git.</p><p>Let’s say we have a commit on the development branch that we want to move into the staging branch.</p><h4>GitKraken</h4><p>This section is for cheery-picking instructions in <a href="https://www.gitkraken.com/">GitKraken</a>.</p><p>First checkout stage branch, right-click on our desired commit and select the “Cherry-pick commit” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3fN2X0RsIMlJX2ULxFQ_ww.png" /><figcaption>Image by author</figcaption></figure><p>A notification like down below will pop up on the top of the app, you can just click yes and push the changes into the origin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*APX_zr-3wonftS6T_Xcumg.png" /><figcaption>Image by author</figcaption></figure><h4>GitHub Desktop</h4><p>This section is for cheery-picking instructions in <a href="https://desktop.github.com/">GitHub Desktop</a>.</p><p>First checkout stage branch, go to history tab, right-click on the specific commit (you can select multiple commits by hitting the shift button), and just select the “Cherry-pick commit” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pn6QZx7EdpCkdYV4UN7wHw.png" /><figcaption>Image by author</figcaption></figure><p>It will open a popup so you can select the target branch and then push changes to the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tpB3i0d2ALyfgqJP0LpCjg.png" /><figcaption>Image by author</figcaption></figure><p>You are all caught up with the basic usage of git cherry-pick now. Git cherry-pick has many more options that can serve your needs. For more, check out git cherry-pick documentation linked below:</p><p><a href="https://git-scm.com/docs/git-cherry-pick">Git - git-cherry-pick Documentation</a></p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99259de728e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/git-cherry-pick-merge-only-the-selected-commits-in-git-cli-and-gui-99259de728e3">Git Cherry-pick: Merge Only the Selected Commits in Git CLI and GUI</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Powerful Features of Go Which I Found Bizarre]]></title>
            <link>https://medium.com/better-programming/3-powerful-features-of-go-which-i-found-bizarre-2064263629a3?source=rss-8492e650cdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2064263629a3</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[go]]></category>
            <dc:creator><![CDATA[Muge Evren Bulut]]></dc:creator>
            <pubDate>Tue, 11 Jan 2022 17:55:06 GMT</pubDate>
            <atom:updated>2022-01-11T17:55:06.394Z</atom:updated>
            <content:encoded><![CDATA[<h4>An unusual naming convention, multiple return values, and a blank identifier took me some time to fully understand</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KYM6V8cx2U25UUaq96dDaA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan">Brett Jordan</a><strong> </strong>on <a href="https://unsplash.com/">Unsplash</a></figcaption></figure><p>Recently my team gained the responsibility for a small corporate API developed with the Go programming language. So we had to learn Go while we were maintaining that API. I had some fun and also a weird time trying to figure out how to adjust my mindset to fully understand what Go offers.</p><p>Go is not like the other programming languages with almost the exact syntaxes and very similar semantics. That’s why it felt so much fun to learn from scratch. Another reason I had a weirdly fun time, I had to unlearn some syntaxes and semantics from object-oriented programming and scripting languages; since those were common in the programming languages I have used throughout my career, I have realized some of those had become a habit and encoded in my brain as rules.</p><p>So I will try to explain the features of the Go programming language, which felt bizarre but amazing to me during my learning journey.</p><p>I will use two different simple examples to demonstrate with code.</p><p>The first one is this little example of creating and printing a deck. main() function in line 38 is the starting point of this program, it calls newDeck, shuffle and then print function to display created and shuffled deck.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b03f59de38fda6a1a7d024da95bc537/href">https://medium.com/media/4b03f59de38fda6a1a7d024da95bc537/href</a></iframe><h3>1. Multiple Return Values</h3><p>In case when you need a function to return multiple values, almost in every programming language you can find a workaround to do that.</p><p>You can return an array or an object that contains different values and use those returned values when you call the function. Even though it is not really “OK” for a function to have more than one responsibility, according to SOLID’s very first principle of “Single Responsibility”, there might be some cases where you need to use that workaround.</p><p>Go has identified that issue and has been developed with built-in functionality to support multiple return values.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/09ddd946774dfbd78b00cf995a4f39ff/href">https://medium.com/media/09ddd946774dfbd78b00cf995a4f39ff/href</a></iframe><p>As it is also very clear in the code, myValues function returns two different values. Types and order of the return values are predefined during the function definition so that, in case of any mistake within that function, the go compiler will fail to compile and throw an error.</p><p>Return and assign syntax is also very clear, simply putting a comma between the values on the return/assign statement will do the magic. Simple, but powerful!</p><h3>2. Underscore ”_” <em>Blank Identifier</em></h3><p>Imagine if you didn’t want or need to use all of the returned values from a function, in that case, you would still need to define variables for every return value, cause otherwise go would fail on compile time. The build-in solution introduced by Go for this challenge is Blank Identifier.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cde5afc970639b9fa2362ad6a99da34b/href">https://medium.com/media/cde5afc970639b9fa2362ad6a99da34b/href</a></iframe><p>You might have already realized from the examples above, there are some underscores defined where there should be variable names instead.</p><p>Range function in Go returns two variables, one of them is the index, the other is the item that we are ranging through in for loop for the slide (note: Slide is just a fancy word that is used for arrays in Go).</p><p>Since we didn’t use the index variable on that for loop, we put underscore so that go can understand that there is a variable there but I just don’t care about it and not gonna use it.</p><p>To be fair, that underscore blank identifier was the most bizarre thing, that I have found pretty hard to adjust. Because my brain had a certain plan and steps to read and understand a code block, that blank identifier was ruining the way I see a code block. So it was quite challenging for me at first.</p><h3><em>3. Unusual Naming Convention</em></h3><p>Using one or two-letter variable names is a convention in the Go programming language. This was the second most bizarre coding behavior, I’m still trying to adapt. I, just like any other developer learned or have been thought that we must use definitive variable names so that the code that we are writing is clean, reusable, maintainable, and understandable by others.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dfecc1472adc2e369c4c242a38c124fa/href">https://medium.com/media/dfecc1472adc2e369c4c242a38c124fa/href</a></iframe><p>As you can see this shuffle function has plenty of examples of this unusual naming convention. The receiver argument in the function definition is defined with the name d shortened for deck, r in line 3 is shortened for random, and i in line 4 is shortened for index.</p><p>In my personal experience, these single-letter variables might get confusing very quickly, and cause bugs or simply ugly code blocks. But again, this naming convention is embraced and very common in the Go community.</p><p>Those features above made me feel insecure because they were a little bit intimidating at first. But currently, I’m absolutely thrilled that I have got to learn a programming language that made me feel this way and I enjoy working with Go so much. There are plenty more good features that Go offers, it might make you feel not so good at first. Just give it a chance, it might turn out to be quite an excitement.</p><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2064263629a3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/3-powerful-features-of-go-which-i-found-bizarre-2064263629a3">3 Powerful Features of Go Which I Found Bizarre</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PWA — Combining the bests of Mobile and Web Worlds]]></title>
            <link>https://medium.com/quick-code/pwa-combining-the-bests-of-mobile-and-web-worlds-51d20d074a0?source=rss-8492e650cdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/51d20d074a0</guid>
            <category><![CDATA[progressive-web-app]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[pwa]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Muge Evren Bulut]]></dc:creator>
            <pubDate>Tue, 07 Dec 2021 09:47:46 GMT</pubDate>
            <atom:updated>2021-12-19T13:11:13.665Z</atom:updated>
            <content:encoded><![CDATA[<h3>PWA — Combining the Bests of Mobile and Web Worlds</h3><p>I heard about <strong><em>Progressive Web Applications</em></strong> a few years ago. I didn’t do too much research on this topic back then. I remember that I have come across an article that started describing Progressive Web Applications with a sentence similar to this: “The websites developed using special coding techniques which can work as mobile applications”. Frankly, this sentence, “special coding techniques” words specifically put me off that topic. I remember that I thought this probably needs different coding languages for different mobile devices. It will be a structure that would bring too much workload and that is going to be hard to implement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6dgBwGGunU6beWKOVDEkKA.png" /><figcaption>The DNA of Web and Mobile</figcaption></figure><p>Last month(November 2021) I had the chance to attend some learning lounges and workshops of <a href="https://developer.chrome.com/devsummit/">Chrome Dev Summit</a> organized by Google. One of the workshops was called “Your first Progressive Web Application”. As far as I understand from its title, within the 3-hours timeline of this workshop, We were expected to learn and develop a web application that can work as a mobile application which means it can be installed on mobile devices and operating systems. I didn’t see it very likely, but I signed up anyway. Then I received a registration confirmation email that says only basic knowledge of CSS, HTML and javascript is sufficient. But, how come? This email was saying that you don’t need to know anything extra except the most basic web technologies. I was a little more interested, but deep down I was still thinking they would teach how to bundle a web project by using some kind of tool or a third party and turn it into a native application by packaging it. But I couldn’t be more wrong!</p><p>The gravity center of technology is the web. The best way to seamlessly combine the mobile world with the web is the Progressive Web Apps. At least it is the best until something better comes out. 🙂</p><blockquote>Note: Progressive Web Application will be mentioned with the acronym PWA.</blockquote><p>PWA doesn’t have a concrete technical definition. A PWA is just a web app that uses several web browser APIs and abilities in the web platform using some progressive extensions. It’s more like a set of best practices and techniques that allows your users to enjoy your website with an excellent app-like experience on every platform with the same code base. So it’s not like you have a PWA or not; it’s more like <strong>your website is more or less PWA.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*EV_XsP7VgXZl8Wez.png" /><figcaption>Multiplatform support</figcaption></figure><p>Progressive Web Application was introduced by Google as a name, adopted by other companies like Firefox, Opera, Microsoft, Samsung, etc., and continued to be used. But of course not Apple. Even though Apple does not openly promote, PWAs work on Apple devices. Actually, the idea was born with the standalone apps that Apple come up with. Later this idea was enhanced and become more popular with the name progressive web apps.</p><h3>The bests of mobile and web world</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*6zqVchuIbdVWHOr1TLVe_A.png" /></figure><p>I liked the idea to use the example; “intersect of two sets” of math. PWAs are exactly what come from the intersection of Web and Mobile sets and contain some of the best features of each set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*ZHNrAKrYl2BYPfr_ZpwXJQ.png" /></figure><p><strong><em>-From the web world-</em></strong></p><p><strong>Links and discoverability:</strong> Since this is a web application you can use links to create posts on social media platforms and share direct links to your application, also your application will be available online which means discoverable by search engines.</p><p><strong>Easy to deploy &amp; update:</strong> On mobile applications deployment and update process is a big workload and it&#39;s a thorny process. And yet on web applications deployment is way too much easier than mobile apps. Since web applications mean that there are some files on the webserver and the only thing that needs to be done in the name of deployment is to update those files. To be able to deploy a mobile app, you need to follow the steps and restrictions of the applications store that you want to publish or update your app, create a change request on the app store and wait for them to approve that change request(approval might take hours/days), even if your deployment is published on app store smoothly, your users needs to go to the store and get the updates that you share.</p><p><strong>Standards and tools:</strong> Different than the regular mobile applications, PWAs are served over HTTPS. So we can say that PWAs get web standards and tools the advantages from the web world and ensure secure communication with the power of web standards.</p><p><strong><em>-From the mobile world-</em></strong></p><p><strong>Offline access:</strong> In mobile native applications, even though there is no internet connection or available server, users are able to launch and use some parts(sometimes all) of the applications. Offline access is exactly why product owners decide to make mobile apps in addition to web applications. PWAs offer a non-interrupted user experience to the user with limited internet access.</p><p><strong>Installed icon and standalone:</strong> Just like a mobile app, PWAs have an icon on the home page of the mobile devices or on the application list on desktops and works independently when they are installed.</p><p><strong>Push notification:</strong> Push notifications are also a very powerful feature of the mobile world. Even though the application is not launched and working, PWAs can manage and send notifications to the native device.</p><p><strong>Performance and UX:</strong> Performance is always better at mobile applications. Because mobile applications store extremely large data on the device during the installation. Also when we take a look at the results of surveys made, it&#39;s obvious that the users like mobile applications UX designs over web applications designs.</p><blockquote>If you are using Google Chrome, you must have come across this page when you do not have an internet connection. This cute but annoying dinosaur is called Downasour. The most groundbreaking thing that comes with PWA is offline access. So we bid farewell to this Downasour.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dlLLsTFhOSD6Mf72M-62Ig.png" /><figcaption>Google Chrome Downasour</figcaption></figure><h3><strong>How would a website work without internet access?</strong></h3><p>The native applications can open without an internet connection because, during the process of downloading and installation of the application, crucial resources of the application are stored in the device. Those resources can be managed based on how much offline access your mobile application will have. That is exactly what happens in a PWA as well.</p><p>Before we go deep into the details and how it works part. It would be better to explain what&#39;s in the dough of a PWA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8BsosDzoC3pa0hlLgdQFDA.png" /></figure><p>PWAs don’t depend on a single API. There are many web technologies that are used to create progressive web apps.</p><p>The minimum requirements to meet for an application to be a PWA:</p><ol><li>web manifest</li><li>service worker</li></ol><p>These two make sure that browsers will interpret that this is a PWA, and serve users with the ability to install and provide other PWA enhancements.</p><h3>Manifest file</h3><p>The web app manifest is a JSON text file (usually named <em>manifest.json</em> or <em>webmanifest.json</em>). This file contains all the necessary information to download and run PWA just like a native application. The manifest can contain many variables all serving many different pieces of information about the native behavior of the PWA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*pUAYsyPO_ZRjGPHpJXwsqQ.png" /><figcaption>A basic manifest file example</figcaption></figure><h3>Service worker</h3><p>A service worker is a script that allows managing the assets in cache and intercepting/controlling network requests from the web browser. Service Workers are written in JavaScript. It is a browser feature, its role is different than regular JS scripts in websites, ie. it doesn’t have access to the DOM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d7EL8g5e4cLcNMvYZpciSg.jpeg" /><figcaption>The role of Service Worker</figcaption></figure><p>As it is visualized in the picture, standard web apps make direct requests to the web server, with the progressive enhancements of the web, the service worker acts as a network proxy for the web application. Since the service workers can intercept network requests and modify responses, in a certain way it is mandatory for service workers only to run over <strong>HTTPS</strong> so that it can be secured.</p><p>The service workers can synchronize data in the background, manage cache, handle push notifications and intercept network requests. In fact, they are also able to check the availability of the server, store content on the cache, and serve that content to the UI part of the PWA. Just like any other web worker, service workers work independently from the UI context.</p><h3><strong>How to install?</strong></h3><p>Since PWAs are multiplatform applications, there are many ways to install them based on the device and browser that you are using. In Chrome, if the application that you are visiting is a PWA, you will see the little install icon on the right side of the address bar. In iPhones, you can only use Safari to install PWA, open the toolbar menu and click add to Home Screen button.</p><p>In addition, you can use some third parties to turn your PWA into a package that can be published on application stores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3jPxWhJpuMlcn95dCbzZHA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vaRPBf1gkLE6xuW6_Hwfng.png" /><figcaption>Example of the installability of a PWA demo for Android on the home screen and splash Screen</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q3q2LDojcYb_zI2OQj-I8Q.jpeg" /><figcaption>Example of the installability of a PWA demo for iOS on the home screen and PWA runtime</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lxUbAbnMOUt7D7a15x8xGA.jpeg" /><figcaption>Desktop Progressive Web Apps run in their own window, without tabs or an address bar</figcaption></figure><p>There are many great PWAs on the internet. And the count will only be growing in the upcoming years. Make sure that this great technology is on your radar!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51d20d074a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quick-code/pwa-combining-the-bests-of-mobile-and-web-worlds-51d20d074a0">PWA — Combining the bests of Mobile and Web Worlds</a> was originally published in <a href="https://medium.com/quick-code">Quick Code</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agile vs. Waterfall in a nutshell]]></title>
            <link>https://medium.com/agileinsider/agile-vs-waterfall-in-a-nutshell-41cf76fd4763?source=rss-8492e650cdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/41cf76fd4763</guid>
            <category><![CDATA[agile-methodology]]></category>
            <category><![CDATA[waterfall]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[agility]]></category>
            <dc:creator><![CDATA[Muge Evren Bulut]]></dc:creator>
            <pubDate>Sun, 07 Nov 2021 20:39:17 GMT</pubDate>
            <atom:updated>2021-12-25T13:56:14.110Z</atom:updated>
            <content:encoded><![CDATA[<p>Why Agile? This is the very first question anyone would come across when start googling around this topic. There have been many great opinions and ideas to answer this question. On top of those, what I personally believe is that anyone could take a quick peek at the agile manifesto, get the answer that replies to their specific situation/struggle which leads them studying on agile methodology.</p><p>Values of the <a href="http://agilemanifesto.org/">Agile Manifesto</a> :</p><ul><li><strong><em>Individuals and interactions</em></strong><em> over processes and tools</em></li><li><strong><em>Working software</em></strong><em> over comprehensive documentation</em></li><li><strong><em>Customer collaboration</em></strong><em> over contract negotiation</em></li><li><strong><em>Responding to change</em></strong><em> over following a plan</em></li></ul><p>The manifesto says that “While there is value in the items on the right, we value the items on the left more.”</p><p>Comparison with traditional methodologies like the waterfall is always a good idea to understand what agile actually brought to the table. Different teams and organizations have different working mechanisms that could lead to success. When we start comparing agile with waterfall we could see that in a general frame the main difference is the oriented focus. Waterfall is plan-oriented, on the other hand, Agile is value-oriented.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*I2nIHq6RFAC54DO8_HYBqg.png" /></figure><p>Let’s take a deep dive into the waterfall first and assume that there has been a wrong prediction on cost somehow, for example, the cost might be increased over time. Since the plan was so strict, to be able to achieve a successful result, there needs to be some kind of adjustments on time, maybe moving deadlines(if possible) or asking the team for overtime. In some short time projects and in some bold organizations this risk is maybe acceptable. But in fact, this is still a risk!</p><p>The same risk also could be applied to agile, but this risk could be eliminated over time cause agile is adaptive to change. The cost-time-functionality triangle works in sync. The focus is to deliver small pieces of working product(called MVP — Most Viable Product) and make new small plans based on the measured value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*gHUpNFT0sr94S4cxRG5-gw.png" /></figure><p>This continued delivery and feedback mechanism is actually the key of Agile, which makes sure that all plans can be reshaped around collected feedback, business value will be increased, risks will be eliminated, and finally, success will be achieved.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41cf76fd4763" width="1" height="1" alt=""><hr><p><a href="https://medium.com/agileinsider/agile-vs-waterfall-in-a-nutshell-41cf76fd4763">Agile vs. Waterfall in a nutshell</a> was originally published in <a href="https://medium.com/agileinsider">Agile Insider</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>