<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sushil Kumar Mishra</title>
    <description>The latest articles on DEV Community by Sushil Kumar Mishra (@sushil2k4).</description>
    <link>https://dev.to/sushil2k4</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1764901%2F0f2b94bb-988c-4b41-9e23-8cfffe9ab22f.jpg</url>
      <title>DEV Community: Sushil Kumar Mishra</title>
      <link>https://dev.to/sushil2k4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sushil2k4"/>
    <language>en</language>
    <item>
      <title>Is GenAI Making Us Mentally Lazy ?</title>
      <dc:creator>Sushil Kumar Mishra</dc:creator>
      <pubDate>Sat, 09 Aug 2025 13:59:07 +0000</pubDate>
      <link>https://dev.to/sushil2k4/is-genai-making-us-mentally-lazy--4jmo</link>
      <guid>https://dev.to/sushil2k4/is-genai-making-us-mentally-lazy--4jmo</guid>
      <description>&lt;p&gt;Generative AI tools like ChatGPT, Claude, and Gemini are no longer futuristic experiments.&lt;br&gt;
They’re now daily companions for developers, writers, students, and businesses.&lt;/p&gt;

&lt;p&gt;We use them to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Write code in seconds&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Draft blog posts and marketing copy&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Summarize research papers&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Even explain complex topics in plain English&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The productivity boost is undeniable.&lt;br&gt;
But here’s the real question : is Generative AI making us mentally lazy?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Rise of AI Dependency&lt;/strong&gt;&lt;br&gt;
With each leap in technology, people fear losing critical skills:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Calculators were said to destroy mental math&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google Search was blamed for reducing memory retention&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Spell checkers made us forget tricky words&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now with Generative AI, it’s not just facts or formulas, it’s thinking and reasoning that are on the outsourcing table.&lt;/p&gt;

&lt;p&gt;Why wrestle with a bug when AI can hand you the solution instantly?&lt;br&gt;
Why brainstorm for an hour when a single prompt gives you ten polished ideas?&lt;/p&gt;

&lt;p&gt;This AI dependency feels efficient until we realize we’ve skipped the mental workout.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Real Danger: Cognitive Atrophy&lt;/strong&gt;&lt;br&gt;
Your brain is like a muscle stop challenging it, and it weakens.&lt;br&gt;
Relying too heavily on Generative AI could lead to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Reduced problem-solving stamina&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Loss of creative “struggle time” where innovation sparks&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Over-reliance on external assistance for basic thinking tasks&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This isn’t laziness in the Netflix-binge sense it’s mental outsourcing disguised as productivity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Generative AI: Bicycle or Wheelchair for the Mind?&lt;/strong&gt;&lt;br&gt;
GenAI can be the bicycle for the mind accelerating our learning and efficiency.&lt;br&gt;
Or it can be a wheelchair for the mind removing the need to think for ourselves.&lt;/p&gt;

&lt;p&gt;The difference lies in how we use it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Ask “why” and “how”, not just “what”&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use AI as a co-pilot, not an autopilot&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Alternate between AI-assisted and manual problem-solving&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use AI to learn faster not skip the learning entirely&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;A Simple Self-Check&lt;/strong&gt;&lt;br&gt;
Before turning to AI, ask yourself:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Am I avoiding this task because I’m exhausted or because I don’t want to think through the hard part ?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If it’s the first, take a break.&lt;br&gt;
If it’s the second, lean into the challenge.&lt;/p&gt;

&lt;p&gt;That’s how you keep your brain in shape while still leveraging AI’s power.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Future Belongs to Thinkers Who Use AI Wisely&lt;/strong&gt;&lt;br&gt;
Generative AI isn’t inherently making us lazy.&lt;br&gt;
But our usage patterns can turn it into a shortcut for skipping real thinking.&lt;/p&gt;

&lt;p&gt;The future will belong to those who:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Use AI for speed&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keep their independent reasoning skills sharp&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Stay curious and willing to solve problems without automation&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because when everyone has access to the same AI tools, your brain becomes your ultimate competitive edge.&lt;/p&gt;

