Javascript
Objects and Primitives in Javascript
· ☕ 3 min read
Get to know all the practical knowledge about Javascript primitives and objects. In JavaScript, objects are king. If you understand objects, you understand JavaScript. - W3 Schools Everything except primitives is an object in Javascript. A couple of days back, we were talking about Javascript having the following primitives: bool, number, string, undefined and null.

Type Casting in Javascript
· ☕ 2 min read
Don’t know how to type? Get a typewriter. I always wanted to say that. But, if indeed you don’t know types - you can always head over to Javascript types to know more**. So, you know there are types. And, you also know that there can be many a problem in the lousy world of loose typing.

Typing Javascript
· ☕ 3 min read
This one thing I never said ever - “once you type, you cannot un-type”. Yep, I make up words and compete on how to level up in my eating my own words. Even if I allegedly uttered those words (which are totally unoriginal anyway), I happily don’t abide by them. I continue to use Javascript without types with all fervour (and have had a stint with typeless / loosely-typed scripting languages).

Switch from if/else hell
· ☕ 4 min read
Imagine you are in need of a complex if/then routine. No, not the below.. 1 2 3 const smart = true; if (smart) console.log("I am smart"); else console.log("I am not so smart"); .. but more of.. 1 2 3 4 5 6 7 8 9 10 11 12 13 function sum(a, b) { let smartMessage; if (a + b <= 0) smartMessage = "Negative numbers are not known and cannot be computed.

Reverse a String in Javascript
· ☕ 2 min read
Oh.. why? Why should we work on theoritical algo problems when we could develop the next Instagram or Salesforce.com? Because, son - you have to learn the different paths to glory. Why take the longer path when it can be shorter? That aside: let us look at multiple ways of reversing a string in Javascript.

Should you use ternary operator?
· ☕ 2 min read
Yes. Now, go back to work.. may be? What the heck is this? I am sure you used something called if/else? const sum = a + b; let result; if (sum > 100) result = "too high"; else result = "just right"; Instead of the “elaborate” syntax, we can just shorthand it.

Javascript Frontend Frameworks - A Quick Glance
· ☕ 3 min read
Frameworks in Javasripts make your life easy. A Javascript frontend framework encapsulates libraries, code structure, tools and utilities. What a framework contains is left to the philosophy of that framework and the community built around the framework. Javascript world today has numerous frameworks that are company or community maintained. We will delve further in that topic, but first.

Web Development - The Problem of Plenty
· ☕ 3 min read
Web developers today are a spoiled lot. I consider myself as an absolute beginner in the web development world, but I am truly amazed at the things I can do today with free / minimal cost infrastructure. The system automates everything except me - I am that stupid man in the middle.

Semicolon is Safer
· ☕ 3 min read
Javascript has and always have people who fight about anything and everything. I am always on the one side or the other, trying to raise the pitch whenever I can. After all, what is life if there is no stupidity? We should get annoyed, irritated, angered and humiliated at every instance possible.

Copy/paste Datatable Issues in Hugo
· ☕ 3 min read
It is interesting how the minor things eat away a lot of your time. Especially if you happen to be like me, one of the greater idiots on a planet full of idiots. One of the days, I had to create website really fast to demonstrate to a potential customer. I abandoned my dear old friend Jekyll since - well, I had to create something in Hugo.