|
|
От: | GarryIV | |
| Дата: | 13.04.25 23:37 | ||
| Оценка: | +1 -1 | ||
Все знают имена min, max, sqrt, pow, find, get, move, copyReaders shouldn’t have to mentally translate your names into other names they already
know.
Math.max(double a, double b) is a good static method.
Если читатели знают, что такое mac значит имя хорошее и пофиг сколько там букв и сокращение это или нет.Certainly a loop counter may be
named i or j or k (though never l!) if its scope is very small and no other names can con-
flict with it. This is because those single-letter names for loop counters are traditional.