Re: [mh] Your help re Genericising Error and log handling

Brian M <[email protected]>
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>

On 1/12/21 11:00 AM, Rick Steeves wrote:
> Might it not make more sense to modify print_log, so that, as is, it 
> keeps working as expected, but in any case that print_log was called 
> with more than one parameter then new things happened?
>
> That makes all the existing code keep working, but new code (or people 
> modifying existing code) could just add parameters.
>
> If you were going to do a search/replace for print_log, you're still 
> going to have to find all the cases of it and manually adjust them for 
> what you want to have happen.
>
> That would avoid creating a new function, have it keep working as-is 
> in all the existing code, and let it be adjusted on a case-by-case basis. 


I agree with Rick.




________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.