<?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 Chathurani Thuduwage on Medium]]></title>
        <description><![CDATA[Stories by Chathurani Thuduwage on Medium]]></description>
        <link>https://medium.com/@chathuraninimesha389?source=rss-0dc24178d02f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QwvCOafd6nYB-8-KBzysiA.jpeg</url>
            <title>Stories by Chathurani Thuduwage on Medium</title>
            <link>https://medium.com/@chathuraninimesha389?source=rss-0dc24178d02f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 07:32:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chathuraninimesha389/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 continue and break in Java (With Clear Examples)]]></title>
            <link>https://code.likeagirl.io/understanding-continue-and-break-in-java-with-clear-examples-83f243963a4b?source=rss-0dc24178d02f------2</link>
            <guid isPermaLink="false">https://medium.com/p/83f243963a4b</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[Chathurani Thuduwage]]></dc:creator>
            <pubDate>Sat, 16 May 2026 21:29:55 GMT</pubDate>
            <atom:updated>2026-05-16T21:29:55.867Z</atom:updated>
            <content:encoded><![CDATA[<h4>When working with loops in Java, controlling the flow of execution is very important.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UzIkC3PAMKOdNf5KBNv5xw.png" /></figure><p>When I was working with Java, I learned about two powerful keywords- <strong>break</strong> and <strong>continue </strong>that help change how loops behave. I mean, they help either stop loops completely or skipp certain parts.</p><p>Let’s clearly explore both in a simple and practical way.</p><h3>What are continue and break?</h3><p>Both continue and break are jump statements used to alter the normal flow of loops. They help to control the loop execution by terminating the loop early or skipping specific iterations.</p><ul><li>continue — Skips the current iteration and moves to the next one</li><li>break — Terminates the loop completely</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hi7WCINaXXlDjrvx1R5nQA.png" /><figcaption>continue and break</figcaption></figure><h3>What is continue in Java?</h3><p>The <strong>continue </strong>keyword is used to skip the current iteration of a loop and move to next loop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8KtfRkeAh6GQXAHmHaZW7A.png" /></figure><p><strong>Example 01: Use continue keyword in a for loop</strong></p><pre>class ContinueExample{<br>  public static void main(String[] args){<br>    for(int i=0;i&lt;5;i++){<br>      if(i==2){<br>        continue;<br>      }<br>      System.out.println(i);<br>    }<br>  }<br>}</pre><p><strong>Explanation:</strong></p><p>When i == 2, the continue statement is executed. So, the loop skips printing 2 and moves to the next iteration.</p><p><strong>Output:</strong></p><pre>0<br>1<br>3<br>4</pre><h3><strong>What is break in Java?</strong></h3><p>When you use the break keyword in a Java program, it immediately exits a loop or switch statement — no matter how many iterations are left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AgnQq4lXjIc6RZbrCpkzmQ.png" /></figure><p><strong>Example 01: Use break keyword in a loop</strong></p><pre>class BreakExample{<br>  public static void main(String[] args){<br>    for(int i=0; i&lt;10; i++){<br>        if(i==5){<br>            break;  // stops the loop when i=5<br>        }<br>        System.out.println(i);<br>     }<br>  }<br>}</pre><p><strong>Explanation:</strong></p><p>When i == 5, the loop stops immediately.</p><p><strong>Output:</strong></p><pre>0<br>1<br>2<br>3<br>4</pre><p><strong>Example 02 : break in a while loop</strong></p><pre>class BreakExampleWhileLoop{<br>    public static void main(String[] args){<br>        int i=1;<br><br>        while(i&lt;=10){<br>            if(i==7){<br>              break;<br>            }<br>            System.out.println(i);<br>            i++;<br>        }<br>    }<br>}</pre><p><strong>Explanation:</strong></p><p>The loop runs until i == 7. When i == 7, the loop immediately stops and ignores all remaining code.</p><p><strong>Output :</strong></p><pre>1<br>2<br>3<br>4<br>5<br>6</pre><p><strong>Difference between break and continue:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3L6lqjF615rJQ0uhtY67VA.png" /></figure><h3>Final Thoughts</h3><ul><li>Use continue when you want to skip specific values or conditions.</li><li>Use break when you want to stop the loop entirely.</li></ul><p>Both keywords are simple but powerful tools that make your code cleaner and more efficient.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83f243963a4b" width="1" height="1" alt=""><hr><p><a href="https://code.likeagirl.io/understanding-continue-and-break-in-java-with-clear-examples-83f243963a4b">Understanding continue and break in Java (With Clear Examples)</a> was originally published in <a href="https://code.likeagirl.io/">Code Like A Girl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub for Beginners : A Complete Guide with Command Line (CMD) Examples]]></title>
            <link>https://code.likeagirl.io/github-for-beginners-a-complete-guide-with-command-line-cmd-examples-80fd8e5d6eec?source=rss-0dc24178d02f------2</link>
            <guid isPermaLink="false">https://medium.com/p/80fd8e5d6eec</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Chathurani Thuduwage]]></dc:creator>
            <pubDate>Sat, 04 Apr 2026 15:37:47 GMT</pubDate>
            <atom:updated>2026-04-04T15:37:47.161Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cOwQ0bYCHZyRpoI9Ufz6Qw.png" /></figure><p>If you are starting your journey in software development, learning Git and GitHub is one of the most important skill you can acquire. GitHub helps you manage your code efficiently, whether you are working alone or collaborating with a team.</p><p>In this beginner-friendly guide, it will help you learn and get better understand what GitHub is, why it is matter and how to use it with simple command line(cmd) examples.</p><h3>What is Git and GitHub?</h3><p><strong>Git</strong> is a version control system. It helps you to track changes in your codes.</p><p><strong>GitHub</strong> is a cloud-based platform that provides space to store to save your Git repositories, collaborate with others and showcase your work.</p><h3>Why Should You Learn GitHub?</h3><ul><li>Track code changes very easily</li><li>Collaborate with developers who live worldwide</li><li>Build a strong developer portfolio</li><li>Work on open-source projects</li><li>Manage safely different versions of your code</li></ul><h3><strong>Install Git</strong></h3><p>You can download Git from the official website:</p><p><a href="https://git-scm.com/">Git</a></p><p>After installation, open Command Prompt (CMD) and check:</p><pre>git --version</pre><h3>Configure Git</h3><p>set your username and email</p><pre>git config --global user.name &quot;Your Name&quot; <br>git config --global user.email &quot;your@email.com&quot;</pre><h3>Create a Local Repository</h3><p>Navigate to your project folder:</p><pre>cd/path/to/your/project<br><br>Initialize Git:<br>git init</pre><h3>Add Files to Staging Area</h3><p>Add all files to staging area:</p><pre>git add . </pre><p>OR,</p><p>Add a specific file:</p><pre>git add filename</pre><h3>Commit Changes</h3><p>Save your changes with a message:</p><pre>git commit -m &quot;Initial Commit&quot;</pre><h3>Connect to GitHub Repository</h3><p>First, create a repository on GitHub. Then connect it:</p><pre>git remote add origin https://github.com/your-username/repository-name.git</pre><h3>Push Code to GitHub</h3><pre>git branch -M main<br><br>git push -u origin main</pre><h3>Clone a Repository</h3><p>Download a project from GitHub:</p><pre>git clone https://github.com/username/repository.git</pre><h3>Pull Latest Changes</h3><p>Update your local repository:</p><pre>git pull origin main</pre><h3>Work with Branches</h3><p>Create a new branch:</p><pre>git branch feature-branch</pre><p>Switch to it:</p><pre>git checkout feature-branch<br><br>--OR<br><br>git switch feature-branch</pre><h3>Merge Branches</h3><pre>git checkout main<br><br>git merge feature-branch</pre><h3>Ignore Files</h3><p>Create a .gitignore file:</p><p>node_modules/</p><p>.env</p><p>*.log</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k7vRso8gLtmdW9ASAfdJ1A.png" /><figcaption>Git Commands</figcaption></figure><h3>Summary</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*FSmJL_XuychfqLcXEVa_Xg.png" /><figcaption>Git Commands Summary</figcaption></figure><h3>Beginners Tips</h3><ul><li>Commit frequently with clear messages</li><li>Use branches for new features</li><li>Pull before pushing to avoid conflicts</li><li>Keep your repository clean and organized</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FhvNHtjb0-oeJesx4y8vzg.png" /></figure><ul><li>Practice daily to build confidence</li></ul><p>So, learning Git and GitHub might feel confusing at first. But with practice, it becomes second nature. These tools are essential for every developers and it will open doors to collaboration, open source contributions and career opportunities.</p><p>Start small, stay consistent, and keep building.</p><p>If you found this helpful:</p><ul><li>Share this article</li><li>Leave your throughts in the comments</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80fd8e5d6eec" width="1" height="1" alt=""><hr><p><a href="https://code.likeagirl.io/github-for-beginners-a-complete-guide-with-command-line-cmd-examples-80fd8e5d6eec">GitHub for Beginners : A Complete Guide with Command Line (CMD) Examples</a> was originally published in <a href="https://code.likeagirl.io/">Code Like A Girl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Java is Still One of the Most Powerful Programming Languages in 2026?]]></title>
            <link>https://medium.com/@chathuraninimesha389/why-java-is-still-one-of-the-most-powerful-programming-languages-in-2026-a0b54ae4b425?source=rss-0dc24178d02f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0b54ae4b425</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[most-powerful-java]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Chathurani Thuduwage]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 06:56:39 GMT</pubDate>
            <atom:updated>2026-03-23T06:56:39.564Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8AjIkNWWJF0bSYkkquTnDg.png" /><figcaption>Java</figcaption></figure><h4>The 30-year-old language that refuses to fade away</h4><p>Technology changes fast in our day to day lives. New programming laguages appear every day that promising better performance, cleaner syntax and modern features. However, despite all of these innovations, Java is still one of the most powerful and reliable programming language in 2026.</p><p>So, What makes Java so special?</p><h3><strong>01. write once, Run Anywhere</strong></h3><p>One of the biggest reasons is its “<strong>Write once, Run Anywhere”</strong> capability. Java programs run on the Java Virtual Machine (JVM). It allows them to work on different operating systems without any modification. This flexibility is valuable for managing large-scale systems of companies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LzjrU1_qSra-Du98CJWfdQ.png" /></figure><h3><strong>02. Easy to Use</strong></h3><p>Another reason is Java is easy to use and understand. It has a simple structure that helps beginners learn programming. Many students start coding with Java because it help to understand and learn very basic programming concepts clearly.</p><h3><strong>03.Many Tools and Libraries</strong></h3><p>Java has many tools that help developers build applications faster. Aslo, it has libraries like Spring Boot that make backend development faster. Developers do not need to build everything from the beginning. They can use pre-built code for their developments.</p><h3><strong>04. Good Performance</strong></h3><p>Another reason is perfomance. Java is not the fastest language. But it provides good perfomance for most applications. The Java Virtual Machine (JVM) improves the speed and efficiency of Java programs.</p><h3>05. Large Community</h3><p>Another big advantage is its large community. There are millions of Java developers around the world. This means anyone can find many tutorials, videos, and answers online. If someone has a problem about the Java, it is easy to find help.</p><h3>06. Strong Security</h3><p>Security is another advantage where Java shines. Java helps protect applications from vulnerabilities, by built-in features like bytecode verification and secure class loading. In 2026, cyber threats are increasing rapidly. So, this is more important than ever.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iGsn0FLxgJUdE284ogNxCA.png" /></figure><h3><strong>Conclusion</strong></h3><p>So, Java is not standing still. It continues to evolve with regular updates, introducing modern features and improving performance.</p><p>Java’s success is not accidental. Its platform independence, reliability, and continuous improvement make it a language that is powerful still. Even with new programming languages, Java continues to be an important tool for developers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0b54ae4b425" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Coding Assistants in Learning: Smart Help or Shortcut Trap?]]></title>
            <link>https://medium.com/@chathuraninimesha389/ai-coding-assistants-in-learning-smart-help-or-shortcut-trap-abc7d7d169aa?source=rss-0dc24178d02f------2</link>
            <guid isPermaLink="false">https://medium.com/p/abc7d7d169aa</guid>
            <dc:creator><![CDATA[Chathurani Thuduwage]]></dc:creator>
            <pubDate>Sun, 22 Feb 2026 06:53:15 GMT</pubDate>
            <atom:updated>2026-02-22T06:53:15.659Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="AI Coding Assistants in Learning: Smart Help or Shortcut Trap?" src="https://cdn-images-1.medium.com/max/1024/1*e1mr1tqZtswGu769jgEy2Q.png" /><figcaption>Coding with AI</figcaption></figure><p>In recent years, Artificial Intelligence (AI) such as Google Gemini, ChatGPT , GitHub Copilot have become common in programming education. Many students use these tools to complete their assignments, generate code, and fix errors faster.</p><p>This arise an important question:</p><p><strong>Is it acceptable for students to use AI tools to generate code and submit them with minor changes?</strong></p><p>The answer depends on how they use AI tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-eQSkN0XlFEnNEpZO_gsjw.png" /></figure><h3>The growing use of AI in programming</h3><p>AI coding assistants can generate complete programs within seconds. They can quickly help to explain concepts, debug errors and suggest improvements. For beginners, it can be like having a personal tutor available at any time.</p><p>Many students use AI tools as they save time, reduce frustration when they stuck, and they provide quick explanations. And also, they help understand complex topics.</p><p>According to above things, AI can support learning.</p><h3>Potential Risks for the Learners</h3><p>However, there are high risks when learners depend heavily on AI tools.</p><ol><li>Reduce the problem solving skills.</li><li>Limited understanding</li><li>Reduce creativity</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YLtTB9w5bHu48UsHXeIreA.png" /></figure><h4>AI can be very useful when learners use them responsibly.</h4><p>AI can be used to;</p><ul><li>Understand the complex concepts.</li><li>Practice coding with generated questions.</li><li>Learning alternative solutions.</li></ul><p>These cases act as an assistant for the learning instead of replacements.</p><p>But, the use of the AI become harmful when learners use them ;</p><ul><li>Copy and submit code without understanding</li><li>Depend on AI to think.</li><li>Avoid practicing code independently.</li></ul><p>However, the most effective way to use AI tools is to combine independent effort with AI support.</p><p>Learners should;</p><ul><li>Attempt to solve problems on their own first.</li><li>Use AI tools when they need a clarifications.</li><li>Rewrite code by their own words.</li><li>Practice coding without AI assistant regularly.</li></ul><p>This balanced use of AI help learners to gain best knowledge and confidence.</p><h3><strong>Conclusion</strong></h3><p>So, use of AI coding assistant is not wrong for learners. When they use them effectively, learners can improve understanding. However, relying on them without effort or comprehension can harm long-term growth.</p><p><strong>AI should be a tool that supports learning — not a shortcut that replaces it.</strong></p><p>#ArtificialIntelligence #Programming #LearningJourney #AIInEducation #StudentLife</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abc7d7d169aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why are dynamic data structures memory efficient?]]></title>
            <link>https://medium.com/@chathuraninimesha389/why-are-dynamic-data-structures-memory-efficient-c8239c93c034?source=rss-0dc24178d02f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8239c93c034</guid>
            <dc:creator><![CDATA[Chathurani Thuduwage]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 15:28:24 GMT</pubDate>
            <atom:updated>2026-02-04T15:28:24.203Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bUOeLh7mzSMgNORfozvYxg.png" /><figcaption>Memory-Efficient in Dynamic Data Structure</figcaption></figure><p>Let’s break it down using <strong>simple real-life examples</strong> like lunch boxes and containers.</p><p>Linear data structures have two type of data structures ; Dynamic data structures and Static data structures based on their memory allocation.</p><h3>Static Data Structure</h3><p>Imagine you buy a lunch box with 10 compartments. Even if you put food in 5 compartments other 5 compartments stay empty. But you still carry the whole box. This is memory wasted.</p><p>In programming, static data structures works similarly. They fixed memory in advanced. It decides size first, even it store the less number of elements to the size. Therefore, the extra space is wasted.</p><p>Ex: Array size =10</p><p>If you store 4 values, the space for 6 values is unused.</p><h3>Dynamic Data Structure</h3><p>Imagine you take small containers only when need them. when you need 4 foods you can take 4 containers only. when you want to 6 foods, you can take only 6 containers. Then, no extra containers. This saves memory (Efficient).</p><p>Now move to this programming.</p><p>In dynamic data structures like LinkedList, queues and Stack allocate memory only when data is added.</p><p>Ex: If you add;</p><ul><li>1 value — -&gt;memory for 1</li><li>4 value — -&gt; memory for 4</li><li>10 value — -&gt;memory for 10</li></ul><p>Therefore, no extra space is unused.</p><p>In simple word, Dynamic data structures are memory efficient because the use memory only when data is added.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8239c93c034" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building My Portfolio Website: Challenges and Lessons]]></title>
            <link>https://medium.com/@chathuraninimesha389/building-my-portfolio-website-challenges-and-lessons-96aab9566591?source=rss-0dc24178d02f------2</link>
            <guid isPermaLink="false">https://medium.com/p/96aab9566591</guid>
            <dc:creator><![CDATA[Chathurani Thuduwage]]></dc:creator>
            <pubDate>Mon, 17 Nov 2025 15:39:13 GMT</pubDate>
            <atom:updated>2025-11-17T15:39:13.128Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*uLVM1h8fzBqVzLwZOmV73A.jpeg" /><figcaption>Portfolio</figcaption></figure><p>As Computing and Information Systems students, we want a space to showcase projects, skills, and learning journey. Then, building a own portfolio is important. It is a fun but challenging experience that taught me a lot about design, coding and problem solving.</p><h3>Challenge 1: Designing the layout</h3><p>The first challenge was the deciding how the website should look. I spent hours exploring colors, fonts and layouts. I wanted something simple but more professional. After several trials, I used HTML, CSS and bit of JavaScript to create clean and simple design.</p><h3>challenge 2: Hosting and Deployment</h3><p>After finishing the design, I want to make my site live. Then, I learned how to use GitHub Pages to host it for free. Setting up the repository and linking the files was a new skill for me and also, very satisfying when it finally worked!</p><p>Building my portfolio website was more than a project. It was a learning journey. I faced errors, design confusion, and many small bugs, but each challenge helped me grow as a developer. If you’re starting your own portfolio, don’t wait for it to be perfect. Start small, learn as you go, and keep improving.</p><p>I’d love to hear your thoughts and experiences in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96aab9566591" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>