Please enable JavaScript.
Coggle requires JavaScript to display documents.
Clean Architecture (Разное (Vertical seperation (Variables and functions…
Clean Architecture
Разное
-
-
-
-
-
-
-
Too much information
Interfaces, functions, number of methods
-
-
-
-
Functional linking
When method used the method of other class to manipulate data of that class it means, that he
wants to get the scope of that class
-
-
-
-
-
-
-
-
-
-
-
Hided time connections:
When the sequence of functions is extremely important for getting the wright result, but can be easily changed by other developer.
Return fun1 -> arg1, fun2(arg1) -> arg2 , fun3(arg2) -> ...
The structure of the code should be justified and should be followed. Im other case, it may be easily changed by other developer
-
-
-
-
tests
-
-
-
use Ignore test as a question to the system
-
-
-
-
-
-
Коментарии
Неуместная информация
Example: History of changes, author, date of creation etc.
Устаревший комментарий
Happens often, never wright comments that may expire
-
-
Закоментированный код
Never gonna be deleted, cause nobody knows, if it gonna be used or not by someone else
Функции
Слишком много аргументов
The best is 0, more than three is not appropriate
Выходные аргументы
Output args is not appropriate,. If function have to change smth, let it be the obj, for witch it was called
-
Мертвые функции
if the function is never called, it should not be in the code
Java
-
Never extend from constantt, use static import
-
-
-