What’s the difference between JSON and JavaScript object?Tech by Sunny Srinidhi - August 1, 2017March 18, 20200 Most often than you think, people confuse JSON with JavaScript objects. But are they same? Let’s see in this post.
Make Node.js debugging easier with colorful log messagesTech by Sunny Srinidhi - January 8, 2017February 9, 20170 I’m working on my second project in Node.js. I kind of love it. I haven’t yet decided to find out how better it performs compared to apps written in other languages, such as PHP, or Java. But writing Node.js apps is fun, mostly because you can get npm packages for almost everything you need during development. This helps you concentrate on the business logic and not worry about writing basic boilerplate code. What’s the advantage? Well, you can write a POC/MVP app really quickly. Anyway, one thing I noticed while working on the previous Node.js app was that debugging is a bit difficult if you, like me, have an obsession with having proper log messages everywhere. So one of the first
Why I love curly bracketsRantsTech by Sunny Srinidhi - August 19, 2016February 9, 20170 Curly brackets. Well, what can I say about them? They sure do have curves! And such curves, I’m addicted! I’ve been abusing them for as long as I remember. I abuse them even today. The day I saw a piece of code for the first time, over a decade ago, I knew I’d be using those curly brackets for the rest of my life. I’m talking about curly brackets in function definitions, loops, conditional statements. I wrote my first ever program in C. As you might have guessed, it was a simple Hello, World! program. I’m not going to talk about the awesome, exciting, orgasmic, feeling that your first ever program gives you. We’ve all been through that. I’m going to