Your comments

Hi, Atanas.


Great question! In most cases, this refactoring is mandatory as a step towards the Extract Method which is extremely common and useful. Replace Temp with Query can eliminate a local variable that stands in the way of extracting code into separate method.

As with other performance issues, let it slide for the moment. Nine times out of ten, it won't matter. When it does matter, you will fix the problem during optimization. With your code better factored, you will often find more powerful optimizations, which you would have missed without refactoring. If worse comes to worse, it's very easy to put the temp back.

Спасибо, это тоже сейчас исправил.

Спасибо за баг репорт, исправление будет доступно на сайте через 10 минут.

UPD: PDF версия теперь тоже доступна.

Спасибо, исправил ошибку.

Спасибо за баг репорт! Ошибка исправлена.

Спасибо за баг-репорт. Я нашёл и исправил ошибку в Java/C# сценариях, теперь всё должно проигрываться как надо. Прошу прощения за неудобства.