<?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>Forem: Skanda Prasad</title>
    <description>The latest articles on Forem by Skanda Prasad (@skandaprasaad).</description>
    <link>https://forem.com/skandaprasaad</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%2F1722622%2F509348f8-9a39-4b55-be47-06e4340dba49.png</url>
      <title>Forem: Skanda Prasad</title>
      <link>https://forem.com/skandaprasaad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/skandaprasaad"/>
    <language>en</language>
    <item>
      <title>JavaScript Essentials for Everyday Coding</title>
      <dc:creator>Skanda Prasad</dc:creator>
      <pubDate>Mon, 02 Sep 2024 15:11:22 +0000</pubDate>
      <link>https://forem.com/skandaprasaad/javascript-essentials-for-everyday-coding-1b0j</link>
      <guid>https://forem.com/skandaprasaad/javascript-essentials-for-everyday-coding-1b0j</guid>
      <description>&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Numbers in JavaScript&lt;/strong&gt;: JavaScript treats all numbers as number types, whether they are integers or floating-point. The language does not have different data types for different numbers, unlike many other programming languages. This simplicity makes number handling straightforward but sometimes requires attention to precision, especially with floating-point arithmetic.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Mastering Strings&lt;/strong&gt;: Strings are fundamental in JavaScript, used for text manipulation, logging, and more. You can create strings using single quotes (' '), double quotes (" "), or backticks (&lt;code&gt;&lt;/code&gt;). Template literals, introduced in ES6, provide a powerful way to handle multi-line strings and embed expressions within strings, making them more readable and reducing the need for string concatenation.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let name = "John";
let greeting = `Hello, ${name}! Welcome to JavaScript learning.`;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.&lt;strong&gt;Arrays and Their Utility&lt;/strong&gt;: Arrays are one of JavaScript's most useful data structures, allowing you to store and manipulate lists of data. They can hold mixed data types and come with a variety of methods for adding, removing, and iterating over elements.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let fruits = ['Apple', 'Banana', 'Cherry'];
fruits.push('Date'); // Adds 'Date' to the end
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Powerful Array Methods&lt;/strong&gt;: Array methods in JavaScript enable functional programming techniques. Methods like .map(), .filter(), and .reduce() transform data efficiently without mutating the original array.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
let numbers = [1, 2, 3];
let squared = numbers.map(num =&amp;gt; num * num); // [1, 4, 9]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Working with JSON and toJSON&lt;/strong&gt;: JSON is essential for data interchange between a server and a web application. JavaScript provides JSON.stringify() for converting objects to JSON and JSON.parse() for converting JSON back to JavaScript objects. The toJSON method customizes how objects are serialized, giving you control over the serialization process.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Destructuring for Cleaner Code&lt;/strong&gt;: Destructuring allows for a more concise and readable way to extract values from arrays or objects.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const [a, b] = [1, 2];
const { name, age } = { name: 'Alice', age: 30 };
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>Learnt C Language</title>
      <dc:creator>Skanda Prasad</dc:creator>
      <pubDate>Wed, 03 Jul 2024 12:06:19 +0000</pubDate>
      <link>https://forem.com/skandaprasaad/learnt-c-language-1cgc</link>
      <guid>https://forem.com/skandaprasaad/learnt-c-language-1cgc</guid>
      <description>&lt;p&gt;Hello, fellow developers! I'm excited to  journey of learning C programming with you all. C is known for its efficiency, portability, and low-level access to memory, making it ideal for system-level programming It serves as the foundational language for many modern programming languages, such as C++, Java, and Python. &lt;/p&gt;

&lt;p&gt;💻 Syntax and Structure :&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;

int main() {
    int age = 30; // Variable declaration and initialization
    printf("Hello, World! I am %d years old.\n", age); // Output statement
    return 0; // Return statement
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;🌟 Personal Experience :&lt;/p&gt;

&lt;p&gt;Learning C was both challenging and rewarding. Initially, understanding pointers and manual memory management was daunting. However, with consistent practice and debugging, I overcame these challenges. Writing small programs to reinforce concepts like pointers and memory allocation helped solidify my understanding.&lt;/p&gt;

&lt;p&gt;🌟 Insights and Takeaways :&lt;/p&gt;

&lt;p&gt;One significant insight was the importance of memory management. Unlike higher-level languages that handle memory automatically, C requires meticulous attention to memory allocation and deallocation to avoid leaks and other issues. This experience has given me a deeper appreciation for how computers manage resources.&lt;/p&gt;

&lt;p&gt;🛠️ Learning :&lt;/p&gt;

&lt;p&gt;During my learning journey, I’ve worked learnt language by understanding the codes and trying out in my local machine. You can find the code on my GitHub:  &lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/skanda-prasaad" rel="noopener noreferrer"&gt;
        skanda-prasaad
      &lt;/a&gt; / &lt;a href="https://github.com/skanda-prasaad/C_language" rel="noopener noreferrer"&gt;
        C_language
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;



&lt;p&gt;🛠️ PROJECTS :&lt;/p&gt;

&lt;p&gt;I’ve worked on projects and exercises to solidify my understanding of C. You can find the code and detailed explanations of these projects on my GitHub:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/skanda-prasaad/c-projects" rel="noopener noreferrer"&gt;projects repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📣 Conclusion :&lt;/p&gt;

&lt;p&gt;The C programming language remains a cornerstone of computer science. Its efficiency, portability, and low-level capabilities make it indispensable for system programming, embedded systems, and game development. Although learning C can be challenging, the skills and insights gained are invaluable, providing a solid foundation for any aspiring programmer.&lt;/p&gt;

&lt;p&gt;I am eager to explore further tech stacks and programming languages to expand my skills and knowledge. I aim to broaden my understanding and contribute more effectively to diverse projects within the Open Source community.&lt;/p&gt;

&lt;p&gt;Happy coding!&lt;/p&gt;

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