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

Re: Which is a more efficient or meaningful way of calling methods ?

$
0
0

IMHO there is no preferable way, you should choose what is fitting more to your coding style.

 

I generally store those kind of data in (private/protected) attributes which I need to use through several methods (e.g. filling a posting table step-by-step) otherwise I use parameters (e.g. conversion routines).

 

BR,

Gábor


Viewing all articles
Browse latest Browse all 2069

Trending Articles



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