&lt;p&gt;💬 What’s your take is Generative AI helping us think better, or making us mentally weaker?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Stay curious, keep learning, and let your code make a difference!"&lt;br&gt;
~ Sushil Kumar Mishra&lt;/p&gt;
&lt;/blockquote&gt;

</description>
    </item>
    <item>
      <title>Demonstrating Self-Referential Structures with Linked Lists</title>
      <dc:creator>Sushil Kumar Mishra</dc:creator>
      <pubDate>Sun, 27 Jul 2025 12:20:08 +0000</pubDate>
      <link>https://dev.to/sushil2k4/demonstrating-self-referential-structures-with-linked-lists-37c2</link>
      <guid>https://dev.to/sushil2k4/demonstrating-self-referential-structures-with-linked-lists-37c2</guid>
      <description>&lt;p&gt;In the world of computer science, understanding data structures is crucial for solving complex problems efficiently. One of the foundational concepts is the self-referential structure, a concept where a data structure contains a reference to an instance of the same type. Linked lists are a classic example of such structures, offering a dynamic way to manage collections of data. In this blog, we will explore what self-referential structures are, delve into linked lists, and demonstrate their implementation in a step-by-step manner using C.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Are Self-Referential Structures?&lt;br&gt;
Definition:&lt;/strong&gt; Self-referential structures are data structures that include one or more references to instances of the same type. This allows for the creation of complex, recursive data organizations like linked lists, trees, and graphs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Consider a node in a linked list. Each node contains data and a reference (or pointer) to the next node in the sequence. This reference makes the node self-referential.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understanding Linked Lists&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;What is a Linked List?&lt;/strong&gt; A linked list is a linear collection of nodes where each node points to the next node in the sequence. Unlike arrays, linked lists do not require contiguous memory allocation, making them flexible in terms of memory usage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Linked Lists:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Singly Linked List:&lt;/strong&gt; Each node points to the next node.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Doubly Linked List:&lt;/strong&gt; Each node points to both the next and the previous node.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Circular Linked List:&lt;/strong&gt; The last node points back to the first node, forming a circle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implementation of a Singly-Linked List&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Node Structure:&lt;/strong&gt; First, let's define the structure of a node. In C, this is done using a struct.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;

struct Node {
    int data;
    struct Node* next;
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Linked List Functions:&lt;/strong&gt; Next, we define the linked list functions to manage the nodes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Function to print the linked list
int printlist(struct node *head) {
    struct node *temp = head;
    while (temp != NULL) {
        printf("%d",temp-&amp;gt;data);
        temp = temp-&amp;gt;next;
        }
    printf("\n");
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Main Function:&lt;/strong&gt; Finally, let's create a main function to demonstrate the linked list in action.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
    struct node *head;
    struct node *one = (struct node*)malloc(sizeof(struct node));
    struct node *two = (struct node*)malloc(sizeof(struct node));

    one-&amp;gt;data = 20;
    two-&amp;gt;data = 40;
    one-&amp;gt;next = two;
    two-&amp;gt;next = NULL;

    head = one;
    printlist(head);  // Output: 20 40
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Advantages of Linked Lists&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Dynamic Size:&lt;/strong&gt; Linked lists can grow and shrink in size dynamically, which provides flexibility.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Efficient Insertions/Deletions:&lt;/strong&gt; Inserting or deleting nodes in a linked list is efficient as it involves updating pointers, not shifting elements as in arrays.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disadvantages of Linked Lists&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Memory Overhead:&lt;/strong&gt; Each node requires additional memory for storing the reference to the next node.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sequential Access:&lt;/strong&gt; Linked lists do not allow random access. To access an element, you need to traverse from the head node.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Linked lists are a fundamental example of self-referential structures in computer science. They offer flexibility in memory management and efficient operations for dynamic datasets. Understanding linked lists and their implementations lays the groundwork for mastering more complex data structures like trees and graphs. Keep experimenting with linked lists to deepen your understanding and improve your problem-solving skills!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Stay curious, keep learning, and let your code make a difference!"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;~ Sushil Kumar Mishra&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
