tech/webdev magazine

December 13, 2021

How to implement Singleton in TypeScript

Monday, December 13, 2021 Teklinks

In software engineering, the singleton pattern is a software design pattern that restricts the instantiation of a class to one “single” instance. This is useful when exactly one object is needed to coordinate actions across the system. The term comes from the mathematical concept of a singleton.

Full article

Facade Pattern in TypeScript

Monday, December 13, 2021 Teklinks

Sometimes you have a system that becomes quite complex over time as more features are added or modified. It may be useful to provide a simplified API over it. This is the Facade pattern.

Full article

Search Params with React Router 6

Monday, December 13, 2021 Teklinks

A React tutorial which teaches you how to use Search Params with React Router 6. The code for this React Router tutorial can be found over here. In order to get you started, create a new React project (e.g. create-react-app).

Full article

December 12, 2021

Do I really need a skilled Software Architect? Guide for CTOs

Sunday, December 12, 2021 Teklinks

Do you think of software development mostly as a collection of difficult issues to solve and deal with? Do you find that you can’t focus on the exciting part of the process like creating new features and business logic and really turning your wildest ideas into (digital) reality? One of the reason

Full article

Can You Refactor JavaScript Safely Without Test Coverage?

Sunday, December 12, 2021 Teklinks

Taking tiny steps using automated refactorings can help, but ideally, this method is combined with high test coverage. Let's discuss how and why that is. Introduction The conventional wisdom is that you should have good test coverage before refactoring your code.

Full article

December 10, 2021

Developer Burnout — Signs, Impact, and Prevention

Friday, December 10, 2021 Teklinks

What is burnout? Burnout is an increasingly widespread and destructive mental health challenge for knowledge workers across professions and industries. Left unchecked, it is a silent killer of productivity, happiness, and team success.

Full article

Building a web3 frontend with React

Friday, December 10, 2021 Teklinks

In a previous tutorial, we covered how to create and deploy an NFT collectible smart contract from scratch. We also explored how to verify our contract on etherscan and enable yourself as well as your users to call functions directly from the contract’s etherscan page.

Full article