Jecelyn Yeen, Scotch Development

Jecelyn Yeen

Scotch Development

Malaysia

Contact Jecelyn

Discover and connect with journalists and influencers around the world, save time on email research, monitor the news, and more.

Start free trial

Recent:
  • Unknown
Past:
  • Scotch Development
  • Hacker Noon

Past articles by Jecelyn:

5 Tips to Write Better Conditionals in JavaScript

When working with JavaScript, we deal a lot with conditionals, here are the 5 tips for you to write better / cleaner conditionals. 1. Use Array.includes for Multiple Criteria Let's take a look at the example below: // condition function test(fruit) { if (fruit == 'apple' || fruit == 'strawberry') { console.log('red'); } } At first glance, the above example looks good. However, what if we get… → Read More

5 Tips to Write Better Conditionals in JavaScript

When working with JavaScript, we deal a lot with conditionals, here are the 5 tips for you to write better / cleaner conditionals. 1. Use Array.includes for Multiple Criteria Let's take a look at the example below: // condition function test(fruit) { if (fruit == 'apple' || fruit == 'strawberry') { console.log('red'); } } At first glance, the above example looks good. However, what if we get… → Read More

RxJS Operators for Dummies: forkJoin, zip, combineLatest, withLatestFrom

RxJS operators for Dummies: forkJoin, zip, combineLatest, withLatestFrom → Read More

3 Useful TypeScript Tips for Angular

These are the 3 tips I found pretty handy while working with Typescript: * Eliminating the need to import interfaces * Making all interface properties optional * Stop throwing me error, I know what I'm doing Though I discovered these while working with Angular application, but all tips are not Angular specific, it's just Typescript. Eliminating the need to import interfaces I like interfaces.… → Read More

Angular - Shortcut to Importing Styles Files in Components

Angular - Shortcut to Import Styles Files in Component → Read More

AI Translate: Bias? Sexist? Or this is the way it should be?

In short, when the translators (Google translate, Microsoft translator, etc) translate a sentence from gender neutral language(e.g. Turkish) to a non-gender neutral language(e.g. English), it make a… → Read More

How to Handle File Uploads in Vue 2

In this article, we will talk about how to handle file uploads with VueJs. We will create an images uploader that allow user to... → Read More

Express File Uploads with Multer

File upload is a common feature that almost every website needs. We will go through step by step on how to handle single and... → Read More

Express File Uploads with Multer

File upload is a common feature that almost every website needs. We will go through step by step on how to handle single and... → Read More

Handling File Uploads with Hapi.js

File uploading is a common feature that almost every website needs. We will go through step by step on how to handle single and... → Read More

Responsive Equal Height with Angular Directive

Let's look at a very common use case. You has a list of items, you need to display all nicely on screen in card... → Read More

3 Ways to Pass Async Data to Angular 2+ Child Components

Let's start with a common use case. You have some data you get from external source (e.g. by calling API). You want to display... → Read More

Component Inheritance in Angular 2

Angular 2.3 is released! One of the exciting new feature is component inheritance. Component inheritance is very powerful and it can increase your code... → Read More

JavaScript Promises for Dummies

Javascript Promises are not difficult. However, lots of people find it a little bit hard to understand at the beginning. Therefore, I would like... → Read More

Angular 2 Transclusion using ng-content

Wait a minute... What is transclusion?Understanding TransclusionDon't get confused by the term Transclusion. It's best explained using an example.Let's say we have a card... → Read More

Getting to Know Angular 2’s Module: @NgModule

Angular 2 has re-introduced the module concept since RC 5 onwards (and now Final Release!). Why reintroduced? It's because it exists in Angular... → Read More

How to Implement a Custom Validator Directive (Confirm Password) in Angular 2

In this article, we will be exploring Angular 2 built-in and custom validators.This article is built with Angular RC4.... → Read More

Using Angular 2’s Model-Driven Forms with FormGroup and FormControl

There are two ways to build forms in Angular 2, namely template-driven and model-driven.In this article, we will learn about building model-driven form with... → Read More