<?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 Bharathi Kasi on Medium]]></title>
        <description><![CDATA[Stories by Bharathi Kasi on Medium]]></description>
        <link>https://medium.com/@bharathi.kasi?source=rss-3354cb5e347c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CRzY6k8lapv-5pb1MRQ3Rw.jpeg</url>
            <title>Stories by Bharathi Kasi on Medium</title>
            <link>https://medium.com/@bharathi.kasi?source=rss-3354cb5e347c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:25:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bharathi.kasi/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[Kotlin Program Execution Flow]]></title>
            <link>https://medium.com/@bharathi.kasi/kotlin-program-execution-flow-336c221ad8ad?source=rss-3354cb5e347c------2</link>
            <guid isPermaLink="false">https://medium.com/p/336c221ad8ad</guid>
            <category><![CDATA[execution-flow]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[basic-of-kotlin]]></category>
            <category><![CDATA[additional-income]]></category>
            <dc:creator><![CDATA[Bharathi Kasi]]></dc:creator>
            <pubDate>Tue, 23 Nov 2021 11:33:49 GMT</pubDate>
            <atom:updated>2021-11-23T11:33:49.683Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, you can learn basic programming concepts in Kotlin.</p><p>If you are new to the Kotlin programming language, kindly refer to the below link.</p><p><a href="https://medium.com/@bharathi.kasi/kotlin-introduction-f721a11e4c90">Kotlin Introduction</a></p><h4>What is a function?</h4><p>A function is a collection of code that is used to do some specific task.</p><p>For example:- I want to add two numbers, so here our task is adding two numbers. In order to complete this task using Kotlin, we need to create a function, and that function will perform our task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PBz01lzznxqKiaR1GRUOgg.png" /></figure><p>A function starts with #fun keyword and is followed by #funtionName. In our case, we have two functions: 1. Main and 2. Add followed by that open and closed parenthesis.</p><p>Always a program will start to execute its main function.</p><h4>Code Execution Flow:</h4><ol><li>The machine will start to execute the main() function.</li><li>Inside the main() function we are calling the add() function.</li><li>Then inside the add() function, we are initializing two variables namely lVariable1 = 10 and lVariable2 = 20. Then we are printing the addition of those two numbers using the print() method.</li></ol><p>In Kotlin, putting a semicolon — ; at the end of the line is optional.</p><p>I hope you understand the above code execution flow.</p><h4>“Learning something new is good, but at the same time making others learn is too good.”</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=336c221ad8ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kotlin Introduction]]></title>
            <link>https://medium.com/@bharathi.kasi/kotlin-introduction-f721a11e4c90?source=rss-3354cb5e347c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f721a11e4c90</guid>
            <category><![CDATA[features-of-kotlin]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[history-of-kotlin]]></category>
            <dc:creator><![CDATA[Bharathi Kasi]]></dc:creator>
            <pubDate>Wed, 01 Sep 2021 13:46:52 GMT</pubDate>
            <atom:updated>2021-09-01T13:54:09.386Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>“If you are not killing your distraction then distraction will kill your dream”</em></strong></p><p>In this blog, you will learn about Kotlin and its features.</p><h3>History of Kotlin:</h3><p>It is developed by JetBrains, and this project started in the year of 2010. It is officially released in the year of 2016. It is officially announced for mobile app development on November 28, 2017.</p><h3><strong>What is Kotlin?</strong></h3><p>Kotlin is a general-purpose and statically typed language. It is mostly used to develop Android applications, server-side code, etc.</p><h4><strong>What is statically typed language?</strong></h4><p>In java or Kotlin, if we want to declare a variable, we should give its type, else the compiler will show an error.</p><p>ex: int a;<em>//java , val a:Int//kotlin</em></p><p>Since the compiler is finding the error before execution, it is known as statically typed.</p><h3>Features of Kotlin:</h3><ol><li><strong><em>Concise(very short)</em></strong>: In Kotlin all the boiler-plate codes are removed, for example, if we want to write any POJO class, we will give the setter and getter method for all the properties. But, in Kotlin we have a data class for that, we have to pass values for that, and the compiler will automatically generate setter and getter methods for us.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FnzCqu2b_hvy3b-QretYEQ.png" /></figure><p>2. <strong><em>Null Safety:</em></strong> It is a null safety language. If we declared any variable type as a Nullable type, then whenever you use it, the compiler asks you to check whether it is null.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5iQbe8M6Sr9nedlJ8LJqDA.png" /></figure><p>3. <strong><em>Support Extension function:</em> </strong>In Kotlin we can write extension functions as well, so instead of writing everything in a single class, we can write methods on different classes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lRIryVsict2Vbbvno2_pJQ.png" /></figure><p>4. <strong><em>Smart cast:</em></strong> In Kotlin, the compiler will automatically typecast an instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AZbv5s02I0VThVvlPyjJZQ.png" /></figure><p>I hope you can understand here that the compiler is automatically type-casting the instance lBinstance to A class object so that we can easily call the A class methods.</p><p>5.<strong><em> Tool Friendly</em></strong>: We can develop our Kotlin program using a command-line tool as well.</p><p>6<strong><em>. Interoperable: </em></strong>In this language, we can easily call the java code from the Kotlin class and vice versa.</p><p>That’s it, I hope you understand some basics of Kotlin, and here I have a few questions for you.</p><p>a) What is dynamically typed language?</p><p>b) Why do we want to learn Kotlin rather than java?</p><p>please comment your answer in the comment box…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f721a11e4c90" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>