DEV Community

Discussion on: Code comments are (mostly) a violation of DRY

Collapse
danrot90 profile image
Daniel Rotter Author

Totally agree, that would be better and avoid a comment, and it could have been included as well. But just extracting the variable makes the same point, and this way I had to to dive less into the class structure 🙂