<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" >

<channel><title><![CDATA[Prithvi Anantharaj - Blog]]></title><link><![CDATA[http://www.prithvi.website/blog]]></link><description><![CDATA[Blog]]></description><pubDate>Sun, 30 Apr 2023 16:41:16 -0700</pubDate><generator>Weebly</generator><item><title><![CDATA[﻿Closures]]></title><link><![CDATA[http://www.prithvi.website/blog/closures]]></link><comments><![CDATA[http://www.prithvi.website/blog/closures#comments]]></comments><pubDate>Wed, 08 Mar 2017 04:21:10 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.prithvi.website/blog/closures</guid><description><![CDATA[Inner functions having access to outer function's variables is called a closure.&nbsp;A Closure has three scope-chains, it&nbsp;has access to:&nbsp;Its own scopeThe outer function's variablesGlobal variables  	#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--light {  padding: 20px 0px;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--light .header {  padding: 10px 20px;  font-weight: bold;  border-left: 1px solid #C9CDCF;  border-right: 1px solid #C9CDCF;  border-top: 1px s [...] ]]></description><content:encoded><![CDATA[<div class="paragraph">Inner functions having access to outer function's variables is called a closure.&nbsp;<br /><br />A <strong>Closure</strong> has three scope-chains, it<span>&nbsp;has access to</span>:&nbsp;<ol><li>Its own scope</li><li>The outer function's variables</li><li>Global variables</li></ol></div>  <div id="125150758781535104"><div><style type="text/css">	#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--light {  padding: 20px 0px;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--light .header {  padding: 10px 20px;  font-weight: bold;  border-left: 1px solid #C9CDCF;  border-right: 1px solid #C9CDCF;  border-top: 1px solid #C9CDCF;  background-color: #F8F8F8;  color: #363B3E;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--light .header .paragraph {  margin: 0;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--light .body-code {  margin: 0;  border: 1px solid #C9CDCF;  background-color: #FFFFFF;  color: #666C70;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--dark {  padding: 20px 0px;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--dark .ace-tomorrow-night-eighties {  background-color: #363B3E;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--dark .header {  padding: 10px 20px;  font-weight: bold;  border-left: 1px solid #E0E1E2;  border-right: 1px solid #E0E1E2;  border-top: 1px solid #E0E1E2;  background-color: #666C70;  color: #FFFFFF;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--dark .header .paragraph {  margin: 0;}#element-fa305e4d-5cda-4d1a-901d-92a0412793c0 .code-editor--dark .body-code {  margin: 0;  border: 1px solid #E0E1E2;  background-color: #363B3E;  color: #F8F8F8;}</style><div id="element-fa305e4d-5cda-4d1a-901d-92a0412793c0" data-platform-element-id="270170748587580171-1.3.3" class="platform-element-contents">	<div class="code-editor--light">    <div class="header">        <div class="paragraph"><strong>Basic Closure Example:&nbsp;</strong></div>    </div>    <div class="body-code">        <pre class="editor"></pre>    </div></div></div><div style="clear:both;"></div></div></div>]]></content:encoded></item><item><title><![CDATA[﻿Recursion in Javascript]]></title><link><![CDATA[http://www.prithvi.website/blog/recursion-in-javascript]]></link><comments><![CDATA[http://www.prithvi.website/blog/recursion-in-javascript#comments]]></comments><pubDate>Sun, 26 Feb 2017 19:57:04 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.prithvi.website/blog/recursion-in-javascript</guid><description><![CDATA[A simple definition of Recursion is calling a function on itself.&nbsp;Recursion follows the divide-and-conquer method, where the problem is divided into &#8203;sub-problems, solving the sub-problems and combining them with the final result.Structure of a recursive function includes one or more base cases and recursive cases.Base Case: &nbsp;Inputs for which the function produces the result without recurring.Recursive Case: Inputs for which the program calls itself.  	#element-e9ec8d85-9378-4d1b [...] ]]></description><content:encoded><![CDATA[<div class="paragraph">A simple definition of Recursion is calling a function on itself.&nbsp;<br /><br />Recursion follows the divide-and-conquer method, where the problem is divided into <br />&#8203;sub-problems, solving the sub-problems and combining them with the final result.<br /><br />Structure of a recursive function includes one or more base cases and recursive cases.<br /><strong>Base Case: &nbsp;</strong>Inputs for which the function produces the result without recurring.<br /><strong>Recursive Case: </strong>Inputs for which the program calls itself.</div>  <div id="963730010906940787"><div><style type="text/css">	#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--light {  padding: 20px 0px;}#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--light .header {  padding: 10px 20px;  font-weight: bold;  border-left: 1px solid #C9CDCF;  border-right: 1px solid #C9CDCF;  border-top: 1px solid #C9CDCF;  background-color: #F8F8F8;  color: #363B3E;}#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--light .header .paragraph {  margin: 0;}#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--light .body-code {  margin: 0;  border: 1px solid #C9CDCF;  background-color: #FFFFFF;  color: #666C70;}#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--dark {  padding: 20px 0px;}#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--dark .ace-tomorrow-night-eighties {  background-color: #363B3E;}#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--dark .header {  padding: 10px 20px;  font-weight: bold;  border-left: 1px solid #E0E1E2;  border-right: 1px solid #E0E1E2;  border-top: 1px solid #E0E1E2;  background-color: #666C70;  color: #FFFFFF;}#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--dark .header .paragraph {  margin: 0;}#element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7 .code-editor--dark .body-code {  margin: 0;  border: 1px solid #E0E1E2;  background-color: #363B3E;  color: #F8F8F8;}</style><div id="element-e9ec8d85-9378-4d1b-8e88-0f6f05599fc7" data-platform-element-id="270170748587580171-1.3.2" class="platform-element-contents">	<div class="code-editor--light">    <div class="header">        <div class="paragraph">&#8203;<strong>Add numbers ranging from 1 to 100 without using loops.</strong></div>    </div>    <div class="body-code">        <pre class="editor"></pre>    </div></div></div><div style="clear:both;"></div></div></div>]]></content:encoded></item><item><title><![CDATA[Command Line Interface]]></title><link><![CDATA[http://www.prithvi.website/blog/command-line-interface]]></link><comments><![CDATA[http://www.prithvi.website/blog/command-line-interface#comments]]></comments><pubDate>Wed, 06 Jul 2016 19:51:19 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.prithvi.website/blog/command-line-interface</guid><description><![CDATA[Familiarize yourself with CLI commands. Can't stress this enough, these are very helpful and you'll be using it on a day-to-day basis. I'm in love with these commands, definitely a productivity booster.&nbsp;Interested to learn more on CLI? You can find it&nbsp;here. [...] ]]></description><content:encoded><![CDATA[<div class="paragraph" style="text-align:left;">Familiarize yourself with CLI commands. Can't stress this enough, these are very helpful and you'll be using it on a day-to-day basis. I'm in love with these commands, definitely a productivity booster.&nbsp;<br /><br />Interested to learn more on CLI? You can find it&nbsp;<a href="http://www.cs.princeton.edu/courses/archive/spr05/cos126/cmd-prompt.html" target="_blank">here</a>.</div>]]></content:encoded></item><item><title><![CDATA[Ready to get started?]]></title><link><![CDATA[http://www.prithvi.website/blog/ready-to-get-started]]></link><comments><![CDATA[http://www.prithvi.website/blog/ready-to-get-started#comments]]></comments><pubDate>Wed, 29 Jun 2016 22:02:03 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.prithvi.website/blog/ready-to-get-started</guid><description><![CDATA[First-up, make sure you're setup is ready.&nbsp;&#8203;Basic setup:&nbsp;Open a&nbsp;GitHub AccountInstall&nbsp;Homebrew&nbsp;Install&nbsp;Git&nbsp;Install&nbsp;Node.js&nbsp;Install&nbsp;Sublime Text&nbsp;, use plugins via&nbsp;package manager&nbsp;to increase your productivity.&nbsp; [...] ]]></description><content:encoded><![CDATA[<div class="paragraph" style="text-align:left;"><span>First-up, make sure you're setup is ready.&nbsp;</span><br /><span>&#8203;</span><br /><span>Basic setup:&nbsp;</span><ol><li>Open a&nbsp;<a target="_blank" href="https://github.com/">GitHub Account</a></li><li>Install&nbsp;<a target="_blank" href="http://brew.sh/">Homebrew&nbsp;</a></li><li>Install&nbsp;<a target="_blank" href="https://git-scm.com/book/en/v1/Getting-Started-Installing-Git">Git</a>&nbsp;</li><li>Install&nbsp;<a target="_blank" href="https://nodejs.org/en/download/">Node.js&nbsp;</a></li><li>Install&nbsp;<a target="_blank" href="http://www.sublimetext.com/3">Sublime Text</a>&nbsp;, use plugins via&nbsp;<a href="https://packagecontrol.io/" target="_blank">package manager</a>&nbsp;to increase your productivity.&nbsp;</li></ol></div>]]></content:encoded></item><item><title><![CDATA[All T﻿hings Javascript]]></title><link><![CDATA[http://www.prithvi.website/blog/all-things-javascript]]></link><comments><![CDATA[http://www.prithvi.website/blog/all-things-javascript#comments]]></comments><pubDate>Wed, 29 Jun 2016 22:00:58 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.prithvi.website/blog/all-things-javascript</guid><description><![CDATA[I'll be documenting everything related to Javascript. From Basic Javascript to frameworks and everything in-between. It's going to be a fun ride! [...] ]]></description><content:encoded><![CDATA[<div class="paragraph" style="text-align:left;">I'll be documenting everything related to Javascript. From Basic Javascript to frameworks and everything in-between. It's going to be a fun ride!</div>]]></content:encoded></item></channel></rss>