<?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 Dmitry Gr on Medium]]></title>
        <description><![CDATA[Stories by Dmitry Gr on Medium]]></description>
        <link>https://medium.com/@qitmentX7?source=rss-22bc400c9923------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3wX7xsg0xbxn7eGy.jpg</url>
            <title>Stories by Dmitry Gr on Medium</title>
            <link>https://medium.com/@qitmentX7?source=rss-22bc400c9923------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:06:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@qitmentX7/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[Advantages of using full references instead of relative references Dart/Flutter project]]></title>
            <link>https://medium.com/@qitmentX7/advantages-of-using-full-references-instead-of-relative-references-dart-flutter-project-10c887209f1c?source=rss-22bc400c9923------2</link>
            <guid isPermaLink="false">https://medium.com/p/10c887209f1c</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Dmitry Gr]]></dc:creator>
            <pubDate>Wed, 22 May 2024 11:22:25 GMT</pubDate>
            <atom:updated>2024-05-26T18:52:46.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*kpWCFTCXnD-bf9XRn5EnlA.png" /></figure><p>Using full references (also known as absolute imports) over relative references in your Dart/Flutter project can offer several advantages:</p><h3>1. Clarity and Readability</h3><p>Full references clearly specify the exact location of the dependency within the project structure. This explicitness makes the code easier to understand, especially for new developers joining the project or for those unfamiliar with the project’s structure. When a full path is provided, it’s immediately clear where the imported file resides.</p><pre>import &#39;package:project/application/auth_flow_state_provider.dart&#39;;</pre><p>versus</p><pre>import &#39;.../application/auth_flow_state_provider.dart&#39;;</pre><p>In the second case, a developer needs to understand the relative structure, which can be confusing and error-prone.</p><h3>2. Refactoring Ease</h3><p>When you move files or directories around in your project, full references typically remain valid, as they are based on the package structure, not the file system hierarchy. Relative paths, on the other hand, often need to be updated whenever files are moved, leading to potential errors and increased maintenance work.</p><h3>3. Consistency Across the Project</h3><p>Using full references helps maintain a consistent import style throughout the project. Consistency in import statements makes the codebase cleaner and easier to manage. It also helps in setting and following coding standards within a team.</p><h3>4. Tooling and IDE Support</h3><p>Modern IDEs and tools often provide better support for full references. Features like auto-completion, go-to definition, and refactoring tools work more reliably when full paths are used. This can improve productivity and reduce the likelihood of errors.</p><h3>5. Avoiding Import Cycles</h3><p>Relative imports can sometimes inadvertently create import cycles (circular dependencies), which can lead to subtle bugs and issues in your code. Full references, by providing a clear and absolute path, help in avoiding such cycles.</p><h3>6. Package Structure and Modularity</h3><p>Using full references encourages thinking in terms of modules or packages within your project. This aligns with Dart’s package-based architecture, promoting modularity and a more organized project structure.</p><h3>Example</h3><p>Consider a scenario where your project has the following structure:</p><pre>project/<br>├── lib/<br>│   ├── application/<br>│   │   └── auth_flow_state_provider.dart<br>│   └── widgets/<br>│       └── login_button.dart</pre><p>If you are in login_button.dart and need to import auth_flow_state_provider.dart, using a relative path would look like this:</p><pre>import &#39;package:project/application/auth_flow_state_provider.dart&#39;;</pre><p>Whereas a full reference would be:</p><pre>import &#39;.../application/auth_flow_state_provider.dart&#39;;</pre><p>If later, the application directory is moved or renamed, the full reference import remains unchanged as long as the package name is consistent, whereas the relative import would break and need to be updated.</p><p>In summary, while both import styles are valid, using full references generally leads to a more maintainable, readable, and robust codebase. It aligns with Dart’s best practices and leverages the strengths of modern development tools.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10c887209f1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What useful and interesting things can we expect from Google I/O 2024?]]></title>
            <link>https://medium.com/@qitmentX7/what-useful-and-interesting-things-can-we-expect-from-google-i-o-2024-61d4be004af3?source=rss-22bc400c9923------2</link>
            <guid isPermaLink="false">https://medium.com/p/61d4be004af3</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[sundar-pichai]]></category>
            <category><![CDATA[googleio]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[google-news]]></category>
            <dc:creator><![CDATA[Dmitry Gr]]></dc:creator>
            <pubDate>Tue, 14 May 2024 14:26:13 GMT</pubDate>
            <atom:updated>2024-05-21T21:09:20.665Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I1ntozvrInJMsiIQTHmQZg.jpeg" /></figure><p>Last year, Google impressed us with many exciting announcements. They showed how artificial intelligence can make routine office tasks easier, introduced new photo editing features, and even entered the music production field unexpectedly.</p><p>What can we expect this year? The conference will likely focus on using artificial intelligence in new and updated Google products 🙂.</p><p>Will Google continue to focus on education? Will their certificates be recognized internationally? Their new products seem ready to revolutionize this field!</p><p>What about healthcare? This sector needs innovation more than ever! Google is working with the Indian clinic Apollo Radiology International, so we might hear more about their collaboration.</p><p>Some sources suggest a new generation of Google Glass might be released. Will these glasses be useful in healthcare?</p><p>As for sports, we might see a new version of the Google Watch. It would be interesting to see if they add even more comfort during sports activities.</p><p>We can’t forget about mental health either. For example, Google Dashboard is a useful tool for self-analysis of time spent. It would be great to see a product dedicated to this topic today!</p><p>Undoubtedly, there will be new developments in other areas as well.</p><p>What are you personally expecting from the conference?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61d4be004af3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>