arkus.space
  • Home
Sign in Subscribe

TypeScript

A collection of 3 posts
Writing short utility scripts in JavaScript or TypeScript is actually ok
Scripting

Writing short utility scripts in JavaScript or TypeScript is actually ok

Sometimes, you want to make some part of the workflow automated, so you don't need to repeat the same manual tasks again and again. When it's a bunch of commands that you need to execute sequentially, most people go for bash scripts (UNIX people, Windows users
Jul 31, 2023 6 min read
Hiding secrets from console.log - TypeScript
TypeScript Featured

Hiding secrets from console.log - TypeScript

How many times have you found sensitive information in the logs (like console.log call or actual log files from winston or pino)? Have you ever come across sensitive information such as a user's plain-text password or a database connection string in the logs? It's very
Jul 9, 2023 12 min read
Exhaustive Switch Statements in TypeScript
Type Safety Featured

Exhaustive Switch Statements in TypeScript

When working with enums in Rust, I realized that switch statements in TypeScript are not exhaustive. This means that the compiler doesn't warn you if you forget to handle a case in a switch statement. This is a problem because it can lead to bugs that are difficult
Jun 14, 2023 5 min read
Page 1 of 1
arkus.space © 2025
  • Sign up
Powered by Ghost