Articles tagged with: Patterns & Practices

Avoiding relative imports in Javascript, TypeScript, Webpack and Jest

Summary: This blog post discusses how to avoid or remove relative imports in JavaScript projects by using module aliases in Webpack and Babel, as well as configuring path mappings in TypeScript and Jest. The goal is to make imports more readable and maintainable.


Don't avoid test randomness, embrace and control it

Summary: The blog post discusses the importance of embracing and controlling test randomness. The author argues against using fixed seed values in tests and suggests generating a random seed and printing it to reproduce failures. They highlight the benefits of using varied test data and the potential drawbacks of static test data. The post emphasizes the value of adding randomness to tests to uncover hidden bugs and achieve anti-fragility.


Book Review: System Design Interview

Summary: A review of the book 'System Design Interview - An Insider's Guide' by Alex Xu.


Book Review: 97 Things Every Java Programmer Should Know

Summary: Review of the book '97 Things Every Java Programmer Should Know' by Kevlin Henney and Trisha Gee.


Book Review: 97 Things Every Programmer Should Know

Summary: '97 Things Every Programmer Should Know' is a book containing 97 tips and advice for programmers, covering topics such as design patterns, testing, refactoring, and collaboration. Although it was published in 2010, most of the advice is still relevant today. The book is a good reminder of mostly good practices and can be read quickly.