Tag: Code refactoring
C# Delegates with IoC containers and Dependency Injection
Posted on May 26, 2020, Level intermediate Resource Length long
Developers are usually encouraged to do dependency injection with interfaces. Some developers don't know that they can do dependency injection with delegates, and there are good reasons to do this. By Christian Findlay.
How to refactor code that has no tests using the Golden Master technique
Posted on May 11, 2020, Level intermediate Resource Length short
The number one rule when refactoring is to always have tests in place before you start refactoring. Without tests, refactoring becomes a risky endeavor. Written by Mak.
Using the Python zip() function for Parallel Iteration
Posted on October 28, 2019, Level intermediate Resource Length long
Leodanis Pozo Ramos wrote this tutorial about Python's zip() function. It creates an iterator that will aggregate elements from two or more iterables.
Posted on June 28, 2019, Level intermediate Resource Length long
The comparison done by Alexey Karasev focusing on Monads in different programming languages. It gives a brief explanation of monads and shows how to implement the most useful Monads in five different programming languages.
Design patterns in Node.js: a practical guide
Posted on June 27, 2019, Level beginner Resource Length long
Fernando Doglio, Technical Manager @Globant, wrote this piece about design patterns in Node.js. Design patterns are part of the day to day of any software developer, whether they realize it or not.
Things I learnt the hard way (in 30 years of software development)
Posted on June 22, 2019, Level beginner Resource Length long
This is a cynical, clinical collection of things Julio Biason learnt in 30 years working with software development.
API design: Why you should use links, not keys, to represent relationships in APIs
Posted on May 17, 2019, Level intermediate Resource Length long
An article by Martin Nally from Google about how expressing relationships is very important in APIs. The most common way that API developers express relationships is to expose database keys, or proxies for them, in the fields of the entities they expose.
Using Behave framework for Selenium BDD testing
Posted on September 4, 2018, Level intermediate Resource Length long
An article by Dzmitry Ihnatsyeu published by guys from BlazeMeter about automating the testing of an application. There are many ways of testing -- like unit testing, test-driven development, keyword-driven development, behavior-driven development and so on. In this article, autho talks about one of the most popular approaches to test automation -- BDD or behavior-driven development.
Code review best practices
Posted on August 2, 2018, Level beginner Resource Length long
Palantir Technologies article about insights and best practices for code reviews. Organizations with deep cultural reluctance to peer reviews may want to consult Karl E. Wiegers' excellent essay on Humanizing Peer Reviews before trying to follow this guide.
How to Improve a Legacy Codebase
Posted on May 31, 2017, Level beginner Resource Length long
Jacques Mattheij has written neat article on topic of improving legacy code.