Ternary Operators can clean up your code

JavaScript Syntax for ternary operators

(condition) ? true : false;

Use Case

Consider a situation where you need to work with 3 variables where the assignment of one variable depends upon comparing the other 2 variables. Continue reading “Ternary Operators can clean up your code”

Call Stack and Stack Overflows

In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program. This kind of stack is also known as an execution stack, program stack, control stack, run-time stack, or machine stack, and is often shortened to just “the stack”. Continue reading “Call Stack and Stack Overflows”

What’s a Googlebot?

Think of Googlebot(sometimes referred as ‘Spider’) as a robotic visitor that likes to visit all sites that it can find. It visits a page and then recursively visits every other link that is not blocked by robots.txt or does not have a rel=”nofollow” meta tag.

Here is an always up to date article about the googlebot on Google webmasters support page