Matheus Marabesi website, sharing ideas about software development - Listing posts on page 2

The history of test doubles

Test doubles are objects that are used to replace real objects in tests. They are used to isolate the code being tested from its dependencies, to simplify the code being tested, or to speed up tests. There are five main types of test doubles mocks, stubs, fakes, dummies, and spies. Mocks are used to simulate the behavior of real objects. Stubs are used to provide canned responses to method calls. Fakes implement the same interface as real objects but with simplified or simulated behavior. Dummies do nothing. Spies track how real objects are being used.

Product Management For Dummies a Review

An opinionated review of the book Product Management for Dummies, based on years of experience as a developer.

Live coding with web workers an experimental code kata

This article describes a coding dojo about web workers and test-driven development (TDD). The authors started by introducing web workers and their benefits and drawbacks. Then, they implemented a simple example and a more complex example to explore the limitations of JavaScript and how web workers can improve performance. In the second part of the dojo, the authors applied TDD to refactor their code to use web workers.

Tidy first? Software design by Kent Beck

The book starts with the tydings which are decent of refactoring but with a focused area and not that much of showing concrete code, the key is to understand the concept. In the second part, Beck goes towards a more professional point of view talking about managing the tydings, the chapters in this section provide tips on how to start and keep tyding the code base. Many of us (programmers) usually get lots of changes and forget about the focus of why we are tyding things, this part is to help programmers to avoid this situation. The last part of...

Cracking the Code: Unveiling the Traits of a Great Software Engineer - Paper Review

Contribution of the paper is the understanding of software engineering expertise as viewed by experts software engineers.

A Deep Dive into Vue.js Composition API: My Personal Handbook

This is a collection for mypersonal notes for Vue 3 Composition AI course from VueSchool.io, there is an attempt to collect the most important bits from the course and mix it together with another known sources to help getting the hands on the composition API.

The lack of leadership and the focus on process in an agile environment

Recently listening to the podcast Agile for humans that I often listen to, as I like to understand different aspects of software development. In both hosts have a series in which they answer questions from the audience, usually the episodes are fast and to the point, without much details or talking through the subject. The episode “YDS - Should the Scrum Events Be Entertaining?” was a mix of bouncing ideas (in the short time both of them had) and trying to focus on an outcome for the audience and the conclusion was a straight - they should be effective. In...

Is there a testable architecture?

As I navigate towards other approaches of testing software, I see that there are some arguments in favor of testability. For example, cucumber names ports and adapter as a testable architecture. In the fourth edition of the book software architecture in practice the chapter 12 dedicated to tstability elaborates on what might be a testable architecture and list its attributes rather than name a single architectural style. The importance of listing attributes depicts a broader picture which leads to other architectures also being labeled as “testable” besides the ports and adapters.