Sunday, March 21, 2021

OO vs FP

 Fumbled across this article that explained in simple terms the difference between Object Oriented Program Vs Functional Programming.

https://www.codenewbie.org/blogs/object-oriented-programming-vs-functional-programming

Sunday, March 14, 2021

OAuth

 What if a little thing that you learned increases your appetite and inquisitiveness to learn more? I found the following you tube introductory tutorial on OAuth and got into the rabbit hole of learning more. Check it out:

https://www.youtube.com/watch?v=t4-416mg6iU

About OAuth flows from the same presenter:

https://www.youtube.com/watch?v=3pZ3Nh8tgTE

Here's another one from the same author on JWT:

https://www.youtube.com/watch?v=soGRyl9ztjI


Monday, January 18, 2021

TypeScript: A basic understanding

  • TypeScript is a superset of JavaScript.
  • TypeScript file gets transpiled into a JavaScript file.
  • TypeScript is all about Types. A JavaScript variable can be assigned with any primitive type. TypeScript on the other hand helps to define the type of a variable.
  • Following are the pre-defined types in TypeScript: boolean, bigint, null, number, string, symbol, object, undefined, any, unknown, never, void.
  • On the other hand, TypeScript provides two syntaxes to build types: Interfaces and Types.
  • Also, TypeScript helps you to create complex types by combining simple ones. There are two popular ways to do so: Unions, Generics.
  • Read more: https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html. This page is good enough to get a clear understanding of TypeScript.
Other references: