First Post on This New Blog
Being inspired by Ryan, I decided to create my own personal blog with my own domain. The no-frills and material-like design is super neat and I love how it looks. I’m excited to start documenting m...
Being inspired by Ryan, I decided to create my own personal blog with my own domain. The no-frills and material-like design is super neat and I love how it looks. I’m excited to start documenting m...
Photo by Nataliya Smirnova on Unsplash What is a vtable? vtable: A vtable is essentially C++’s implementation of polymorphism. A vtable contains an array of pointers to virtual functions. Each clas...
Photo by Christina @ wocintechchat.com on Unsplash I once got asked this question in an interview for a fullstack developer intern position, and I was curious on the best way to answer it, so I did...
Template Literal Types You can concat and interpolate types together like strings type World = "world";type Greeting = `hello ${World}`; Documentation — Template Literal Types Mapped Type...
How does Gmail know that you got an email without you refreshing the page? Or how does Instagram know instantly that you got a follower request? Generally, there are two approaches: client pull or ...
Photo by Chris Ried on Unsplash I needed to dynamically create yup validations in TypeScript, which are accomplished by method chaining. I only needed to chain .required in the case that requiredBo...
Photo by Chris Ried on Unsplash The infer keyword was always confusing to me, despite reading up on it multiple times. I’ll try to explain it clearly here. Theinfer keyword can only be used in cond...
Photo by Chris Ried on Unsplash Now, after this PR has been merged, it is possible to create generic functions that infer literal expressions. If this seems complicated, let me give an example: by ...
Philosophy, Politics and Economics graduate Mr Nickson Quak delivering his valedictorian speech (Image Credit: NUS FASS) Also known as GEM2027/GEX1005. Taken in AY22/23 Sem 1 (Face to face lessons,...
I initially tried to use Instagram to post my writeups, but they were hard to read with the terrible formatting and limited my character count, so here I am. Substack is even worse because I just s...