<?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 Jaecheol Park on Medium]]></title>
        <description><![CDATA[Stories by Jaecheol Park on Medium]]></description>
        <link>https://medium.com/@bytestocode?source=rss-952e7de283b7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Lm49LHXD7jCcLObswy1TzQ.jpeg</url>
            <title>Stories by Jaecheol Park on Medium</title>
            <link>https://medium.com/@bytestocode?source=rss-952e7de283b7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 07:14:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bytestocode/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[Understanding Enhanced Enums in Dart]]></title>
            <link>https://bytestocode.medium.com/understanding-enhanced-enums-in-dart-4d07bb16af7b?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d07bb16af7b</guid>
            <category><![CDATA[enum]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Sat, 17 Feb 2024 02:45:09 GMT</pubDate>
            <atom:updated>2024-02-17T02:45:09.424Z</atom:updated>
            <content:encoded><![CDATA[<p>In the world of Flutter development, Dart language plays a pivotal role, continually evolving to meet the needs of developers. One of the significant advancements in Dart is the introduction of enhanced enums. This feature takes enums beyond their traditional capabilities, opening a new realm of possibilities.</p><h4>What are Enhanced Enums?</h4><p>Enhanced enums, introduced in Dart 2.17, elevate the traditional enumeration types by allowing them to have methods, fields, and implement interfaces. Unlike the basic enums, which served primarily as a way to define named constants, enhanced enums can now hold additional data and behavior, making them incredibly versatile.</p><p>This feature is particularly beneficial in scenarios where you not only need a set of named constants but also associated data and functionality specific to each constant. For example, you can now associate unique methods or values with each enum member, enhancing the expressiveness and functionality of your code.</p><h4>A Practical Example: Mapping String Values to Enums</h4><p>One common use case that benefits from enhanced enums is the need to retrieve an enum member from a String value. This can be particularly useful when dealing with external data sources where enums are represented as strings. Let’s dive into how you can implement a static method within an enhanced enum to achieve this.</p><pre>enum Status {<br>  pending(&#39;pending&#39;),<br>  approved(&#39;approved&#39;),<br>  rejected(&#39;rejected&#39;);<br><br>  const Status(this.value);<br><br>  final String value;<br><br>  static Status fromString(String stringValue) {<br>    return Status.values.firstWhere(<br>      (status) =&gt; status.value == stringValue, <br>      orElse: () =&gt; throw ArgumentError(&#39;No matching Status for $stringValue&#39;),<br>    );<br>  }<br>}</pre><p>In this example, the Status enum represents different states an application might be in. Each enum member is associated with a String value. The static method fromString allows you to retrieve a Status enum member by passing a String value. This method searches through all enum values and returns the one whose value matches the provided String. If no match is found, it throws an error, ensuring that the function either returns a valid Status or fails explicitly.</p><h4>Why This Matters</h4><p>This approach not only makes your code more robust and type-safe but also leverages the enhanced capabilities of enums in Dart. By incorporating methods and fields within enums, you can write more concise, readable, and maintainable code. Enhanced enums open the door to more sophisticated data modeling and business logic implementation, making your Flutter apps more scalable and easier to develop.</p><p>As we continue to explore the evolving landscape of Flutter development, embracing features like enhanced enums in Dart can significantly improve our coding practices. Whether you’re dealing with configuration settings, state management, or mapping external data, enhanced enums offer a powerful tool to streamline your development process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d07bb16af7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Equatable in Flutter]]></title>
            <link>https://bytestocode.medium.com/using-equatable-in-flutter-87106d566395?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/87106d566395</guid>
            <category><![CDATA[objects]]></category>
            <category><![CDATA[equatable]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Sun, 11 Feb 2024 14:49:09 GMT</pubDate>
            <atom:updated>2024-02-11T14:52:22.378Z</atom:updated>
            <content:encoded><![CDATA[<h4>Handling Object Equality</h4><p>When developing with Flutter, you often encounter situations where you need to verify the equality of objects in relation to state management. One common solution to this challenge is using the <strong>Equatable</strong> package. In this article, I will explain what the <strong>Equatable </strong>package is and why it is used in Flutter development.</p><h3>What is the Equatable Package?</h3><p><strong>Equatable</strong> is a package for Dart that facilitates easy equality checks between objects. By default, Dart allows object equality to be checked using the <strong>==</strong> operator, which is based on object identity. That means it returns <strong>true </strong>only if two objects are the same instance. This poses a problem for value-based equality checks. <strong>Equatable</strong> allows for easy comparison based on the properties of objects, which is particularly useful in Flutter for state management.</p><h3>Why Use Equatable?</h3><ol><li>Efficiency in State Management: State management is a crucial concept in Flutter. Widgets need to be appropriately rebuilt whenever the state changes. Using <strong>Equatable</strong>, complex objects can be easily compared to accurately detect changes in state, allowing for widget rebuilding only when necessary. This helps optimize the performance of the app.</li><li>Simplicity in Code: To manually implement object equality, you would need to override the <strong>hashcode</strong> and <strong>==</strong> operators. This can be repetitive and prone to errors. With <strong>Equatable</strong>, the package handles this implementation, so developers only need to specify the properties of the model. This makes the code more concise and easier to manage.</li><li>Reduction in Bugs: Using <strong>Equatable</strong> can prevent mistakes or omissions that may occur during equality comparison. Since the package handles all comparison logic, consistent and reliable equality checks are possible, significantly reducing bugs in large and complex applications.</li></ol><h3>Example of Using Equatable</h3><p>As a simple example, let’s look at how a user object could be implemented using <strong>Equatable</strong>.</p><pre>import &#39;package:equatable/equatable.dart&#39;;<br> <br>class Person extends Equatable {<br>  const Person(this.name);<br> <br>  final String name;<br> <br>  @override<br>  List&lt;Object&gt; get props =&gt; [name];<br>}</pre><p>Here, <strong>props</strong> returns a list of properties that are used for object equality comparison. <strong>Equatable</strong> uses this list to determine if two objects are equal.</p><h3>Conclusion</h3><p>The <strong>Equatable</strong> package is a powerful tool in Flutter development for easily managing object equality. It enhances efficiency in state management, maintains code simplicity, and reduces the possibility of bugs. Therefore, using <strong>Equatable</strong> is highly recommended in the development of Flutter apps that require complex state management.</p><h3>References</h3><p>Equatable package link: <a href="https://pub.dev/packages/equatable">https://pub.dev/packages/equatable</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87106d566395" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Asset Image Popping Issue in Flutter]]></title>
            <link>https://bytestocode.medium.com/asset-image-popping-issue-in-flutter-3d8285166986?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d8285166986</guid>
            <category><![CDATA[assets]]></category>
            <category><![CDATA[image]]></category>
            <category><![CDATA[placeholder]]></category>
            <category><![CDATA[pop]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Sat, 03 Feb 2024 05:51:09 GMT</pubDate>
            <atom:updated>2024-02-03T05:53:12.947Z</atom:updated>
            <content:encoded><![CDATA[<h4>Handling Asset Image</h4><h4>Asset Image</h4><p>Even when using a asset image in Flutter rather than a network image, the widget may be pushed down.</p><p>This is when you do not know in advance the area that the image will occupy.</p><p>This is typical code when using local images in Flutter.</p><pre>Image.asset(<br>  &#39;assets/images/sea_of_stars.png&#39;,<br>  fit: BoxFit.fitWidth,<br>),</pre><p>Here’s what you see on the screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*oQjgqER0fGdl85g9YC_ftQ.gif" /></figure><p>You can see that the widget below the image widget (the text widget in the example) is pushed out.</p><p>To improve this, you can specify the height value of the image.</p><pre>Image.asset(<br>  &#39;assets/images/sea_of_stars.png&#39;,<br>  fit: BoxFit.fitWidth,<br>  height: MediaQuery.sizeOf(context).width * imageRatio,<br>),</pre><p>If you specify the height value of the image in advance, you can secure the corresponding area in advance and prevent the widget below the image from being pushed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*mff9SVqcT2KpXd-qOuxR9w.gif" /></figure><p>However, it is a bit disappointing that the image suddenly appears.</p><p>So, set frameBuilder as follows.</p><pre>Image.asset(<br>  &#39;assets/images/sea_of_stars.png&#39;,<br>  fit: BoxFit.fitWidth,<br>  height: MediaQuery.sizeOf(context).width * imageRatio,<br>  frameBuilder: (<br>    BuildContext _,<br>    Widget child,<br>    int? frame,<br>    bool wasSynchronouslyLoaded,<br>  ) {<br>    if (wasSynchronouslyLoaded) return child;<br>    return AnimatedOpacity(<br>      opacity: frame == null ? 0 : 1,<br>      duration: const Duration(seconds: 1),<br>      curve: Curves.easeOut,<br>      child: child,<br>    );<br>  },<br>),</pre><p>A fade-in effect is applied to the image to make it look a little more natural.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*sJzmhZrhtRIZ5PHw-7SwhA.gif" /></figure><p>Below is the full code for the page.</p><pre>import &#39;package:flutter/material.dart&#39;;<br>import &#39;package:flutter_lorem/flutter_lorem.dart&#39;;<br> <br>class ImprovedAssetImage extends StatelessWidget {<br>  const ImprovedAssetImage({super.key});<br> <br>  static const imageRatio = 9 / 16;<br> <br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: const Text(&#39;Asset Image Placeholder&#39;),<br>      ),<br>      body: Column(<br>        children: [<br>          Image.asset(<br>            &#39;assets/images/sea_of_stars.png&#39;,<br>            fit: BoxFit.fitWidth,<br>            height: MediaQuery.sizeOf(context).width * imageRatio,<br>            frameBuilder: (<br>              BuildContext _,<br>              Widget child,<br>              int? frame,<br>              bool wasSynchronouslyLoaded,<br>            ) {<br>              if (wasSynchronouslyLoaded) return child;<br>              return AnimatedOpacity(<br>                opacity: frame == null ? 0 : 1,<br>                duration: const Duration(seconds: 1),<br>                curve: Curves.easeOut,<br>                child: child,<br>              );<br>            },<br>          ),<br>          const SizedBox(height: 16),<br>          Padding(<br>            padding: const EdgeInsets.symmetric(horizontal: 20),<br>            child: Text(<br>              lorem(paragraphs: 2, words: 60),<br>            ),<br>          ),<br>        ],<br>      ),<br>    );<br>  }<br>}</pre><h4><strong>Package added</strong></h4><ul><li><a href="https://pub.dev/packages/flutter_lorem">flutter_lorem</a>: used to generate text for testing.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d8285166986" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My experience with Android Studio and VS Code for Flutter development.]]></title>
            <link>https://bytestocode.medium.com/my-experience-with-android-studio-and-vs-code-for-flutter-development-74c84a341312?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/74c84a341312</guid>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[extension]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[figma]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Sat, 27 Jan 2024 01:10:18 GMT</pubDate>
            <atom:updated>2024-01-27T01:10:18.224Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been using Android Studio since I started Flutter development. It was a natural choice because most beginner Flutter courses used Android Studio. I knew that VS Code was also available for Flutter development, but I had a preconceived notion that it was unfriendly to users. I was satisfied with Android Studio, so I continued using it.</p><p>Recently, I considered switching to VS Code when GitHub Copilot chat was released on VS Code but not on Android Studio. However, I believed that it would eventually be released on Android Studio. And now, it is supported. So, I continued using Android Studio.</p><p>However, yesterday, I realized that the Figma extension was available on VS Code but not on Android Studio. This was a wake-up call for me. Figma is a popular design tool that is often used with Flutter. I knew that Figma would eventually be available on Android Studio, but I realized that VS Code was always the first to support new technologies. So, if I wanted to use trendy technologies, I would have to switch to VS Code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KviXeDfW6LBLhexlUuHfKg.jpeg" /><figcaption><a href="https://marketplace.visualstudio.com/items?itemName=figma.figma-vscode-extension">https://marketplace.visualstudio.com/items?itemName=figma.figma-vscode-extension</a></figcaption></figure><h4>Switching to VS Code:</h4><p>I have been struggling to switch to VS Code from Android Studio. However, contrary to my concerns, I was able to use most of the features that I used in Android Studio. I also found that there are many interesting features that I can use if I take advantage of extensions. I am enjoying the excitement of exploring new features, as if I were playing a new game.</p><h4>Conclusion:</h4><p>I do not think that VS Code is always better than Android Studio. I think that Android Studio is more suitable for beginners because the UI is more intuitive. However, I think that the choice of which tool to use is a matter of preference for experienced developers. Both are good development tools.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74c84a341312" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Get Package’s Route Parameters in Flutter.]]></title>
            <link>https://bytestocode.medium.com/get-packages-route-parameters-in-flutter-b443d5f43aef?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b443d5f43aef</guid>
            <category><![CDATA[path]]></category>
            <category><![CDATA[routing]]></category>
            <category><![CDATA[getx]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[query]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Sat, 20 Jan 2024 08:32:37 GMT</pubDate>
            <atom:updated>2024-01-20T08:44:02.420Z</atom:updated>
            <content:encoded><![CDATA[<h4>Using Path Parameters and Query Parameters.</h4><h3>‘Get’ Package</h3><p>It is the package with the most likes on pub.dev. This is because it is easy to use. However, it also has a notorious reputation, with many discouraging its usage due to its ease of use being accompanied by significant side effects. Yet, it is a fact that there is no other package as efficient for quickly building a simple app.</p><p>Considering that the purpose of using Flutter is to increase development productivity, it is understandable that the package with the most likes aligns with this goal.</p><p>Many developers are unfamiliar with using path and query parameters when routing with the ‘get’ package because they are not frequently used. Therefore, today, we will explore how to pass path parameters and query parameters in addition to arguments when routing with the ‘get’ package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b1_U92UTOGcpFSo-x-AD4g.jpeg" /><figcaption>Photo by Baptiste Valthier: <a href="https://www.pexels.com/photo/winding-road-signage-803201/">https://www.pexels.com/photo/winding-road-signage-803201/</a></figcaption></figure><h3>Routing</h3><h4>GetPage</h4><p>To perform routing with ‘get,’ you need to set up ‘GetPage’ first.</p><pre>MaterialApp(<br>  title: &#39;Flutter Routing Example&#39;,<br>  home: HomePage(),<br>  getPages: [<br>    GetPage(name: &#39;/&#39;, page: () =&gt; HomePage()),<br>    GetPage(name: &#39;/detail&#39;, page: () =&gt; DetailPage()),<br>  ],<br>);</pre><h4>Arguments</h4><p>Arguments are likely frequently used. They can be called as follows, and you can pass not only strings but also objects.</p><pre>Get.toNamed(&#39;/detail&#39;, arguments: &#39;Args&#39;);</pre><p>Later, you can use them like this:</p><pre>final args = Get.arguments;<br>if (args is! String) throw FormatException(&#39;The argument type must be a String.&#39;);<br>return Text(args);</pre><h4>Path Parameters, Query Parameters</h4><p>Since the usage of path parameters and query parameters is similar, let’s explore them together.</p><p>First, the passing part:</p><pre>Get.toNamed(&#39;/detail?id=123&amp;name=John&amp;age=25&#39;);</pre><p>By passing in this way, you can use them on the detail page as follows:</p><pre>final String? id = Get.parameters[&#39;id&#39;];<br>final String? name = Get.parameters[&#39;name&#39;];<br>final String? age = Get.parameters[&#39;age&#39;];</pre><p>It’s simple. That concludes our exploration of how to use path parameters and query parameters in ‘get’ routing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b443d5f43aef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Static vs Extension in Flutter]]></title>
            <link>https://bytestocode.medium.com/static-vs-extension-in-flutter-7743540534bb?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7743540534bb</guid>
            <category><![CDATA[methods]]></category>
            <category><![CDATA[static]]></category>
            <category><![CDATA[extension]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Sat, 13 Jan 2024 02:31:12 GMT</pubDate>
            <atom:updated>2024-01-13T02:35:47.965Z</atom:updated>
            <content:encoded><![CDATA[<h4>My Preference for Extensions</h4><p>When developing a mobile app in Flutter, you often encounter situations where you need to work with <em>DateTime</em> formats. There are primarily two approaches to handling this: static methods and extension methods.</p><p>Using a <strong>static</strong> method involves code like the following:</p><pre>/// Docs<br>Class DateFormats {<br>  static String dotted(DateTime dateTime) {<br>    return DateFormat(&#39;yyyy.MM.dd.&#39;).format(dateTime);<br>  }<br>}<br><br>// Example of usage<br>final now = DateFormats.dotted(DateTime.now());</pre><p>On the other hand, an <strong>extension</strong> method would look like this:</p><pre>extension DateTimeFormats on DateTime {<br>  String get formatDotted =&gt; DateFormat(&#39;yyyy.MM.dd.&#39;).format(this);<br>}<br><br>// Example of usage<br>final now = DateTime.now().formatDotted;</pre><p>Personally, I prefer extensions because, when typing <em>DateTime</em>, my IDE suggests a list of <em>DateTime</em> extensions, providing a more streamlined experience. It also results in a more concise code.</p><p>However, static methods have their merits, particularly in terms of documentation. So, when dealing with <em>DateTime</em> formats in a large project, you may want to consider static methods. In most cases, though, I would recommend using extensions for their brevity and ease of use.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7743540534bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Reason Why I’m Restarting My Blogging Journey.]]></title>
            <link>https://bytestocode.medium.com/the-reason-why-im-restarting-my-blogging-journey-d7a438d8b1c0?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7a438d8b1c0</guid>
            <category><![CDATA[blogging]]></category>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[new-year]]></category>
            <category><![CDATA[resolutions]]></category>
            <category><![CDATA[english]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Sat, 06 Jan 2024 04:07:09 GMT</pubDate>
            <atom:updated>2024-01-06T04:07:09.970Z</atom:updated>
            <content:encoded><![CDATA[<h4>from Tistory to Medium</h4><h3>My First experience with Blog Posting</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*piTB6qp78l3Jfqo2XxlqLg.jpeg" /><figcaption>Photo by Snapwire: <a href="https://www.pexels.com/photo/people-doing-marathon-618612/">https://www.pexels.com/photo/people-doing-marathon-618612/</a></figcaption></figure><h4>Tistory</h4><p>When I decided to transition my career from a construction site manager to a developer, I heard many times that ‘Developers need to write tech blogs to increase their chances of getting a job’. So, I started a blog using ‘Tistory’, which is a popular blogging service in Korea. Additionally, hoped to earn some extra income through advertisements.</p><h4>Loss of Motivation</h4><p>Fortunately, when I landed a job as a developer, I rarely posted on my blog. I lost sight of the initial purpose of blogging to secure a job. Frankly, I became disinterested in posting altogether.</p><h3><strong>Hello, Medium!</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z7Y3ZlG3EaW_2sfDsmtP5A.jpeg" /><figcaption>Photo by Monstera Production from Pexels: <a href="https://www.pexels.com/photo/kid-waving-her-hand-5063095/">https://www.pexels.com/photo/kid-waving-her-hand-5063095/</a></figcaption></figure><h4>Forced English practice</h4><p>As a New Year’s resolution, I’ve decided to start posting on Medium because I want to improve my English skills. In today’s tech-driven world, English proficiency is crucial for accessing information. While it’s true that I can still gather information without a strong grasp of Enlgish, the efficiency gained through English proficiency cannot be denied. This is an investment in my future. Of course, I’ll review my content with GPT to ensure a smoother reading experience for my audience.</p><h4>Contents I’ll Share</h4><p>I have experience working as mobile developer using Flutter. Therefore, I plan to write about Flutter, Dart, and common development skills. I find Medium to be an excellent platform as it allows me to focus on content without intrusive ads. I aim to post every Saturday morning in Korean time and hope to pique your interest.</p><h3>The Journey Ahead</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5NWxij5J-yr1TkOq6ZTpBA.jpeg" /><figcaption>Photo by Mike Bird: <a href="https://www.pexels.com/photo/white-and-black-sail-boat-on-ocean-996328/">https://www.pexels.com/photo/white-and-black-sail-boat-on-ocean-996328/</a></figcaption></figure><h4>Commitment for 1 Year</h4><p>At the very least, I intend to continue posting for a year as it’s part of my New Year’s resolution!</p><h4>Future Plans</h4><p>Someday, I plan to return to Tistory and resume posting in Korean. When I initially started studying development, I wasn’t familiar with English (and to be honest, I’m still not completely fluent). Therefore, I received immense help from Korean blog posts. I want to give back to the community. As developers, they will eventually need to learn English. However, as beginners, it’s much easier to comprehend content in their country language.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7a438d8b1c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[<Kotlin> do while statement]]></title>
            <link>https://bytestocode.medium.com/kotlin-do-while-statement-480dca81425a?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/480dca81425a</guid>
            <category><![CDATA[kotlin-beginners]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Mon, 02 Mar 2020 15:05:49 GMT</pubDate>
            <atom:updated>2020-03-02T15:05:49.917Z</atom:updated>
            <content:encoded><![CDATA[<h3>&lt;Kotlin&gt; do..while statement</h3><p>while and do..while work as usual</p><pre><strong>while</strong> (x &gt; 0) {</pre><pre>    x--</pre><pre>}<br></pre><pre><strong>do</strong> {</pre><pre><strong>    val</strong> y = retrieveData()</pre><pre>} <strong>while</strong> (y != <strong>null</strong>) // y is visible here!</pre><p><a href="https://kotlinlang.org/docs/reference/control-flow.html">Control Flow: if, when, for, while</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=480dca81425a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[<Kotlin> ?: Elvis Operator]]></title>
            <link>https://bytestocode.medium.com/kotlin-elvis-operator-3e0128f38244?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e0128f38244</guid>
            <category><![CDATA[kotlin-beginners]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Mon, 02 Mar 2020 15:03:26 GMT</pubDate>
            <atom:updated>2020-03-02T15:03:26.065Z</atom:updated>
            <content:encoded><![CDATA[<h3>&lt;Kotlin&gt; ?: Elvis Operator</h3><p>When we have a nullable reference r, we can say &quot;if r is not null, use it, otherwise use some non-null value x&quot;:</p><pre><strong>val</strong> l: Int = <strong>if</strong> (b != <strong>null</strong>) b.length <strong>else</strong> -1</pre><p>Along with the complete if-expression, this can be expressed with the Elvis operator, written ?::</p><pre><strong>val</strong> l = b?.length ?: -1</pre><p><a href="https://kotlinlang.org/docs/reference/null-safety.html#elvis-operator">Null Safety</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e0128f38244" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[<Kotlin Koans> data class]]></title>
            <link>https://bytestocode.medium.com/kotlin-koans-data-class-87820173bf65?source=rss-952e7de283b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/87820173bf65</guid>
            <category><![CDATA[kotlin-beginners]]></category>
            <dc:creator><![CDATA[Jaecheol Park]]></dc:creator>
            <pubDate>Thu, 27 Feb 2020 13:53:11 GMT</pubDate>
            <atom:updated>2020-02-27T13:53:11.535Z</atom:updated>
            <content:encoded><![CDATA[<p>data class Person(val name: String, val age: Int)</p><p>fun getPeople(): List&lt;Person&gt; {<br> return listOf(Person(“Alice”, 29), Person(“Bob”, 31))<br>}</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87820173bf65" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>