<?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: Rishad Karappa</title>
    <description>The latest articles on DEV Community by Rishad Karappa (@rishadkarappa).</description>
    <link>https://dev.to/rishadkarappa</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%2F3804317%2F57eaefff-d64a-4d78-9633-715c35b57d80.jpg</url>
      <title>DEV Community: Rishad Karappa</title>
      <link>https://dev.to/rishadkarappa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rishadkarappa"/>
    <language>en</language>
    <item>
      <title>The Most Underrated Skill in Programming</title>
      <dc:creator>Rishad Karappa</dc:creator>
      <pubDate>Thu, 04 Jun 2026 01:45:07 +0000</pubDate>
      <link>https://dev.to/rishadkarappa/the-most-underrated-skill-in-programming-4ank</link>
      <guid>https://dev.to/rishadkarappa/the-most-underrated-skill-in-programming-4ank</guid>
      <description>&lt;p&gt;Many beginners think programming is about memorizing syntax.&lt;/p&gt;

&lt;p&gt;It's not.&lt;/p&gt;

&lt;p&gt;The real skill is learning how to break a big problem into smaller problems.&lt;/p&gt;

&lt;p&gt;For example, if you're asked to build a To-Do App, don't think:&lt;/p&gt;

&lt;p&gt;"How do I build a To-Do App?"&lt;/p&gt;

&lt;p&gt;Instead, think:&lt;/p&gt;

&lt;p&gt;How do I store tasks?&lt;br&gt;
How do I add a task?&lt;br&gt;
How do I delete a task?&lt;br&gt;
How do I display tasks?&lt;/p&gt;

&lt;p&gt;Each small problem is much easier to solve.&lt;/p&gt;

&lt;p&gt;This same approach works for everything:&lt;/p&gt;

&lt;p&gt;Data Structures &amp;amp; Algorithms&lt;br&gt;
System Design&lt;br&gt;
Web Development&lt;br&gt;
Debugging&lt;/p&gt;

&lt;p&gt;The best developers aren't the ones who know the most syntax.&lt;/p&gt;

&lt;p&gt;They're the ones who can consistently break complex problems into simple steps.&lt;/p&gt;

&lt;p&gt;Code is written one line at a time. Problems are solved one step at a time.&lt;/p&gt;

&lt;p&gt;What programming concept took you the longest to understand?&lt;/p&gt;

</description>
    </item>
    <item>
      <title>First Order Function vs First Class Functions (JavaScript) Many beginners get confused between first order function and first class functions.</title>
      <dc:creator>Rishad Karappa</dc:creator>
      <pubDate>Thu, 04 Jun 2026 01:43:57 +0000</pubDate>
      <link>https://dev.to/rishadkarappa/first-order-function-vs-first-class-functions-javascript-many-beginners-get-confused-between-12bk</link>
      <guid>https://dev.to/rishadkarappa/first-order-function-vs-first-class-functions-javascript-many-beginners-get-confused-between-12bk</guid>
      <description>&lt;h2&gt;
  
  
  🔹 First Order Function
&lt;/h2&gt;

&lt;p&gt;A First Order Function is a function that:&lt;/p&gt;

&lt;p&gt;❌ Does NOT take another function as argument&lt;/p&gt;

&lt;p&gt;❌ Does NOT return another function&lt;/p&gt;

&lt;p&gt;It just works with normal values (number, string, etc).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="s2"&gt;`Example:
function multiply(a, b) {
  return a * b;
}`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here:&lt;/p&gt;

&lt;p&gt;It takes numbers&lt;/p&gt;

&lt;p&gt;Returns a number&lt;/p&gt;

&lt;p&gt;No function involved&lt;/p&gt;

&lt;p&gt;So this is a First Order Function.&lt;/p&gt;

&lt;p&gt;👉 It is just a normal/basic function.&lt;/p&gt;

&lt;p&gt;🔹 First Class Functions&lt;/p&gt;

&lt;p&gt;JavaScript supports First Class Functions.&lt;/p&gt;

&lt;p&gt;This means:&lt;/p&gt;

&lt;p&gt;👉 Functions are treated like normal values (like numbers or strings).&lt;/p&gt;

&lt;p&gt;Because of this, you can:&lt;/p&gt;

&lt;p&gt;✅ Store function in a variable&lt;/p&gt;

&lt;p&gt;✅ Pass function as argument&lt;/p&gt;

&lt;p&gt;✅ Return function from another function&lt;/p&gt;

