Shane Yu

I'm a passionate software engineer and this is my portfolio/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 15 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.

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.

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.

TypeScript

Enum, short for Enumerated Type, is a language feature of many statically typed languages such as C#, Java and amongst many others. Software engineers use this feature to define sets of named constants that can be used within their code. But here is why to avoid them in TypeScript!

Here you can see a handful of examples showing how to generate a range of numbers using ES6. Examples include ability to specify a start and end value as well as the step value to use.

TypeScript

Latest tutorials

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

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.

Categories

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.

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.