<?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 Tech Hata on Medium]]></title>
        <description><![CDATA[Stories by Tech Hata on Medium]]></description>
        <link>https://medium.com/@are-these-notes-good?source=rss-beffd22c181a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Tech Hata on Medium</title>
            <link>https://medium.com/@are-these-notes-good?source=rss-beffd22c181a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 23:41:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@are-these-notes-good/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[Розділ 0. Передмова: Гібридна агресія росії. Уроки для Європи. Євген Магда]]></title>
            <link>https://are-these-notes-good.medium.com/%D1%80%D0%BE%D0%B7%D0%B4%D1%96%D0%BB-0-%D0%BF%D0%B5%D1%80%D0%B5%D0%B4%D0%BC%D0%BE%D0%B2%D0%B0-%D0%B3%D1%96%D0%B1%D1%80%D0%B8%D0%B4%D0%BD%D0%B0-%D0%B0%D0%B3%D1%80%D0%B5%D1%81%D1%96%D1%8F-%D1%80%D0%BE%D1%81%D1%96%D1%97-%D1%83%D1%80%D0%BE%D0%BA%D0%B8-%D0%B4%D0%BB%D1%8F-%D1%94%D0%B2%D1%80%D0%BE%D0%BF%D0%B8-%D1%94%D0%B2%D0%B3%D0%B5%D0%BD-%D0%BC%D0%B0%D0%B3%D0%B4%D0%B0-daff6ed4fb4a?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/daff6ed4fb4a</guid>
            <category><![CDATA[ukraine]]></category>
            <category><![CDATA[українською]]></category>
            <category><![CDATA[europe]]></category>
            <category><![CDATA[war]]></category>
            <category><![CDATA[russiaisaterroriststate]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Tue, 06 Aug 2024 19:01:14 GMT</pubDate>
            <atom:updated>2024-08-06T19:16:37.672Z</atom:updated>
            <content:encoded><![CDATA[<h4>Kind reminder: Підтримай ЗСУ</h4><h3>Kind reminder: Підтримай ЗСУ</h3><p>Ви можете допомогти через благодійний фонд <a href="https://umbrellaua.charity/"><strong><em>“Парасоля ЮА” | “CF Umbrella UA”</em></strong></a><strong><em>. </em></strong>Ознайомитися з актуальними зборами та офіційною інформацією можна за посиланням:<strong><em> </em></strong><a href="https://www.instagram.com/fund.umbrella.ua/"><strong><em>Instagram фонду</em></strong></a>. Я, як співзасновниця цього фонду, гарантую, що всі донати підуть на актуальні збори для наших військових.</p><p>Також ви можете підтримати ЗСУ через благодійний фонд <a href="https://savelife.in.ua/"><strong><em>“Повернись живим”</em></strong></a>. Деталі та актуальні збори можна знайти на<strong><em> </em></strong><a href="https://www.instagram.com/savelife.in.ua/"><strong><em>Instagram фонду</em></strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lN3MYTMQ0jFvB9axRisN4A.png" /></figure><h4>Чому ця книга важлива?</h4><p>Книга Євгенія Магди «Гібридна агресія Росії. Уроки для Європи» є важливим дослідженням, що аналізує не військову (поки що) російську агресію проти Європи та гібридну війну проти України. Вона розкриває принципи ведення гібридної війни, цілі російської агресії та методи інформаційних атак, а також пропонує шляхи протидії.</p><p>Книгу легко читати, і вона не втратила актуальності попри те, що була видана ще у 2017, до повномасштабної фази війни росії проти України (що є дуже вагомим показником якості дослідження і правильності зроблених висновків).</p><h4>Де придбати книгу “Гібридна агресія росії. Уроки для Європи” Євгена Магди</h4><ul><li>Паперова версія українською: <a href="https://www.yakaboo.ua/ua/gibridna-agresija-rosii-uroki-dlja-evropi-avtograf-avtora.html">Yakaboo</a></li><li>Електронна версія українською: <a href="https://www.yakaboo.ua/ua/gibridna-agresija-rosii-uroki-dlja-evropi.html">Yakaboo</a></li></ul><p>Слідкуйте за автором у <a href="https://www.facebook.com/yevhen.mahda/">Facebook</a>.</p><h3>Основні ідеї</h3><h4>1. Історичні уроки війни:</h4><ul><li>- Перша світова війна та Друга світова війна були величезними трагедіями, які мали стати застереженням проти повторення мілітаристської агресії. Попри це, агресія знову проявилася на європейському континенті, зокрема через дії росії.</li></ul><h4>2. Агресія росії:</h4><ul><li>- Росія, як правонаступниця Радянського Союзу, порушує норми міжнародного права, здійснюючи агресію проти України. Європейські країни вагаються між посиленням санкцій та спробами умиротворення росії.</li></ul><h4>3. Україна та її роль:</h4><ul><li>- Україна стала ареною гібридної агресії з боку росії, яка намагається відновити свій вплив на пострадянському просторі. Україна вийшла з тіні росії завдяки стійкості під час агресії в 2014 році.</li></ul><h3>Важливі деталі</h3><p><strong>Політика Кремля:</strong></p><ul><li>- Москва активно використовує інформаційний вплив для маніпуляцій в Європі. російська пропаганда поширює дезінформацію, намагаючись виправдати свої агресивні дії.</li></ul><p><strong>Міжнародна реакція:</strong></p><ul><li>- НАТО надає Україні підтримку у формі Комплексного пакету допомоги. Агресія росії змусила багатьох у Європі переглянути своє ставлення до подій на Сході України.</li></ul><h3>Контекст та пояснення</h3><p>- Російська агресія не обмежується лише військовими діями, але включає інформаційні атаки та спроби зруйнувати європейські цінності. Україна, ставши полігоном для випробування російської гібридної агресії, має ключову роль у забезпеченні безпеки Європи.</p><h3>Ключові події:</h3><p>1. Війна в Чечні: Друга чеченська війна (1999–2009 рр.)</p><p>2. Конфлікт у Грузії: Російська агресія в Грузії у серпні 2008 року.</p><p>3. Катастрофа MH17: Збиття літака Malaysia Airlines рейсу MH17 17 липня 2014 року.</p><p>4. Варшавський саміт НАТО: Варшавський саміт НАТО (8–9 липня 2016 року).</p><p><strong><em>Читати наступний розділ (coming soon)</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=daff6ed4fb4a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering the Art of Public Speaking: Tips and Strategies for Captivating Your Audience]]></title>
            <link>https://are-these-notes-good.medium.com/mastering-the-art-of-public-speaking-tips-and-strategies-for-captivating-your-audience-ab0e747723f1?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab0e747723f1</guid>
            <category><![CDATA[speaking]]></category>
            <category><![CDATA[presentations]]></category>
            <category><![CDATA[talks]]></category>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[public-speaking]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 17:41:10 GMT</pubDate>
            <atom:updated>2023-11-25T17:41:10.119Z</atom:updated>
            <content:encoded><![CDATA[<p>Public speaking is an art that can be daunting for many, yet it’s a critical skill in both professional and personal spheres. Whether you’re presenting at a tech conference, leading a workshop, or delivering a keynote, the ability to engage and influence your audience is invaluable. Here, we’ll explore practical tips and strategies, complete with examples and helpful resources, to elevate your public speaking skills.</p><figure><img alt="Mastering the Art of Public Speaking: Tips and Strategies for Captivating Your Audience" src="https://cdn-images-1.medium.com/max/1024/1*PB1hK4ABKyy57AHtT9Wyew.png" /><figcaption>Designed with Canva and Upsplash</figcaption></figure><h4>1. Know Your Audience</h4><p><em>The Key</em>: Tailor your speech to the interests, level of understanding, and expectations of your audience.</p><p><em>Example</em>: If you’re speaking at a tech conference, your presentation should be more technical and industry-specific compared to a general audience.</p><p><em>Resource</em>: Check out <a href="https://www.ted.com/">TED Talks</a> for a range of audience-focused speeches.</p><h4>2. Start with a Bang</h4><p><em>The Strategy</em>: Open with an interesting fact, a question, or a story to grab attention.</p><p><em>Example</em>: “Did you know that public speaking is often ranked as the number one fear, even above death? Today, let’s conquer this fear together.”</p><p><em>Resource</em>: Simon Sinek’s <a href="https://startwithwhy.com/">Start with Why</a> provides excellent insights on engaging audiences right from the start.</p><h4>3. Structure Your Content Clearly</h4><p><em>The Approach</em>: Use a clear structure — Introduction, Body, Conclusion.</p><p><em>Example</em>:</p><ul><li>Introduction: Present the topic and what you’ll cover.</li><li>Body: Discuss each point with examples and evidence.</li><li>Conclusion: Summarize and reinforce your key message.</li></ul><p><em>Resource</em>: <a href="https://www.mindtools.com/pages/article/newCS_85.htm">MindTools</a> offers great tips on structuring your speech.</p><h4>4. Practice, Practice, Practice</h4><p><em>The Tip</em>: Rehearse your speech multiple times to gain confidence and fluency.</p><p><em>Example</em>: Record yourself speaking and critique your performance.</p><p><em>Resource</em>: Use <a href="https://www.toastmasters.org/">Toastmasters International</a> to find practice opportunities and receive constructive feedback.</p><h4>5. Engage with Your Audience</h4><p><em>The Method</em>: Ask questions, encourage participation, and make eye contact.</p><p><em>Example</em>: “By show of hands, how many of you have experienced fear during public speaking?”</p><p><em>Resource</em>: Dale Carnegie’s book, <a href="https://www.dalecarnegie.com/en/topics/public-speaking">The Art of Public Speaking</a>, offers timeless advice on audience engagement.</p><h4>6. Use Visual Aids Wisely</h4><p><em>The Advice</em>: Use slides and other visual aids to complement, not dominate, your speech.</p><p><em>Example</em>: Use a PowerPoint presentation with key bullet points and relevant images, avoiding text-heavy slides.</p><p><em>Resource</em>: Garr Reynolds’ <a href="http://www.presentationzen.com/">Presentation Zen</a> is a fantastic resource for creating impactful visual aids.</p><h4>7. Control Your Body Language</h4><p><em>The Tip</em>: Use positive body language to convey confidence and engage your audience.</p><p><em>Example</em>: Stand tall, make eye contact, and use hand gestures for emphasis.</p><p><em>Resource</em>: Amy Cuddy’s <a href="https://www.ted.com/talks/amy_cuddy_your_body_language_shapes_who_you_are">TED Talk on body language</a> is a must-watch for understanding the impact of non-verbal communication.</p><h4>8. Manage Public Speaking Anxiety</h4><p><em>The Strategy</em>: Use deep breathing techniques and positive visualization to calm nerves.</p><p><em>Example</em>: Practice mindfulness and deep breathing before stepping onto the stage.</p><p><em>Resource</em>: <a href="https://www.verywellmind.com/public-speaking-anxiety-tips-3024712">Verywell Mind</a> provides practical tips to overcome public speaking anxiety.</p><h4>Conclusion</h4><p>Becoming a proficient public speaker is a journey that involves continuous learning and practice. By understanding your audience, structuring your content, engaging with listeners, and managing your anxiety, you can deliver speeches that are not only informative but also inspiring and memorable.</p><blockquote>In addition, check here Advanced English Lesson:</blockquote><p><a href="https://kyiv-tech-kat.medium.com/english-advanced-vocabulary-skilled-communication-public-speaking-d57746f26bfb">English Advanced Vocabulary: Skilled Communication &amp; Public Speaking</a></p><p>Thank You for Reading! 🙏</p><p>Ready to take your public speaking skills to the next level? Share your experiences and tips in the comments. If you enjoyed this article, consider showing your support at</p><p>Feeling the article vibe? 🎉 Want to contribute your support or share a coffee with the author? ☕ Head over to <a href="https://www.buymeacoffee.com/kyivtechkat"><strong><em>Buy Me a Coffee</em></strong></a><strong> </strong>to fuel both charity causes and the dream of ethical tech! 🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab0e747723f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Elevating TypeScript Development: YAGNI, KISS, and Boy Scout Rule]]></title>
            <link>https://are-these-notes-good.medium.com/elevating-typescript-development-yagni-kiss-and-boy-scout-rule-0e2f73ce2b23?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e2f73ce2b23</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 17:17:31 GMT</pubDate>
            <atom:updated>2023-11-25T17:17:31.069Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zqVigUz-qkt8vNmvcHNJiw.png" /><figcaption>Designed with Canva and Unsplash</figcaption></figure><p>TypeScript, with its strong typing and robust features, provides a great platform for efficient and readable code. However, the true potential of TypeScript is unleashed when coupled with fundamental development methodologies like YAGNI, KISS, and the Boy Scout Rule. Let’s explore these principles with a focus on practical TypeScript scenarios.</p><h3>YAGNI: Emphasizing Need-Based Development 🎯</h3><p>YAGNI, short for “You Aren’t Gonna Need It,” is a principle that encourages developers to focus only on current requirements, rather than on speculative future needs.</p><h4>YAGNI in TypeScript: Practical Scenario</h4><blockquote><strong>Context</strong>: While developing a user management system in TypeScript, you might consider adding advanced features like multi-factor authentication or social media integration right from the start.</blockquote><p><strong>YAGNI</strong> Approach:</p><pre>class SimpleAuth {<br>     loginUser(username: string, password: string) {<br>         // Basic authentication logic<br>     }<br> }</pre><p><strong>YAGNI</strong> advises starting with just a basic login system and expanding features as they become genuinely necessary. This prevents over-engineering and keeps the focus on immediate requirements.</p><h3>KISS: Keeping TypeScript Simple and Straightforward 🌟</h3><p>KISS, standing for “Keep It Simple, Stupid,” advocates for simplicity in code, advising developers to avoid unnecessary complexity.</p><h4>Applying KISS in TypeScript: Example</h4><blockquote><strong>Scenario</strong>: When creating a function to fetch and process data, it can be tempting to add various layers of abstraction and complexity.</blockquote><p>KISS Solution:</p><pre>async function fetchData(url: string): Promise&lt;Data&gt; {<br>     const response = await fetch(url);<br>     return response.json();<br> }</pre><p>KISS recommends keeping the function focused and straightforward, avoiding the intertwining of different responsibilities or overly complex abstractions.</p><h3>Boy Scout Rule: Continuous Improvement 🌱</h3><p>The Boy Scout Rule is about consistently leaving the codebase in a better state than you found it, advocating for regular, incremental improvements.</p><h4>TypeScript Example: Refactoring</h4><blockquote><strong>Before Refactoring</strong>: You encounter a method that’s excessively long or complex.</blockquote><pre>function processUserData(data) {<br>     // Complex logic combining validation, transformation, and storage<br> }</pre><blockquote><strong>After Refactoring</strong>: Break down the method into smaller, more manageable functions.</blockquote><pre>function validateUserData(data) {<br>     // Validation logic <br>}<br><br>function transformUserData(data) {<br>     // Transformation logic <br>}<br><br>function storeUserData(data) {<br>     // Storage logic<br>}</pre><p>This approach promotes readability, maintainability, and makes it easier to test individual parts of the code.</p><h3>Conclusion: Integrating Principles for Robust TypeScript Code 🛠️</h3><p>Incorporating principles like YAGNI, KISS, and the Boy Scout Rule into your TypeScript development workflow fosters an environment of clean, maintainable, and effective coding. These methodologies are more than just guidelines; they are essential tools that can significantly elevate the quality of your projects and enhance your skills as a TypeScript developer. Remember, the key to successful programming lies in balancing the need for simplicity, focus, and continuous improvement.</p><blockquote>Read more about Code Principals here:</blockquote><ul><li><a href="https://kyiv-tech-kat.medium.com/perfect-balance-clean-code-principles-vs-practical-development-in-typescript-46c0afbb57ec">Perfect Balance: Clean Code Principles vs. Practical Development in TypeScript</a></li><li><a href="https://kyiv-tech-kat.medium.com/advanced-guide-on-dry-and-wet-principles-in-typescript-a9cc82eb3d64">Advanced Guide on DRY and WET Principles in TypeScript</a></li></ul><p>Thank you for reading! 🙏 Your feedback is invaluable. Share your thoughts, questions, or experiences in the comments. Clap 👏 if you found this helpful, and don’t forget to share with your fellow developers!</p><p>Interested in supporting our mission? ☕ Visit <a href="https://www.buymeacoffee.com/kyivtechkat"><strong><em>Buy Me a Coffee</em></strong></a><strong> </strong>and contribute to our journey of delivering quality tech education and supporting charity causes. Every bit helps! 🌟🌱</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e2f73ce2b23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advanced Guide on DRY and WET Principles in TypeScript]]></title>
            <link>https://are-these-notes-good.medium.com/advanced-guide-on-dry-and-wet-principles-in-typescript-a9cc82eb3d64?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9cc82eb3d64</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 16:22:24 GMT</pubDate>
            <atom:updated>2023-11-25T17:20:54.472Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Advanced Guide on DRY and WET Principles in TypeScript" src="https://cdn-images-1.medium.com/max/1024/1*YUiI0i460-7nZq1VDtS3BQ.png" /><figcaption>Designed with Canva and Unsplash</figcaption></figure><p>In the fast-paced realm of software development, embracing principles like <strong>DRY (Don’t Repeat Yourself)</strong> and <strong>WET (Write Everything Twice)</strong> is key to crafting efficient and maintainable code. TypeScript, with its robust type system, offers a unique platform to implement these principles effectively. This comprehensive guide delves into the nuances of <strong>DRY</strong> and <strong>WET</strong> in TypeScript, elucidating their impact with practical examples. Let’s embark on this journey to transform your TypeScript coding practices!</p><h3>Understanding DRY: The Cornerstone of Code Reusability</h3><p>At the heart of efficient coding lies the <strong>DRY</strong> principle, which advocates for minimizing code repetition. It encourages developers to centralize and reuse code logic, making a codebase more maintainable and less error-prone. This principle becomes even more potent in TypeScript due to its ability to enforce type safety and predictability across a project.</p><h4>Why Embrace DRY in TypeScript?</h4><blockquote><strong>Maintainability</strong>: Centralizing logic means changes need to be made in only one place, ensuring consistency across your codebase.</blockquote><blockquote><strong>Readability</strong>: A codebase with less repetition is inherently easier to read and understand, crucial for team collaboration.</blockquote><blockquote><strong>Efficiency</strong>: Embracing DRY can lead to fewer bugs and easier refactoring, saving valuable development time.</blockquote><h3>Exploring WET: When Redundancy is Not the Enemy</h3><p><strong>WET</strong>, standing for <strong>Write Everything Twice</strong>, challenges the notion that all code duplication is bad. This principle accepts that in some contexts, repetition can be beneficial for the clarity and simplicity of your code.</p><h4>The Justification for WET in TypeScript</h4><blockquote><strong>Simplicity</strong>: Direct and straightforward code, even if repetitive, can be more comprehensible, especially for new developers.</blockquote><blockquote><strong>Decoupling</strong>: Repetition can sometimes prevent complex dependencies, making parts of the codebase more independent and robust.</blockquote><h3>Avoiding Unnecessary Duplication in TypeScript</h3><p>In TypeScript, applying the <strong>DRY</strong> principle typically involves strategies like:</p><ol><li><strong>Creating Helper Functions</strong>: To avoid repeating similar checks or operations.<br><em>Example</em>: Refactoring direct user.isAdmin checks into a reusable isAdmin(user) function.</li><li><strong>Abstracting Constants</strong>: To prevent hardcoding repeated values.<br><em>Example</em>: Using const ENTITY_NAME = &quot;product&quot; instead of repeatedly hardcoding the string &quot;product&quot;.</li><li><strong>Implementing Inheritance and Generics</strong>: To reduce code duplication across entities with similar operations.<br><em>Example</em>: Creating a generic CRUDService&lt;T&gt; class for shared CRUD operations across different services.</li></ol><p>Conversely, the <strong>WET</strong> principle may be applied in scenarios like:</p><ol><li><strong>Maintaining Code Clarity</strong>: Sometimes, repetition can enhance readability and maintain the self-contained nature of code blocks.<br><em>Example</em>: In cases where abstracting logic into a separate function or file would obscure the understanding of the code, it’s better to keep the repetition. This is particularly true for code that is simple and unlikely to change.</li><li><strong>Facilitating Independent Evolution</strong>: When different parts of the code are likely to evolve separately, keeping them independent, even at the cost of some repetition, can be beneficial.<br><em>Example</em>: If two functions start out similarly but are expected to diverge in their logic or requirements over time, it’s wise to keep them separate to accommodate future changes more easily.</li></ol><h3>Consider Mentioned Scenarios</h3><h4>1. Using Helper Functions</h4><blockquote><strong>Problem</strong>: Repeating similar checks or operations across multiple parts of your code.</blockquote><blockquote><strong>Solution</strong>: Create reusable functions.</blockquote><p><em>Example</em>:</p><blockquote><strong>Before</strong>: Directly checking if (user.isAdmin) in multiple functions.</blockquote><p>Initially, the check if (user.isAdmin) is used directly in multiple functions, leading to repetitive code that can be difficult to manage and update.</p><p><strong>Code with Direct Validations</strong></p><pre>interface User {<br>    id: number;<br>    username: string;<br>    isAdmin: boolean;<br>}<br><br>class UserService {<br>    deleteUser(user: User): void {<br>        if (user.isAdmin) {<br>            // Logic to prevent deletion<br>            console.log(&#39;Admin user cannot be deleted&#39;);<br>        } else {<br>            // Delete user logic<br>            console.log(&#39;User deleted&#39;);<br>        }<br>    }<br>    updateUser(user: User): void {<br>        if (user.isAdmin) {<br>            // Special logic for admin<br>            console.log(&#39;Updating admin user&#39;);<br>        } else {<br>            // General update logic<br>            console.log(&#39;Updating regular user&#39;);<br>        }<br>    }<br>    // Other methods that use if (user.isAdmin) check<br>}</pre><p>In this code, the if (user.isAdmin) check is duplicated in deleteUser and updateUser methods, along with potentially other places in the UserService class.</p><blockquote><strong>After</strong>: Create a function isAdmin(user) and use it wherever the check is needed.</blockquote><p>To improve maintainability and reduce duplication, we can create a helper function isAdmin and use it wherever the check is needed.</p><p><strong>Refactoring with a Helper Function</strong></p><pre>function isAdmin(user: User): boolean {<br>    return user.isAdmin;<br>}<br><br>class UserService {<br>    deleteUser(user: User): void {<br>        if (isAdmin(user)) {<br>            // Logic to prevent deletion<br>            console.log(&#39;Admin user cannot be deleted&#39;);<br>        } else {<br>            // Delete user logic<br>            console.log(&#39;User deleted&#39;);<br>        }<br>    }<br>    updateUser(user: User): void {<br>        if (isAdmin(user)) {<br>            // Special logic for admin<br>            console.log(&#39;Updating admin user&#39;);<br>        } else {<br>            // General update logic<br>            console.log(&#39;Updating regular user&#39;);<br>        }<br>    }<br>    // Other methods now use isAdmin(user) check<br>}</pre><p>In the refactored code, the check is abstracted into the isAdmin function. This makes the code cleaner and easier to manage. If the logic for determining whether a user is an admin changes in the future, we only need to update the isAdmin function, rather than searching for and updating every instance of the check throughout the codebase. This is a clear example of how helper functions can simplify code maintenance and enhance readability.</p><h4>2. Declaring Variables for Repeated Values</h4><blockquote><strong>Problem</strong>: Repeating strings or values multiple times in your code, like hardcoding “product” in several places.</blockquote><blockquote><strong>Solution</strong>: Abstract these repeated strings or values into constants.</blockquote><p><em>Example</em>:</p><blockquote><strong>Before</strong>: Using &quot;product&quot; string directly in multiple functions.</blockquote><p>In this scenario, the string “product” is used directly in multiple functions, leading to potential issues with maintainability and consistency.</p><p><strong>ProductService with Hardcoded String</strong></p><pre>class ProductService {<br>    getProductDescription(id: number): string {<br>        return `Product ID: ${id}, Description of product`;<br>    }<br>    getProductCategory(id: number): string {<br>        return `Product ID: ${id}, Category of product`;<br>    }<br>    // Other methods that use the string &quot;product&quot;<br>}</pre><p>In this code, the string &quot;product&quot; is hardcoded in multiple methods. If the entity name needs to be changed, it requires updates in multiple places, increasing the chance of errors and making maintenance more challenging.</p><blockquote><strong>After</strong>: Declare const ENTITY_NAME = &quot;product&quot; and use ENTITY_NAME across your code.</blockquote><p>To improve maintainability, we can abstract the repeated string “product” into a constant and use this constant across the codebase.</p><p><strong>Refactoring with a Constant</strong></p><pre>const ENTITY_NAME = &quot;product&quot;;<br><br>class ProductService {<br>    getProductDescription(id: number): string {<br>        return `Product ID: ${id}, Description of ${ENTITY_NAME}`;<br>    }<br>    getProductCategory(id: number): string {<br>        return `Product ID: ${id}, Category of ${ENTITY_NAME}`;<br>    }<br>    // Other methods using ENTITY_NAME<br>}</pre><p>In the refactored code, the string &quot;product&quot; is replaced by the constant ENTITY_NAME. This makes the code more maintainable because if the entity name changes in the future, it only needs to be updated in one place, reducing the risk of errors and inconsistencies. This approach also enhances readability, as it becomes clear that ENTITY_NAME is a significant and consistent value used throughout the ProductService class.</p><h4>3. Using Options Objects Instead of Many Function Arguments</h4><blockquote><strong>Problem</strong>: Functions with a long list of parameters can be confusing and error-prone.</blockquote><blockquote><strong>Solution</strong>: Use an options object to make function calls more readable and manageable.</blockquote><p><strong><em>Example</em></strong>:</p><blockquote><strong><em>Before</em></strong>: createVehicle(&#39;car&#39;, &#39;blue&#39;, 4, &#39;gas&#39;, 100)</blockquote><p>In this scenario, the function createVehicle is designed with multiple parameters, which can make the code difficult to read and maintain.</p><p><strong>Function Definition with Multiple Parameters</strong></p><pre>function createVehicle(type: string, color: string, wheels: number, fuel: string, power: number): string {<br>    return `Created a ${type}, color: ${color}, with ${wheels} wheels, fuel type: ${fuel}, power: ${power}hp.`;<br>}<br><br>// Usage<br>const vehicle1 = createVehicle(&#39;car&#39;, &#39;blue&#39;, 4, &#39;gas&#39;, 100);<br>console.log(vehicle1);</pre><p>In this function, each attribute of a vehicle is a separate parameter. This approach can become problematic, especially when dealing with functions that have a large number of parameters, as it’s easy to mix up the order or forget the purpose of each parameter.</p><blockquote><strong><em>After</em></strong>: createVehicle({ type: &#39;car&#39;, color: &#39;blue&#39;, wheels: 4, fuel: &#39;gas&#39;, power: 100 })</blockquote><p>To improve readability and reduce the potential for errors, we can refactor the function to accept an options object.</p><p><strong>Function Definition with an Options Object</strong></p><pre>interface VehicleOptions {<br>    type: string;<br>    color: string;<br>    wheels: number;<br>    fuel: string;<br>    power: number;<br>}<br><br>function createVehicle(options: VehicleOptions): string {<br>    return `Created a ${options.type}, color: ${options.color}, with ${options.wheels} wheels, fuel type: ${options.fuel}, power: ${options.power}hp.`;<br>}<br><br>// Usage<br>const vehicle2 = createVehicle({ type: &#39;car&#39;, color: &#39;blue&#39;, wheels: 4, fuel: &#39;gas&#39;, power: 100 });<br>console.log(vehicle2);</pre><p>With this refactoring, the function now takes a single options object that encapsulates all the vehicle attributes. This makes the function call much more readable and manageable. It&#39;s clearer what each value represents, and there&#39;s less risk of mixing up the order of the parameters. This approach is particularly beneficial for functions with a large number of parameters or when the parameters are optional.</p><h4>4. Utilizing Inheritance and Generics</h4><blockquote><strong>Problem</strong>: Similar operations across different entities leading to code duplication.</blockquote><blockquote><strong>Solution</strong>: Use inheritance and generics to create a common base that can be extended as needed.</blockquote><p><em>Example</em>:</p><blockquote><strong>Before</strong>: ProductService and FeedbackService with similar CRUD operations.</blockquote><p><strong>Separate Services with Similar CRUD Operations</strong></p><p>Initially, ProductService and FeedbackService are implemented separately, but they perform similar CRUD (Create, Read, Update, Delete) operations, leading to duplicated code.</p><p><strong>ProductService with CRUD Operations</strong></p><pre>interface Product {<br>    id: number;<br>    name: string;<br>    // Other product properties<br>}<br><br>class ProductService {<br>    createProduct(product: Product): void {<br>        // Implementation for creating a product<br>    }<br>    readProduct(id: number): Product {<br>        // Implementation for reading a product<br>        return { id, name: &quot;Sample Product&quot; };<br>    }<br>    // Similar implementations for updateProduct and deleteProduct<br>}</pre><p><strong>FeedbackService with CRUD Operations</strong></p><pre>interface Feedback {<br>    id: number;<br>    content: string;<br>    // Other feedback properties<br>}<br><br>class FeedbackService {<br>    createFeedback(feedback: Feedback): void {<br>        // Implementation for creating feedback<br>    }<br>    readFeedback(id: number): Feedback {<br>        // Implementation for reading feedback<br>        return { id, content: &quot;Sample Feedback&quot; };<br>    }<br>    // Similar implementations for updateFeedback and deleteFeedback<br>}</pre><p>In the above code, both ProductService and FeedbackService have their own implementations of CRUD operations, which leads to code duplication.</p><blockquote><strong>After</strong>: Create a generic CRUDService&lt;T&gt; and extend it to create specific services like ProductService extends CRUDService&lt;Product&gt;.</blockquote><p><strong>Using Inheritance and Generics</strong></p><p>We can refactor the services to use a generic CRUDService&lt;T&gt; class. This base class implements the CRUD operations once, and then specific services like ProductService and FeedbackService can extend it, specifying the type they work with.</p><p><strong>Generic CRUDService&lt;T&gt;</strong></p><pre>interface Identifiable {<br>    id: number;<br>}<br><br>class CRUDService&lt;T extends Identifiable&gt; {<br>    create(entity: T): void {<br>        // Generic implementation for creating an entity<br>    }<br>    read(id: number): T {<br>        // Generic implementation for reading an entity<br>        return { id } as T;<br>    }<br>    // Generic implementations for update and delete<br>}</pre><p><strong>Extending CRUDService for Specific Entities</strong></p><pre>class ProductService extends CRUDService&lt;Product&gt; {<br>    // Specific logic for ProductService can go here<br>}<br><br>class FeedbackService extends CRUDService&lt;Feedback&gt; {<br>    // Specific logic for FeedbackService can go here<br>}</pre><p>In the refactored code, the CRUDService&lt;T&gt; class provides a generic implementation of CRUD operations, applicable to any entity type T that extends the Identifiable interface. ProductService and FeedbackService then extend CRUDService, specifying Product and Feedback as their respective types. This approach eliminates code duplication by centralizing the CRUD logic in one place, while still allowing for entity-specific logic in the extending classes.</p><h4>5. Using Shared Modules</h4><blockquote><strong><em>Problem</em></strong>: Duplicating logic (like validation functions) in client and server sides.</blockquote><blockquote><strong><em>Solution</em></strong>: Use shared libraries or modules in both client and server applications.</blockquote><p><em>Example</em>:</p><blockquote><strong><em>Before</em></strong>: Implementing passwordIsValid() function separately in both client and server codebases.</blockquote><p><strong>Client-Side (TypeScript in a Web Application)</strong></p><pre>// Client-side code in a web application<br><br>function passwordIsValid(password: string): boolean {<br>    return password.length &gt;= 6;<br>}<br><br>// Usage in the client<br>const clientPassword = &quot;clientExample&quot;;<br>console.log(&quot;Is client password valid?&quot;, passwordIsValid(clientPassword));</pre><p><strong>Server-Side (TypeScript in a Node.js Server)</strong></p><pre>// Server-side code in a Node.js application<br><br>function passwordIsValid(password: string): boolean {<br>    return password.length &gt;= 6;<br>}<br><br>// Usage in the server<br>const serverPassword = &quot;serverExample&quot;;<br>console.log(&quot;Is server password valid?&quot;, passwordIsValid(serverPassword));</pre><p>In the above example, the passwordIsValid function is duplicated in both the client-side and server-side codebases. This leads to potential issues with maintainability and consistency.</p><blockquote><strong><em>After</em></strong>: Create a shared module with passwordIsValid() and import it in both client and server.</blockquote><p><strong>Shared Module (TypeScript)</strong></p><pre>// Shared module: validation.ts<br>export function passwordIsValid(password: string): boolean {<br>    return password.length &gt;= 6;<br>}</pre><p><strong>Client-Side Using Shared Module</strong></p><pre>// Client-side code using the shared module<br>import { passwordIsValid } from &#39;./validation&#39;;<br><br>const clientPassword = &quot;clientExample&quot;;<br>console.log(&quot;Is client password valid?&quot;, passwordIsValid(clientPassword));</pre><p><strong>Server-Side Using Shared Module</strong></p><pre>// Server-side code using the shared module<br>import { passwordIsValid } from &#39;./validation&#39;;<br>const serverPassword = &quot;serverExample&quot;;<br>console.log(&quot;Is server password valid?&quot;, passwordIsValid(serverPassword));</pre><p>In the refactored example, the passwordIsValid function is defined once in a shared module (validation.ts) and then imported and used both in the client-side and server-side applications. This approach ensures that the validation logic is consistent across both platforms and adheres to the DRY principle. Additionally, it simplifies maintenance, as any changes to the validation logic only need to be made in one place.</p><h4>Incidental Duplication</h4><blockquote><strong>Insight</strong>: Distinguishes between syntax duplication (mere repetition of code) and knowledge duplication (repetition of business logic or domain knowledge).</blockquote><blockquote><strong>Key Point</strong>: Not all code duplication violates the DRY principle. It’s essential to evaluate whether the duplication is about syntactical convenience or an actual repetition of knowledge.</blockquote><p><em>Examples:</em></p><blockquote><strong><em>Syntax Duplication:</em></strong> Using a for loop in multiple functions isn&#39;t necessarily a DRY violation.</blockquote><p>In this example, using a for loop in multiple functions is not a violation of the DRY principle. This is because the for loop is a common syntax used for iteration and does not represent a specific business logic.</p><pre>// Function to calculate the sum of an array<br>function calculateSum(numbers: number[]): number {<br>    let sum = 0;<br>    for (let i = 0; i &lt; numbers.length; i++) {<br>        sum += numbers[i];<br>    }<br>    return sum;<br>}<br><br>// Function to find the maximum number in an array<br>function findMax(numbers: number[]): number {<br>    let max = numbers[0];<br>    for (let i = 0; i &lt; numbers.length; i++) {<br>        if (numbers[i] &gt; max) {<br>            max = numbers[i];<br>        }<br>    }<br>    return max;<br>}</pre><p>In both calculateSum and findMax, the for loop is used for iterating over an array, but they serve different purposes (summing up numbers vs. finding the maximum number). This is a case of syntax duplication, which is acceptable.</p><blockquote><strong><em>Knowledge Duplication:</em></strong> Replicating a complex business rule in several places is a violation of DRY.</blockquote><p>In this example, replicating a complex business rule, such as a specific validation logic, in several places is a violation of the DRY principle.</p><pre>// Initial code with knowledge duplication<br><br>// Function to validate a user for a special discount<br>function validateUserForDiscount(user: User): boolean {<br>    return user.age &gt; 18 &amp;&amp; user.hasLoyaltyCard &amp;&amp; user.purchaseHistory.length &gt; 5;<br>}<br><br>// Function to validate a user for a premium service<br>function validateUserForPremium(user: User): boolean {<br>    return user.age &gt; 18 &amp;&amp; user.hasLoyaltyCard &amp;&amp; user.purchaseHistory.length &gt; 5;<br>}</pre><p>Here, the same validation logic (checking age, loyalty card status, and purchase history) is duplicated in both validateUserForDiscount and validateUserForPremium. This is a clear case of knowledge duplication.</p><p><strong>Refactored Code to Avoid Knowledge Duplication</strong></p><pre>// Refactored code<br><br>// Centralized validation logic<br>function isEligibleForSpecialServices(user: User): boolean {<br>    return user.age &gt; 18 &amp;&amp; user.hasLoyaltyCard &amp;&amp; user.purchaseHistory.length &gt; 5;<br>}<br><br>// Function to validate a user for a special discount<br>function validateUserForDiscount(user: User): boolean {<br>    return isEligibleForSpecialServices(user);<br>}<br><br>// Function to validate a user for a premium service<br>function validateUserForPremium(user: User): boolean {<br>    return isEligibleForSpecialServices(user);<br>}</pre><p>In the refactored code, the validation logic is centralized in a single function isEligibleForSpecialServices, which is then used in both validateUserForDiscount and validateUserForPremium. This approach adheres to the DRY principle by eliminating the duplication of business logic.</p><h3>Conclusion: Harmonizing Principles for Optimal Coding 🌟</h3><p>Mastering TypeScript involves not just understanding its syntax and features but also knowing how to apply design principles effectively. By judiciously applying DRY and WET principles, developers can create TypeScript code that is not only efficient and maintainable but also clear and adaptable. The key is to balance the need for abstraction and reusability with the need for simplicity and clarity, thereby building a robust and scalable codebase.</p><blockquote>Read more about Code Principles here:</blockquote><ul><li><a href="https://kyiv-tech-kat.medium.com/elevating-typescript-development-yagni-kiss-and-boy-scout-rule-0e2f73ce2b23">Elevating TypeScript Development: YAGNI, KISS, and Boy Scout Rule</a></li><li><a href="https://kyiv-tech-kat.medium.com/perfect-balance-clean-code-principles-vs-practical-development-in-typescript-46c0afbb57ec">Perfect Balance: Clean Code Principles vs. Practical Development in TypeScript</a></li></ul><p>Thank you for reading! 🙏 Do follow, clap 👏, and write comments with feedback, questions, and suggestions.</p><p>Feeling the article vibe? 🎉 Want to throw in your two cents or a coffee for the writer? ☕ Check out <a href="https://www.buymeacoffee.com/kyivtechkat"><strong><em>Buy Me a Coffee</em></strong></a><strong> </strong>— where your support fuels both charity causes and tech dreams! 🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9cc82eb3d64" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Perfect Balance: Clean Code Principles vs. Practical Development in TypeScript]]></title>
            <link>https://are-these-notes-good.medium.com/perfect-balance-clean-code-principles-vs-practical-development-in-typescript-46c0afbb57ec?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/46c0afbb57ec</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[principles]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[best-practices]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 14:41:15 GMT</pubDate>
            <atom:updated>2023-11-25T17:21:21.226Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_3CXtlphTxraslHuIB04Zg.png" /></figure><p>In the world of software development, the quest for clean, efficient code often treads a fine line between theoretical ideals and practical necessities. This is particularly true in TypeScript, a superset of JavaScript that brings additional rigor and structure to the table. For the seasoned developer, balancing clean code principles with pragmatic development practices is an art form. Let’s dive into how you can master this balance, using TypeScript as our canvas.</p><h4>1. Embracing the Single Responsibility Principle (SRP) Wisely</h4><p><em>The Theory</em>: SRP posits that each class or method should have one, and only one, reason to change.</p><p><em>The TypeScript Twist</em>:</p><pre>class Product {<br>    constructor(<br>      public title: string,<br>      public price: number,<br>      public taxRate: number<br>    ) {}<br>    calculateTax(): number {<br>        return this.price * this.taxRate;<br>    }<br>}</pre><p>Here, Product class handles both product representation and tax calculation. In a strict SRP sense, calculateTax should be in a different class. However, in practical TypeScript development, such a minor responsibility doesn&#39;t warrant a separate class. It&#39;s about finding the sweet spot.</p><h4>2. Naming Methods: Clarity Over Creativity</h4><p><em>The Theory</em>: Method names should be verbs and self-explanatory.</p><p><em>The TypeScript Application</em>:</p><pre>class User {<br>    getUsers() {}<br>    setUser(user: User) {}<br>    deleteUser(userId: string) {}<br>}</pre><p>In TypeScript, opt for clear and descriptive names. getUsers, setUser, and deleteUser are straightforward, making the code more readable and maintainable.</p><h4>3. The DRY Principle: A Double-Edged Sword</h4><p><em>The Theory</em>: Don’t Repeat Yourself (DRY) is about reducing the repetition of software patterns.</p><p><em>The TypeScript Balance</em>:</p><pre>function createInputField(fieldType: string, placeholder: string): HTMLInputElement {<br>    let inputField = document.createElement(&quot;input&quot;);<br>    inputField.type = fieldType;<br>    inputField.placeholder = placeholder;<br>    return inputField;<br>}</pre><p>In TypeScript, DRY is vital but avoid over-abstracting. The function createInputField is a practical implementation, useful for repeated form field creation without unnecessary complexity.</p><p>4. Comments and Documentation: The Unspoken Heroes</p><p><em>The Theory</em>: Code should be self-explanatory and not rely on comments.</p><p><em>The TypeScript Reality</em>:</p><pre>/**<br> * Calculates the monthly payment for a loan.<br> * @param principal - The total amount of the loan.<br> * @param rate - The annual interest rate (decimal).<br> * @param years - The total number of years for the loan.<br> * @returns The monthly payment amount.<br> */<br>function calculateLoanPayment(principal: number, rate: number, years: number): number {<br>    // ...<br>}</pre><p>In TypeScript, comments, especially <a href="https://jsdoc.app/">JSDoc</a>, can be invaluable for complex functions, providing clarity and context that the code alone may not convey.</p><h4>5. Clean Code vs. Real-World Scenarios</h4><p><em>The Reality Check</em>: Every TypeScript project is different. Sometimes, clean code principles align perfectly with practical development. Other times, they clash. The key is to adapt, using principles as guidelines, not hard rules.</p><p>Balancing clean code principles with practical software development in TypeScript is not just about following rules; it’s about understanding them and knowing when to bend them. It’s about making choices that enhance readability, maintainability, and efficiency, tailored to each project’s unique needs.</p><p>Thank You for Reading! 🙏</p><blockquote>Read more about Code Principles here:</blockquote><ul><li><a href="https://kyiv-tech-kat.medium.com/elevating-typescript-development-yagni-kiss-and-boy-scout-rule-0e2f73ce2b23">Elevating TypeScript Development: YAGNI, KISS, and Boy Scout Rule</a></li><li><a href="https://kyiv-tech-kat.medium.com/advanced-guide-on-dry-and-wet-principles-in-typescript-a9cc82eb3d64">Advanced Guide on DRY and WET Principles in TypeScript</a></li></ul><p>Did you find this balance between theory and practice enlightening? 👏 Share your thoughts and experiences in the comments.</p><p>And if you feel inspired, consider supporting via <a href="https://www.buymeacoffee.com/kyivtechkat"><strong>Buy Me a Coffee</strong></a>, where your contributions fuel both tech passion and charitable causes! 🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46c0afbb57ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[English Advanced Vocabulary: Skilled Communication & Public Speaking]]></title>
            <link>https://are-these-notes-good.medium.com/english-advanced-vocabulary-skilled-communication-public-speaking-d57746f26bfb?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d57746f26bfb</guid>
            <category><![CDATA[english-language]]></category>
            <category><![CDATA[vocabulary]]></category>
            <category><![CDATA[english-learning]]></category>
            <category><![CDATA[martin-luther-king]]></category>
            <category><![CDATA[english]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Tue, 14 Nov 2023 16:36:48 GMT</pubDate>
            <atom:updated>2023-11-14T16:36:48.837Z</atom:updated>
            <content:encoded><![CDATA[<h4>Vocabulary + Oratory Excellence: The Resounding Power of Martin Luther King Jr.’s “I Have a Dream”</h4><figure><img alt="English Advanced Vocabulary: Skilled Communication &amp; Public Speaking Vocabulary + Oratory Excellence: The Resounding Power of Martin Luther King Jr.’s “I Have a Dream”" src="https://cdn-images-1.medium.com/max/1024/1*rdSmBruR6ClVP2P4ti3VPQ.png" /><figcaption>Designed with Canva</figcaption></figure><ol><li><strong>Sound bites </strong>— Concise and catchy statements designed to capture attention.<br><em>“The politician’s speech was full of memorable sound bites that resonated with the audience.”</em></li><li><strong>The gift of the gab</strong> — The ability to speak fluently and persuasively.<br><em>“Her success in sales comes from having the gift of the gab; she can talk anyone into anything.”</em></li><li><strong>Orator</strong> — A person who delivers speeches and is skilled at public speaking.<br><em>“The conference was brought to life by an inspiring orator who captivated everyone with his eloquence.”</em></li><li><strong>Wit</strong> — The ability to deliver humorous and intelligent comments quickly.<br><em>“His wit made him the star of the dinner party, entertaining guests with his quick and clever remarks.”</em></li></ol><p>These terms are often associated with skilled communication, particularly in public speaking and interpersonal interactions within a professional context. They emphasize the importance of being concise, engaging, and articulate to effectively convey messages and persuade others.</p><h3>Oratory Excellence: The Resounding Power of Martin Luther King Jr.’s “I Have a Dream”</h3><ol><li><strong>Proclamation</strong> — A public or official announcement of great importance.<br><em>“The mayor’s proclamation of a city-wide curfew was broadcast across all media outlets.”</em></li><li><strong>Edict</strong> — An official order issued by a person in authority.<br><em>“The king’s edict was proclaimed throughout the land, mandating all subjects to attend the coronation.”</em></li><li><strong>Pronouncement</strong> — A formal or authoritative announcement or declaration.<br><em>“The committee’s pronouncement on the matter set a new precedent in the industry.”</em></li><li><strong>Manifesto</strong> — A public declaration of policy and aims, especially one issued before an election by a political party or candidate.<br><em>“The party leader unveiled their manifesto, outlining the vision for the nation’s progress over the next decade.”</em></li></ol><p>In the panorama of political oratory, few speeches have galvanized the soul of a nation and transcended time like Martin Luther King Jr.’s “I Have a Dream.” More than a mere speech, it was a declaration of hope, a rallying cry for equality, and an encapsulation of the civil rights movement’s core values.</p><h4>Sound Bite: “I have a dream.”</h4><p><strong>WHY IT IS SO POWERFUL? “I have a dream” </strong>isn’t just a phrase; it’s a beacon of possibility that marked a pivotal moment in American history. Each word resonates with the aspirations of millions, expressing a deep-seated yearning for an America where “children will not be judged by the color of their skin but by the content of their character.”</p><p>The phrase’s potency lies in its aspirational simplicity and the profound emotional response it elicits. It transcends mere political dialogue to touch the very essence of human dignity and justice. King’s vision extended beyond the tangible injustices of his time, offering a dream that continues to inspire generations globally.</p><p>King’s usage of this phrase during his speech at the Lincoln Memorial in 1963 allowed him to connect with his audience on a profound level, igniting a sense of shared humanity and purpose. It wasn’t merely about the civil rights for African Americans; it was a universal call to action for freedom and equality. This sound bite helped to unite a fragmented society and spur a movement that would alter the course of history.</p><p><strong>THE IMPACT </strong>of <strong>“I Have a Dream” </strong>reverberates far beyond the steps of the Lincoln Memorial. It has become embedded in the lexicon of freedom fighters worldwide. The phrase has been echoed in literature, speeches, and music, becoming synonymous with the fight against oppression.</p><p>In a world still wrestling with inequality and injustice, King’s dream remains a galvanizing force, reminding us of the progress made and the journey ahead. It stands as a testament to the enduring power of hope and the relentless pursuit of an ideal — the idealism that is the bedrock of meaningful change.</p><p>Martin Luther King Jr.’s oratory skill shows us that words have the power to heal divisions, inspire action, and change the world. His dream remains alive in every effort towards equality, every stand against injustice, and every heart that yearns for a world where freedom rings from every corner.</p><h4>Improve your English with the next article:</h4><ul><li><a href="https://kyiv-tech-kat.medium.com/english-advanced-vocabulary-workplace-productivity-work-culture-08676f5a3777">English Advanced Vocabulary: Workplace &amp; Productivity &amp; Work Culture</a></li><li><a href="https://kyiv-tech-kat.medium.com/mastering-quantifiers-in-english-a-guide-to-amplifying-your-language-precision-54bba83c180a">Mastering Quantifiers in English: A Guide to Amplifying Your Language Precision ✨</a></li></ul><p>Thank you for reading! 🙏 Do follow, clap 👏, and write comments with feedback, questions, and suggestions.</p><p>Feeling the article vibe? 🎉 Want to contribute your support or share a coffee with the author? ☕ Head over to <a href="https://www.buymeacoffee.com/kyivtechkat"><strong><em>Buy Me a Coffee</em></strong></a><strong> </strong>to fuel both charity causes and the dream of ethical tech! 🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d57746f26bfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Function Declaration vs Arrow Function]]></title>
            <link>https://are-these-notes-good.medium.com/function-declaration-vs-arrow-function-833d64deb5ea?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/833d64deb5ea</guid>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Tue, 14 Nov 2023 14:31:11 GMT</pubDate>
            <atom:updated>2023-11-14T14:32:17.823Z</atom:updated>
            <content:encoded><![CDATA[<h3>Function Declaration</h3><pre>function functionDeclaration(/* function params */) {<br>    // function body<br>}</pre><ul><li>This is a standard function declaration, also known as a function statement.</li><li>It defines a function with the specified parameters.</li><li>You can call this function by its name anywhere in your code, even before the function declaration, due to function hoisting in JavaScript.</li></ul><h3>Arrow Function:</h3><pre>const arrowFunction = (/* function params */) =&gt; {<br>    // function body<br>};</pre><ul><li>This is an arrow function, a shorter syntax for writing function expressions.</li><li>Arrow functions do not have their own this, arguments, super, or new.target. These are lexically bound, meaning they use this from the code that contains the arrow function.</li><li>Unlike function declarations, arrow functions are not hoisted, so they must be defined before they are used.</li></ul><p>Remember, in both cases, <strong><em>“function params”</em></strong> is where you would place the parameters (if any) for your function, and “<strong><em>function body”</em></strong> is where the code that defines what the function does is placed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=833d64deb5ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Google Ranking for Medium Stories: Member-Only vs Public ]]></title>
            <link>https://are-these-notes-good.medium.com/understanding-google-ranking-for-medium-stories-member-only-vs-public-4fbad388b3fc?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fbad388b3fc</guid>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[content]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[rankings]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Tue, 14 Nov 2023 10:08:16 GMT</pubDate>
            <atom:updated>2023-11-14T10:08:16.886Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Understanding Google Ranking for Medium Stories: Member-Only vs Public 🚀" src="https://cdn-images-1.medium.com/max/1024/1*HD0ZH3T385pPSHEepIWAFQ.png" /><figcaption>Designed with Canva</figcaption></figure><p>Medium has become a buzzing hub for writers and readers, offering a diverse array of content. A question that often pops up among content creators is: How does the membership status of an article — member-only or public — influence its visibility in Google searches?</p><h3>Medium’s Authority in Google’s Eyes 🌐</h3><p>Medium is a titan in the digital world, flaunting a <a href="https://ahrefs.com/blog/domain-rating/">high domain authority of 94</a>. This robust ranking makes it an ideal platform for your articles to gain traction on Google, regardless of their membership status.</p><h3>Quality Over Everything ✍️</h3><p>Remember, Google loves quality! The search engine’s algorithm prioritizes content quality, relevance, and backlinks over the membership status of the article. Check out Google’s <a href="https://support.google.com/webmasters/answer/35769?hl=en">Webmaster Guidelines</a> for more insights on what makes content stand out.</p><h3>SEO Optimization for Medium Articles 🔍</h3><p>To make your Medium articles more discoverable, focus on SEO optimization. Use <a href="https://ahrefs.com/keyword-generator">relevant keywords</a> and craft a compelling SEO description. This strategy is crucial, whether your articles are member-only or public. For more tips, visit <a href="https://moz.com/beginners-guide-to-seo">Moz’s Beginner’s Guide to SEO</a>.</p><h3>Publishing on Medium: A Strategic Move 📈</h3><p>Publishing on Medium is more than just sharing thoughts; it’s a strategic move. The platform is a beacon for quality content, which aligns perfectly with <a href="https://blog.hubspot.com/marketing/google-seo">Google’s SEO priorities</a>. By contributing here, you’re not just reaching a broad audience but also establishing your brand and thought leadership.</p><h3>Avoiding SEO Pitfalls ⚠️</h3><p>If you’re republishing content from your blog to Medium, beware of duplicate content issues. Use the <a href="https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls">rel=canonical tag</a> wisely to maintain your SEO integrity. This practice is crucial for your online content strategy.</p><blockquote><em>If you are a Medium Creator, check here your understanding of how Medium SEO works for your articles👇:</em></blockquote><ul><li><a href="https://kyiv-tech-kat.medium.com/understanding-mediums-seo-dynamics-49fb7fb27f72">🚀 Understanding Medium’s SEO Dynamics</a></li><li><a href="https://kyiv-tech-kat.medium.com/mastering-seo-how-to-check-your-medium-storys-google-rank-22413e318832">Mastering SEO: How to Check Your Medium Story’s Google Rank 🌟</a></li></ul><h3>In Conclusion</h3><p>The crux of the matter is that an article’s membership status on Medium plays a secondary role compared to the quality and SEO optimization of the content itself. Strive for creating informative, engaging, and well-optimized content to bolster your Google ranking.</p><p>Thank you for reading! 🙏 Do follow, clap 👏, and write comments with feedback, questions, and suggestions.</p><p>Feeling the article vibe? 🎉 Want to throw in your two cents or a coffee for the writer? ☕ Check out <a href="https://www.buymeacoffee.com/kyivtechkat"><strong>Buy Me a Coffee</strong></a><strong> </strong>— where your support fuels both charity causes and tech dreams! 🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fbad388b3fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering SEO: How to Check Your Medium Story’s Google Rank ]]></title>
            <link>https://are-these-notes-good.medium.com/mastering-seo-how-to-check-your-medium-storys-google-rank-22413e318832?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/22413e318832</guid>
            <category><![CDATA[content]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[seo-tips]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[medium]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Tue, 14 Nov 2023 09:35:00 GMT</pubDate>
            <atom:updated>2023-11-14T09:49:38.121Z</atom:updated>
            <content:encoded><![CDATA[<p>Navigating the SEO landscape can be challenging, especially for content creators on platforms like <a href="https://www.medium.com/">Medium</a>. If you’ve ever wondered how your Medium story is performing in terms of Google ranking and SEO, here’s a step-by-step guide.</p><figure><img alt="Mastering SEO: How to Check Your Medium Story’s Google Rank" src="https://cdn-images-1.medium.com/max/1024/1*Jl00zOmKZyewXWhEedGoXg.png" /><figcaption>Designed with Canva</figcaption></figure><h3>1. Direct Google Search 🔍</h3><p>Start by searching the title or unique phrases from your story on Google. This will give you a direct insight into where your story stands in the search results.</p><h3>2. Leverage SEO Tools 🛠️</h3><p>Tools like <a href="https://www.semrush.com/">SEMrush</a>, <a href="https://www.ahrefs.com/">Ahrefs</a>, or <a href="https://www.moz.com/">Moz</a> are invaluable for tracking the ranking and performance of your story. They provide detailed insights on keyword rankings and traffic.</p><h3>3. Utilize Google Analytics 📊</h3><p>Google Analytics can offer a comprehensive view of the traffic to your Medium story, including how users are finding it.</p><h3>4. Check Backlinks 🔗</h3><p>Backlinks are crucial for SEO. Use tools like <a href="https://www.ahrefs.com/">Ahrefs</a> or <a href="https://www.moz.com/">Moz</a> to assess the backlinks to your story.</p><h3>5. Monitor Social Engagement 💬</h3><p>The level of social media shares and engagement can indirectly influence SEO. Keep an eye on how your story is being received on social platforms.</p><h3>6. Google Search Console Insights 📈</h3><p>If accessible, Google Search Console provides detailed information about your story’s performance in Google Search.</p><blockquote>SEO is a continuous journey. Regular updates and relevance are key to maintaining and improving your story’s Google ranking.</blockquote><h4>Read more about Medium SEO here 👇</h4><p><a href="https://kyiv-tech-kat.medium.com/understanding-mediums-seo-dynamics-49fb7fb27f72">🚀 Understanding Medium’s SEO Dynamics</a></p><h4>Read more about Medium <strong>Highlights</strong> here 👇</h4><p><a href="https://kyiv-tech-kat.medium.com/power-of-medium-highlights-usage-insights-for-readers-and-writers-3cbf232c4c09">Power of Medium Highlights: Usage Insights for Readers and Writers</a></p><p>Thank you for reading! 🙏 Do follow, clap 👏, and write comments with feedback, questions, and suggestions.</p><p>Interested in more SEO insights? ☕ Consider supporting the author at <a href="https://www.buymeacoffee.com/kyivtechkat"><em>Buy Me a Coffee</em></a>, where your contribution aids charity and fuels tech discussions! 🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22413e318832" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Power of Medium Highlights: Usage Insights for Readers and Writers]]></title>
            <link>https://are-these-notes-good.medium.com/power-of-medium-highlights-usage-insights-for-readers-and-writers-3cbf232c4c09?source=rss-beffd22c181a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cbf232c4c09</guid>
            <category><![CDATA[content]]></category>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[highlights]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[Tech Hata]]></dc:creator>
            <pubDate>Sun, 12 Nov 2023 19:57:39 GMT</pubDate>
            <atom:updated>2023-11-14T09:49:29.431Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Medium tips &amp; hints. Power of Medium Highlights: Usage Insights for Readers and Writers" src="https://cdn-images-1.medium.com/max/1024/1*RzyJ1CcLa5PTidVh6n-hEQ.png" /><figcaption>Designed with Canva and Unsplash</figcaption></figure><p>Medium, a thriving hub for readers and writers alike, offers a unique feature that can significantly enhance your reading and writing experience: highlights. This simple yet powerful tool allows users to select and mark parts of the text in any article. Here, we delve into various use cases of Medium highlights, showcasing how they can be an asset for both avid readers and prolific writers.</p><p>This article is divided into two sections to cater specifically to the needs and advantages for each group.</p><h3>📘 For Readers: Enhancing Your Reading Experience</h3><h4>#1 Efficient Note-Taking</h4><p>Highlighting key points or striking quotes in articles serves as an efficient note-taking method. It’s particularly useful when you’re gathering information for research, as it helps you quickly identify the most pertinent information when revisiting the article.</p><h4>#2 Engaging with Content</h4><p>As a reader, using highlights to mark parts that resonate with you can be a form of engagement. It’s a way of silently communicating with the author about which parts of their work impacted you the most.</p><h4>#3 Enhancing Readability</h4><p>For longer articles, highlights can act as a navigational tool. By marking certain sections, you can create a personalized roadmap, making it easier to find and re-read specific parts of the content.</p><h4>#4 Curating a Personal Library</h4><p>Your collection of highlights can turn into a curated library of ideas and quotes. Over time, this collection becomes a valuable resource for inspiration, reference, or sharing with others.</p><h4>#5 Collaborative Learning</h4><p>In educational or group settings, sharing highlighted sections of an article can aid in collaborative learning or discussion. It’s a way to direct attention to specific points for group analysis or debate.</p><h4>#6 Social Sharing</h4><p>Medium allows you to share highlighted sections on social media. This feature can be used to spark discussions outside of Medium or to entice your social media followers to read the full article.</p><h4>#7 Mood Boards and Inspiration</h4><p>If you’re someone who seeks creative inspiration, using highlights to collect thought-provoking ideas, artistic expressions, or innovative concepts can help in building your own mood board of inspiration.</p><h4>#8 Enhancing Discussion and Commentary</h4><p>Refer to highlighted sections in comments for deeper, more focused conversations and meaningful engagement with content.</p><h4>#9 Personal Reflection and Growth</h4><p>Reflect on highlighted sections for personal growth. They can serve as reminders, lessons, or motivational quotes, contributing to your personal development journey.</p><h3>✍️ For Writers: Gaining Insights and Engagement</h3><blockquote>If you are a Medium Creator, check here your understanding of how Medium SEO works for your articles👇:</blockquote><ul><li><a href="https://kyiv-tech-kat.medium.com/understanding-mediums-seo-dynamics-49fb7fb27f72">🚀 Understanding Medium’s SEO Dynamics</a></li><li><a href="https://kyiv-tech-kat.medium.com/mastering-seo-how-to-check-your-medium-storys-google-rank-22413e318832">Mastering SEO: How to Check Your Medium Story’s Google Rank 🌟</a></li></ul><h4>Audience Feedback for Writers</h4><p>For writers, seeing which parts of their articles are frequently highlighted can provide insightful feedback. It helps in understanding what strikes a chord with the audience, guiding future writing endeavors.</p><h4>#1 Feedback for Writers</h4><p>Pay attention to frequently highlighted parts to gauge what resonates with your audience, guiding your future writing.</p><h4>#2 Inspiring Future Content</h4><p>Use patterns in what readers highlight to find inspiration for new topics or further exploration of popular ideas.</p><h4>#3 Enhancing Reader Engagement</h4><p>Encourage readers to highlight and share parts of your article, thereby increasing its visibility and engagement.</p><h4><strong>#4 Refining Writing Style</strong></h4><p>Utilize insights from reader highlights to refine your writing style, focusing on creating impactful and engaging content.</p><h4>#5 Building a Connection with Readers</h4><p>Recognize the sections that readers find most valuable and tailor your future articles to align with these interests.</p><h4>#6 Understanding Audience Preferences</h4><p>Use highlights as a tool to understand the preferences and interests of your audience, tailoring your content accordingly.</p><h4>#7 Promoting Content through Highlights</h4><p>Motivate readers to highlight and share your content on social platforms, expanding your reach and engagement.</p><h4>#8 Gauging Content Impact</h4><p>Assess the impact of your writing by analyzing which sections are highlighted the most, offering insights into reader engagement.</p><h4>#9 Encouraging Community Interaction</h4><p>Invite readers to highlight and comment on specific sections, fostering a community of interactive and engaged readers.</p><h4>#10 Personalizing Content Strategy</h4><p>Use the feedback from highlights to personalize your content strategy, ensuring it resonates with your audience.</p><p>In conclusion, Medium highlights are not just about marking text; they’re about interacting with content in a more engaged, efficient, and meaningful way. Whether you’re reading for knowledge, pleasure, or inspiration, or writing to inform, persuade, or entertain, highlights can enrich your experience on Medium.</p><p>Thank you for reading! 🙏 Do follow, clap 👏, and write comments with feedback, questions, and suggestions.</p><p>Feeling inspired by this article? 🎉 Support the cause and fuel more tech dreams by visiting<strong> </strong><a href="https://www.buymeacoffee.com/kyivtechkat"><strong><em>Buy Me a Coffee</em></strong></a><strong>!</strong> ☕🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cbf232c4c09" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>