SICP Goodness - A deep dive into square root procedure

Put together the sqrt related stuff from SICP

7 minute read

Do you think Computer Science equals building websites and mobile apps? Are you feeling that you are doing repetitive and not so intelligent work? Are you feeling a bit sick about reading manuals and copy-pasting code and keep poking around until it works all day long? Do you want to understand the soul of Computer Science? If yes, read SICP!!! There are several epic example problems in the book, the first one of them is of how to calculate the square root of a number.

3 minute read

Do you think Computer Science equals building websites and mobile apps? Are you feeling that you are doing repetitive and not so intelligent work? Are you feeling a bit sick about reading manuals and copy-pasting code and keep poking around until it works all day long? Do you want to understand the soul of Computer Science? If yes, read SICP!!! In this post I give my guess of where the new let keyword in JavaScript comes from.

SICP Goodness - Why you don't need looping constructs

About different types of recursion

6 minute read

Do you think Computer Science equals building websites and mobile apps? Are you feeling that you are doing repetitive and not so intelligent work? Are you feeling a bit sick about reading manuals and copy-pasting code and keep poking around until it works all day long? Do you want to understand the soul of Computer Science? If yes, read SICP!!! I was quite shocked when I first read the following text from the book:

SICP Goodness - Applicative Order v.s. Normal Order

Some goodness from the book Structure and Interpretation of Computer Programs

3 minute read

Do you think Computer Science equals building websites and mobile apps? Are you feeling that you are doing repetitive and not so intelligent work? Are you feeling a bit sick about reading manuals and copy-pasting code and keep poking around until it works all day long? Do you want to understand the soul of Computer Science? If yes, read SICP!!! This is the first post of this SICP Goodness series, in which I discuss some of my own findings from reading the book SICP.

How to Setup ESLint and Prettier in VSCode For React Project

How to setup ESLint with Prettier in VSCode for React Project

1 minute read

Create a React App: npx create-react-app my-app Install ESLint and Prettier in VSCode. In the project directory, run npm i prettier eslint-config-prettier eslint-plugin-prettier -D In User Settings (ctrl + ,), put in the following: { "editor.formatOnSave": true, "[javascript]": { "editor.formatOnSave": false }, "eslint.autoFixOnSave": true, "eslint.alwaysShowStatus": true, "prettier.disableLanguages": [ "js" ], "files.autoSave": "onFocusChange" } Create an .eslintrc file: { "extends": ["react-app", "plugin:prettier/recommended"] } If your project is not under git, run git init.