Remove articles the-power-of-refactoring-extracting-interfaces-for
article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

Wouldn’t it be wonderful if there were a tool that alerted you to programming mistakes moments after you made them—a tool so powerful, it virtually eliminated the need for debugging? Test-driven development, , or TDD, is a rapid cycle of testing, coding, and refactoring. Second Edition cover. Your feedback is appreciated! Programmers.

article thumbnail

Functional Domain Modeling in Kotlin – Validation

Xebia

This article was originally published at 47deg.com on April 13, 2021. We can now easily construct an Event using the either computation block, which allows us to extract the success value to the left-hand side. At the end, we briefly discussed how we could use Arrow’s Either type to bring more type-safety into our business logic.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

Folks in the know use mocks and spies (I say “mocks” for short in this article) to write isolated interaction-based tests. Their tests are reliable and fast, but they tend to “lock in” implementation, making refactoring difficult, and they have to be supplemented with broad tests. The rest of the article goes into detail.

Testing 138
article thumbnail

AI Coding and Best Tools Compared

Altexsoft

This article will define AI coding, explore its main benefits and features, and evaluate five notable AI coding tools. Learn more from our dedicated article on deep learning and the future of artificial intelligence. They are not intended to replace human engineers but rather augment their capabilities.