Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8493

Re: Scope of objects (OOP) in a transformation

$
0
0

You'll have e.g. ten parameters  - that reduces readability. You also have to carefully choose your parameters. Much simpler to have a getter for each value that you want.

 

Simpler programming is more robust than complicated. As a general principle, methods with too many parameters are usually an indication of something not right.


Viewing all articles
Browse latest Browse all 8493

Trending Articles