0

Separate query from modifier

Alexandru Chirita 3 года назад 0

Hello,

The "Separate query from modifier" slide from course from page with link (
https://refactoring.guru/course/slides/separate-query-from-modifier ) has some refactoring steps that make no sense at all (at least in the step with the code example, it's not logical, but it gets fixed in the end towards the last refactoring steps). The issue is when the modifier method is calling the query method inside a loop statement, it's doing it wrong (the query method has a loop inside of it too so it's buggy the way it's refactored). Could you please fix that?


Thank you! Have a nice day!

Сервис поддержки клиентов работает на платформе UserEcho