Clean Architecture: TypeScript Express API

By employing clean architecture, you can design applications with very low coupling and independent of technical implementation details. That way, the application becomes easy to maintain and flexible to change. Clean architecture allows us to create architectural boundaries between dependencies which allows components to be intrinsically testable

Clean Code Names in TypeScript

Names are everywhere in software. We name our variables, functions, arguments, classes, modules, source files and directories. Because we do so much of it, we’d better do it well

JavaScript Refactoring

After reading and enjoying Martin Fowlers free chapter in his second edition on refactoring. I will attempt to suggest a more functional way of doing the same refactor.

Cleaner Exception Handling in JavaScript

Exceptions are when something exceptional or out of the ordinary happens. Here we suggest a cleaner way of handling exceptions. We do this by implementing a functional programming monad called Either.

TypeScript Interfaces and JavaScript Higher-Order Functions

An interface is a structure that defines the contract in your application. Classes that are derived from an interface must follow the structure provided by their interface. An interface is defined with the keyword interface and it can include properties and method declarations:

Crafting JS Applications with JSDoc and TypeScript

There are mixed feelings about using a dynamically typed language like JavaScript when building larger applications. Im not here to fight for JavaScript over Typescript. I will though illustrate how we can write JavaScript in combination with Typescript to assist us in doing this