&lt;p&gt;1️⃣ Store Function in Variable&lt;br&gt;
function greet() {&lt;br&gt;
  return "Hello";&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;const sayHi = greet;&lt;/p&gt;

&lt;p&gt;console.log(sayHi()); // Hello&lt;/p&gt;

&lt;p&gt;Function stored in variable → First class behavior.&lt;/p&gt;

&lt;p&gt;2️⃣ Pass Function as Argument&lt;br&gt;
function greet() {&lt;br&gt;
  console.log("Hello");&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;function execute(fn) {&lt;br&gt;
  fn();&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;execute(greet);&lt;/p&gt;

&lt;p&gt;Here function is passed as parameter.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;3️⃣ Return Function from Function&lt;br&gt;
function outer() {&lt;br&gt;
  return function inner() {&lt;br&gt;
    console.log("Inside inner");&lt;br&gt;
  };&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
const result = outer();&lt;br&gt;
result();&lt;/p&gt;

&lt;p&gt;Function returning another function.&lt;/p&gt;

&lt;p&gt;🧠 Important Understanding&lt;/p&gt;

&lt;p&gt;⚠️ First Order Function and First Class Function are NOT opposites.&lt;/p&gt;

&lt;p&gt;First Order → Type of function&lt;/p&gt;

&lt;p&gt;First Class → Feature of language&lt;/p&gt;

&lt;p&gt;Because JavaScript is a first-class function language,&lt;br&gt;
we can create higher-order functions also.&lt;/p&gt;

&lt;p&gt;🔥 Small Comparison&lt;/p&gt;

&lt;p&gt;First Order Function        First Class Function&lt;br&gt;
No function inside      Functions treated like values&lt;br&gt;
Simple function             Language capability&lt;br&gt;
Example: add(), multiply()  Store, pass, return function&lt;/p&gt;

&lt;p&gt;Final Simple Line&lt;/p&gt;

&lt;p&gt;👉 First Order Function = Normal function&lt;br&gt;
👉 First Class Function = JS allows functions to behave like variables&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>computerscience</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>First Order Function vs First Class Functions (JavaScript)</title>
      <dc:creator>Rishad Karappa</dc:creator>
      <pubDate>Tue, 03 Mar 2026 16:53:44 +0000</pubDate>
      <link>https://dev.to/rishadkarappa/first-order-function-vs-first-class-functions-javascript-p4l</link>
      <guid>https://dev.to/rishadkarappa/first-order-function-vs-first-class-functions-javascript-p4l</guid>
      <description>&lt;h2&gt;
  
  
  🔹 First Order Function
&lt;/h2&gt;

&lt;p&gt;A First Order Function is a function that:&lt;/p&gt;

&lt;p&gt;❌ Does NOT take another function as argument&lt;/p&gt;

&lt;p&gt;❌ Does NOT return another function&lt;/p&gt;

&lt;p&gt;It just works with normal values (number, string, etc).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`Example:
function multiply(a, b) {
  return a * b;
}`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here:&lt;/p&gt;

&lt;p&gt;It takes numbers&lt;/p&gt;

&lt;p&gt;Returns a number&lt;/p&gt;

&lt;p&gt;No function involved&lt;/p&gt;

&lt;p&gt;So this is a First Order Function.&lt;/p&gt;

&lt;p&gt;👉 It is just a normal/basic function.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔹 First Class Functions
&lt;/h2&gt;

&lt;p&gt;JavaScript supports First Class Functions.&lt;/p&gt;

&lt;p&gt;This means:&lt;/p&gt;

&lt;p&gt;👉 Functions are treated like normal values (like numbers or strings).&lt;/p&gt;

&lt;p&gt;Because of this, you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Store function in a variable&lt;/li&gt;
&lt;li&gt; Pass function as argument&lt;/li&gt;
&lt;li&gt; Return function from another function&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;1️⃣ Store Function in Variable&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`function greet() {
  return "Hello";
}
`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;const sayHi = greet;&lt;/p&gt;

&lt;p&gt;console.log(sayHi()); // Hello&lt;/p&gt;

&lt;p&gt;Function stored in variable → First class behavior.&lt;/p&gt;

&lt;p&gt;2️⃣ Pass Function as Argument&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`function greet() {
  console.log("Hello");
}

function execute(fn) {
  fn();
}`

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

&lt;/div&gt;



&lt;p&gt;execute(greet);&lt;/p&gt;

&lt;p&gt;Here function is passed as parameter.&lt;/p&gt;

&lt;p&gt;3️⃣ Return Function from Function&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`function outer() {
  return function inner() {
    console.log("Inside inner");
  };
}
const result = outer();
result();`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Function returning another function.&lt;/p&gt;

&lt;p&gt;Important Understanding&lt;/p&gt;

&lt;p&gt;⚠️ First Order Function and First Class Function are NOT opposites.&lt;/p&gt;

&lt;p&gt;First Order → Type of function&lt;/p&gt;

&lt;p&gt;First Class → Feature of language&lt;/p&gt;

&lt;p&gt;Because JavaScript is a first-class function language,&lt;br&gt;
we can create higher-order functions also.&lt;/p&gt;

&lt;p&gt;🔥 Small Comparison&lt;/p&gt;

&lt;p&gt;First Order Function        First Class Function&lt;br&gt;
No function inside      Functions treated like values&lt;br&gt;
Simple function             Language capability&lt;br&gt;
Example: add(), multiply()  Store, pass, return function&lt;/p&gt;

&lt;p&gt;Final Line&lt;/p&gt;

&lt;p&gt;👉 First Order Function = Normal function&lt;br&gt;
👉 First Class Function = JS allows functions to behave like variables&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>computerscience</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
