Shane Yu

I'm a passionate software engineer and this is my blog.

About Me

My name is Shane Yu, and I am a full-time employed senior software engineer who is very passionate about what I do.

I have been engineering software and web applications for over years, but I first found my passion for it many years before. Although I am primarily a software and web engineer, I love to dabble with game development using Unreal Engine and Unity3D, with a dream of building and releasing my own game someday.

I have built this blog in order for my to share with you things I have learned or achieved as I am a strong advocate of supporting the software engineering industry, open source and all these great things.

Latest blog posts

Here are my latest blog posts, you can view all of them here.

Modern Naming Conventions in TypeScript: Avoiding the I Prefix and Interface Suffix

Learn how to write cleaner, more readable TypeScript code by adopting modern naming conventions. This post explains why outdated prefixes like I and suffixes like Interface are unnecessary, and how to use consistent type aliases and descriptive names to improve your codebase.

Published on

4 min read

Why You Should Use Maps in JavaScript and TypeScript Instead of Arrays

Learn why Maps can outperform arrays in JavaScript and TypeScript for key-value storage, flexible key types, and efficient lookups. Discover best practices and examples for using Maps in your TypeScript code.

Published on

5 min read

Achieving Immutability in JavaScript and TypeScript

Let's explore how to achieve immutability in JavaScript and TypeScripts, which is essential for creating stable and predicable code.

Published on

6 min read

TypeScript 5.0 - Enums are now union enums

TypeScript 5.0 has introduced union enums, which means that each enum member has its own type, and the enum itself is turned into a union of each member type. This update is a significant improvement that makes working with enums in TypeScript more powerful, easier to use and worth now worth using.

Published on

2 min read

How to create a custom form control in Angular

Learn how to build a fully functional custom form control, compatible with template-driven and reactive forms, as well as with all built-in and custom form validators.

Published on

15 min read

Latest tutorials

Here are my latest tutorials, you can view all of them here.

Minecraft 1.19 (forge) modding tutorial

In this tutorial series you will learn to create Minecraft 1.19 (forge) mods with custom items, blocks, tools, armour, food with effects, ore generation and recipes.

Published on

Categories

Angular

Angular is a platform for building mobile and desktop web applications.

Minecraft

Minecraft is a popular sandbox video game that allows players to build, explore, and adventure in a blocky 3D world. It was first released in 2011 and has since become one of the best-selling video games of all time.

Node JS

Node.jsĀ® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

TypeScript

TypeScript is JavaScript with syntax for types that is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.