Siddharth

@siddharthshyniben

232 Points 2 Followers

7 Posts

0 Answers

Jack of all trades, master of some.

Siddharth ยท 8 months ago

I made a Node.js colors library in 192 bytes minzipped (+ code explanation!)

A few minutes ago, I published PlanckColors. It's probably the smallest node module for colors on the internet, at just 119 bytes minzipped! It's so small, here's the source code: let p=['bl...
4

Siddharth ยท 8 months ago

MDSveX: The bridge between Markdown and Svelte

A few days ago, I was looking around for tools to write my blog. I knew about MDX, but I wasn't really good at React and friends, which seemed to be the only frameworks supporting MDX painle...
2

Siddharth ยท 8 months ago

Debug a node.js app using the built-in debugger

It's about time we stop using console.log to debug things. While console.* are really powerful tools, it's a pain to maintain. Most of us can use our IDEs to debug code. But did you know tha...
5

Siddharth ยท 8 months ago

Understand Functional Programming basics by (re)writing FizzBuzz

Functional programming is a way of thinking about programs by composing pure functions. It tries to avoid shared state, mutability, and side effects. This makes the code easier to reason abo...

Siddharth ยท 8 months ago

5 Secret features of JSON you didn't know about ๐Ÿคฏ

I'm pretty sure you have used the global JSON object for a variety of things, like in fetch requests and to avoid the dreaded [object Object]. I also bet you didn't know about the rest of th...
5

Siddharth ยท 9 months ago

Explained: Imperative vs Declarative programming

You most probably have heard of declarative vs imperative programming. You might also have looked it up, and got something like this In computer science, declarative programming is a progra...
4

Siddharth ยท 9 months ago

The complete guide to destructuring in JavaScript

Two commonly used data structures in JavaScript are Object and Array. And many times we may need to extract individual pieces of the object instead of the whole thing. This is where Destruct...
3

Loading More Content