---
title: "Luís Soares (@lsoares) | Hashnode"
description: "software developer. Read the latest articles by Luís Soares on Hashnode."
url: "https://hashnode.com/@lsoares"
---

@lsoares

# Luís Soares

@lsoares · Joined February 2021

software developer

[Website](http://luissoares.com/)

## Comments

[Dino Kacavenda thanks for reading my article. my point is that there rarely is the need of creating constants. And when there is, perhaps there's a smell around it. maybe you can find a better example 🤓](https://hashnode.com/posts/12-tips-for-writing-better-automated-tests/60190d3958cc670f3df45ae6/comment/6021d78e281265375d6436d4#reply-60225f71281265375d64434e)

Reply · Article · Feb 9, 2021 · [12 Tips for Writing Better Automated Tests](https://hashnode.com/posts/12-tips-for-writing-better-automated-tests/60190d3958cc670f3df45ae6)

[Nice article! My 2 cent: Usually, I don't agree with "Avoid magic numbers or strings". I wrote an article about it. I prefer DAMP and Evident Data (Kent Beck). I'd do instead: const userPosts = callToGetUserPosts(); expect(userPosts).toBe(1); which is a self-documenting single-liner.](https://hashnode.com/posts/12-tips-for-writing-better-automated-tests/60190d3958cc670f3df45ae6/comment/6021d78e281265375d6436d4)

Comment · Article · Feb 9, 2021 · [12 Tips for Writing Better Automated Tests](https://hashnode.com/posts/12-tips-for-writing-better-automated-tests/60190d3958cc670f3df45ae6)
