<?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: ArtRajTiwari</title>
    <description>The latest articles on DEV Community by ArtRajTiwari (@artrajtiwari_).</description>
    <link>https://dev.to/artrajtiwari_</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%2F287606%2F9e53af70-b797-4a5a-b065-3764d50c9e76.png</url>
      <title>DEV Community: ArtRajTiwari</title>
      <link>https://dev.to/artrajtiwari_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/artrajtiwari_"/>
    <language>en</language>
    <item>
      <title>Functional programming</title>
      <dc:creator>ArtRajTiwari</dc:creator>
      <pubDate>Mon, 22 May 2023 15:19:13 +0000</pubDate>
      <link>https://dev.to/artrajtiwari_/functional-programming-4jof</link>
      <guid>https://dev.to/artrajtiwari_/functional-programming-4jof</guid>
      <description>&lt;p&gt;I will be creating and posting the ocaml tutorials for 7 weeks from now. &lt;br&gt;
Github Link : &lt;a href="https://github.com/Aditya-Raj-Tiwari/Ocaml"&gt;Tutorial&lt;/a&gt;&lt;br&gt;
Why did I decide to do it?&lt;br&gt;
-&amp;gt;Imagine you're playing with a box of building blocks. You have different shapes and colors to build whatever you want. Let's think of these blocks as a way of telling a computer what to do.&lt;/p&gt;

&lt;p&gt;Functional programming is like having a set of magic rules for playing with these blocks. With these rules, you can only build things in certain ways. Like, you can't put a round block inside a square hole, and once you've built something, you can't change it - you have to build a new one.&lt;/p&gt;

&lt;p&gt;This sounds like it might make it harder to play, right? But guess what? It actually makes it easier!&lt;/p&gt;

&lt;p&gt;Why? Well, because when we use these rules, it's much easier to play together with friends. You don't need to worry about someone else changing your beautiful castle when you're not looking. And, you can take apart any building and use the parts again without breaking anything.&lt;/p&gt;

&lt;p&gt;Now, let's talk about your toy robots, which we'll call AI and ML - that's short for Artificial Intelligence and Machine Learning.&lt;/p&gt;

&lt;p&gt;Your robots are really smart and can learn how to do things on their own. But to do that, they need instructions. And these instructions are like the building blocks we talked about before.&lt;/p&gt;

&lt;p&gt;With our magic rules, we can give the robots clear instructions, and they can learn better and faster. They can also work together without messing up what the other robots are doing. It's like having a team of robots building different parts of a giant lego city without bumping into each other.&lt;/p&gt;

&lt;p&gt;So, that's why functional programming is like a magic rule book for our super smart toy robots! Cool, right?&lt;/p&gt;

&lt;h1&gt;
  
  
  Now this is more detailed explanation for nerds :) 🤓
&lt;/h1&gt;

&lt;p&gt;1.Concurrency and Parallelism: As we increasingly develop software to run on multi-core processors or in distributed systems, dealing with parallelism and concurrency is becoming a significant challenge. In functional programming, because of the immutability and stateless nature of data, programs are more straightforward to break down into smaller parts that can run concurrently or in parallel. There's less concern about data clashes, making functional programs better suited for multi-threaded and distributed computing.&lt;/p&gt;

&lt;p&gt;Predictability and Testability: Functional programming is deterministic, which means the output of a function depends solely on its input. It helps reduce side effects, making the code more predictable and easier to test and debug. This trait is particularly beneficial in complex software systems where understanding the flow and effects of data can be challenging.&lt;/p&gt;

&lt;p&gt;Modularity and Composability: Functional programming is based on building small, pure functions that perform specific tasks and can be composed to build more complex functionalities. This leads to a highly modular codebase that's easier to understand, maintain, and extend. This composability is a key advantage when it comes to adapting to new requirements or technologies, which is a constant in the software industry.&lt;/p&gt;

&lt;p&gt;Efficient Error Handling: Functional programming languages often offer robust error handling mechanisms. For example, the use of monads in languages like Haskell provides a systematic way of dealing with errors, null values, or side effects without interrupting the flow of the program.&lt;/p&gt;

&lt;p&gt;Reactive Programming: The future of programming is moving more towards reactive programming as we develop more real-time applications, event-driven programming, and User Interfaces. Functional reactive programming (FRP) is a paradigm for reactive programming using the building blocks of functional programming. This paradigm has been widely adopted in front-end development with libraries like React.&lt;/p&gt;

&lt;p&gt;Scalability: With the advent of big data, applications now need to process large amounts of data efficiently. Functional programming, with its strong support for higher-order functions and data transformation, is a great fit for this kind of task. It encourages a style of coding that scales well with the volume of data.&lt;/p&gt;

&lt;p&gt;Easier Refactoring: Since functional programming enforces purity and has fewer moving parts (mutable state, variable scope, etc.), it's easier to refactor the code. With fewer bugs and less spaghetti code, developers can more confidently make changes and additions.&lt;/p&gt;

