JavaScript/TypeScript try-catch doesn’t catch an error thrown in timer try-catch doesn't catch an error thrown in timer friend functions setTimeout, setInterval and setImmediate. Using timer ... 2021.06.28 JavaScript/TypeScript
JavaScript/TypeScript Recursive setTimeout vs setInterval Recursive setTimeout and setInterval behave differently. You need to know the difference and which to use depending on the specification. This post explains how to implement it and the difference with images. 2021.06.26 JavaScript/TypeScript
JavaScript/TypeScript Nested class or inner class in Typescript Inner class or nested class can be defined if you assign a class with an equal operator. Another way is to define a function that returns an object. If you call the function somewhere, the object can be handled as a class. 2021.06.24 JavaScript/TypeScript
JavaScript/TypeScript Is Map object faster than if-else and switch? Using map object is useful to replace switch-case or if-else that can easily be long lines. It improves the readability but how about the performance? Is it faster than switch-case and if-else? Let's compare the difference! 2021.06.22 JavaScript/TypeScript
Tips Why is refactoring your code important? Refactoring is the process to make existing code beautiful by restructuring it. It doesn't add features and change its b... 2021.06.20 Tips
JavaScript/TypeScript Node-RED node test fails when using sinon.useFakeTimer Node-RED test fails when replacing timer related functions. Our own node derives Node-RED node and it calls setImmediate... 2021.06.18 JavaScript/TypeScript
Tips Self learning guide to be a good programmer Do you want to start learning programming? Do you want to improve your programming skills but don't know what to do or i... 2021.06.16 Tips
Docker Building dev infrastructure with docker It is getting major to use cloud service to store source code but there are still many cases to build infrastructure in ... 2021.06.12 Docker
JavaScript/TypeScript 5 Refactoring techniques that you can immediately apply Many software developers want to know techniques that they can immediately apply to make their code readable. A function... 2021.06.08 JavaScript/TypeScript
Health Keeping high-performance brain and healthy Coding requires concentration. If we are tired code would be less readable. Without concentration, it is easy to add new... 2021.06.04 Health