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

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 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>