&lt;p&gt;Suitability for AI and ML: Functional programming is a good fit for mathematical models, and with AI and Machine Learning becoming increasingly prevalent, this is a significant advantage. Data scientists can express algorithms more naturally using functional programming.&lt;/p&gt;

&lt;p&gt;Improved Developer Productivity: Functional programming promotes clarity and succinctness, which makes codebases smaller, more manageable, and easier to understand. This can significantly boost developer productivity.&lt;/p&gt;

</description>
      <category>functional</category>
      <category>ocaml</category>
      <category>intro</category>
      <category>programming</category>
    </item>
    <item>
      <title>MD files are awesome and here is why!</title>
      <dc:creator>ArtRajTiwari</dc:creator>
      <pubDate>Thu, 19 Jan 2023 10:24:57 +0000</pubDate>
      <link>https://dev.to/artrajtiwari_/md-files-are-awesome-and-here-is-why-mlh</link>
      <guid>https://dev.to/artrajtiwari_/md-files-are-awesome-and-here-is-why-mlh</guid>
      <description>&lt;p&gt;MD file is a text file created using one of several possible dialects of the Markdown language. It is saved in plain text format but includes inline symbols that define how to format the text (e.g. bold, indentations, headers, table formatting). MD files are designed for authoring plain text documentation that can be easily converted to HTML.&lt;/p&gt;

&lt;p&gt;Since I love doing web development, I tried my hands on the Md file, and it seems we can learn it easily, and it is really fun thing to learn. And as I was writing some code I realized it can be a perfect thing to get started with, if you want to learn designing since its simple, and you can write the HTML code there as well. But the most awesome part was being able to customize it the way I wanted. I learned that # was used for the title and ## was a subtitle (like h1 and h2 if you are familiar with HTML). I didn’t stop there, I went and google searched some awesome GitHub readme.md files. And there I realized that it was not just about writing some code that was fun, it was the part where we have the power to change it the way we want. The awesome feeling like being able to say some magic words and make something appear.&lt;/p&gt;

&lt;p&gt;Then after sometime I got to know Jupyter Notebook, and since I always loved python and frontend web development. I now had the ability to write awesome python codes and explain them to my friends in the way I wanted with the awesome MD files.&lt;/p&gt;

&lt;p&gt;But Markdown is not just about the fun, it if also future-proof. Even if the application you’re using stops working at some point in the future, you’ll still be able to read your Markdown-formatted text using a text editing application. This is an important consideration when it comes to books, university theses, and other milestone documents that need to be preserved indefinitely. And also Markdown is everywhere. Websites like Reddit and GitHub support Markdown, and lots of desktop and web-based applications support it.&lt;/p&gt;

&lt;p&gt;So you might be asking where can i get started, well here are some options:&lt;/p&gt;

&lt;p&gt;How do I open an MD file?&lt;br&gt;
You can open and edit an MD file in any text editor, including:&lt;/p&gt;

&lt;p&gt;Microsoft Notepad (Windows)&lt;br&gt;
Vim &lt;br&gt;
GitHub Atom (cross-platform)&lt;br&gt;
Vs Code&lt;br&gt;
Google Chrome Text (Chrome OS)&lt;br&gt;
Webstorm / Phpstrom ( I personally use them)&lt;br&gt;
Now lets try some cool things shall we?&lt;br&gt;
Syntax guide:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Headings:
# This is an &amp;lt;h1&amp;gt; tag
## This is an &amp;lt;h2&amp;gt; tag
###### This is an &amp;lt;h6&amp;gt; tag


Images:
![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)


Links:
[GitHub](http://github.com)


Blockquotes
As Kanye West said:
&amp;gt; We're living the future so
&amp;gt; the present is our past.


Tables:
|Name|Email|Address|&amp;lt;====== This is the heading of the table
|----|-----|-------|&amp;lt;====== This is the separator.
|Aditya|aditya@example.com|Address1| &amp;lt;=== This is the table body.

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

&lt;/div&gt;



&lt;p&gt;Ok here is a little extras to spice it up! We can use css styling Yayyy! Though it has to be inline. And also lots of emojis:)&lt;/p&gt;

&lt;p&gt;specify a img width and height:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.imgur.com%2FsZlktY7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.imgur.com%2FsZlktY7.png" width="300" height="197"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would definitely recommend you to go and try it out. Here are some useful links:&lt;/p&gt;

&lt;p&gt;Here is the explanation, of how to use emojis. Clickme&lt;br&gt;
And a cool google philosophy on styling: Clickme&lt;br&gt;
And here is my github readme.md file:&lt;br&gt;
&lt;a href="https://github.com/Aditya-Raj-Tiwari" rel="noopener noreferrer"&gt;https://github.com/Aditya-Raj-Tiwari&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh6ymruj7ioyzjxzextck.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh6ymruj7ioyzjxzextck.gif" alt="Image description" width="500" height="100"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>motivation</category>
    </item>
  </channel>
</rss>
