Open in app

Sign in

Write

Sign in

Sherlynn
Sherlynn

325 Followers

Home

About

May 7, 2020

TypeScript — What & Why You Should Use It

In my current project, we’re using TypeScript (rather than pure Javascript) for a large-scale application with Node.JS on the server side. …

JavaScript

4 min read

TypeScript — What & Why You Should Use It
TypeScript — What & Why You Should Use It
JavaScript

4 min read


Dec 29, 2019

Async/Await in Asynchronous Javascript

To handle asynchronous Javascript, callbacks were first used but it had major cons like callback hell. Then came about promises to try to improve things. However, .then chains can also get nested and confusing. So now, we have async/await, which was introduced in NodeJS 7.6 …

JavaScript

3 min read

Async/Await in Asynchronous Javascript
Async/Await in Asynchronous Javascript
JavaScript

3 min read


Aug 31, 2019

Javascript ES6 Array & Object Destructuring

ES6 introduced a number of significant improvements to the language, including de-structuring of Objects and Arrays. Array Destructuring Traditionally, to access elements in an Array, you would do so with their index number like so: const array = [1, 2, 3]; console.log(array[0]) // 1 Javascript ES6 allows you to assign the array…

ES6

2 min read

Javascript ES6 Array & Object Destructuring
Javascript ES6 Array & Object Destructuring
ES6

2 min read


Published in

The Startup

·Aug 18, 2019

Use Promises over Callbacks, and How to Create a New Promise in Javascript

Promises are widely used instead of callbacks. Promises are a great feature in Javascript that enable you to avoid callback hell, especially when you need to wait on a response from multiple API requests that are asynchronous. A Promise is a special Javascript object that represents the eventual result of…

JavaScript

2 min read

Use Promises over Callbacks, and how to create a new Promise in Javascript
Use Promises over Callbacks, and how to create a new Promise in Javascript
JavaScript

2 min read


Jan 27, 2019

Run multiple NodeJS versions with Node Version Manager (NVM) — for MacOS

If you use Node.js for your applications, you may want to use different versions of Node. Fortunately, there is a tool to manage them all using Node Version Manager. Node.js

JavaScript

3 min read

Run multiple NodeJS versions with Node Version Manager (NVM) — for MacOS
Run multiple NodeJS versions with Node Version Manager (NVM) — for MacOS
JavaScript

3 min read


Jan 23, 2019

Javascript: Splitting an array into chunks (utility function)

For a work project, I needed to include a wizard form with 2 questions on each page. To get the total page count, I divided the total number of questions by 2 and then rounded it off to the nearest integer. …

JavaScript

2 min read

Javascript: Splitting an array into chunks (utility function)
Javascript: Splitting an array into chunks (utility function)
JavaScript

2 min read


Jan 20, 2019

Javascript Templating Language and Engine— Mustache.js with Node and Express

Javascript Templating Javascript templating is a fast and efficient technique to render client-side view templates with Javascript by using a JSON data source. The template is HTML markup, with added templating tags that will either insert variables or run programming logic. The template engine then replaces variables and instances declared in a…

JavaScript

3 min read

Javascript Templating Language and Engine— Mustache.js with Node and Express
Javascript Templating Language and Engine— Mustache.js with Node and Express
JavaScript

3 min read


Jan 1, 2019

Coders — How to add source code to your Medium articles

So as I was writing an article pertaining to coding work, I knew that I could add Code blocks & Inline code as a feature provided by Medium. Code block To begin a code block, on a new line type in ``` (triple backtick). …

Tech

2 min read

Coders —  How to add source code to your Medium articles
Coders —  How to add source code to your Medium articles
Tech

2 min read


Sep 3, 2017

Ruby on Rails Beginner Adventures: Simple Blog Application

Coding Bootcamp Week 3: ALPHA Camp (Singapore) Previous: Week 1 And Week 2 This week, we started learning Ruby on Rails! I was initally unclear about the basic definitions so let define it here. Ruby is a programming language whereas Rails is a gem, or a Ruby library. Specifically, Rails…

Ruby On Rails

13 min read

Ruby on Rails Beginner Adventures: Simple Blog Application
Ruby on Rails Beginner Adventures: Simple Blog Application
Ruby On Rails

13 min read


Published in

Age of Awareness

·Aug 27, 2017

The more I learn, the more I realize how much I don’t know.

Coding Bootcamp Week 2: ALPHA Camp (Singapore) For Week 1’s post, refer here. Two weeks passed quickly in the blink of an eye. For this week, we touched on mainly HTML, CSS and Bootstrap. Midweek, felt a little overwhelmed as I learnt that there’s so many things I don’t know and want to learn. …

Alphacamp

5 min read

The more I learn, the more I realize how much I don’t know.
The more I learn, the more I realize how much I don’t know.
Alphacamp

5 min read

Sherlynn

Sherlynn

325 Followers

Software Engineer

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams