Is it good practice to call methods on designers?

Is it good to use methods from constructors?

+3
source share
3 answers

I assume that you are talking about other private / public functions of the initialized class.

As elsewhere, I would say that decomposing large complex behavior into subfunctions is good practice.

An obvious complication would be calling functions that rely on the object's as yet uninitialized content.

, ( ), , , , (, ).

+1

init() , , . .

+1

, . , , ( , ), "catch" Dispose() IDisposables, .

0

Source: https://habr.com/ru/post/1751127/


All Articles