Hi all,
Quick question about how to write functions. I have read it is better to write show() and hide() rather than setVisible(boolean) so going on that logic is it better to have a seperate function to wrap up some process like doAJob(), doBJob(), doCJob() rather than doJob(typeOfJob)? And I need to understand the reasoning behind WHY this is better.
Spend like you don't need the money,
love like you've never been hurt and dance like no one's watching!
Quick question about how to write functions. I have read it is better to write show() and hide() rather than setVisible(boolean) so going on that logic is it better to have a seperate function to wrap up some process like doAJob(), doBJob(), doCJob() rather than doJob(typeOfJob)? And I need to understand the reasoning behind WHY this is better.
Spend like you don't need the money,
love like you've never been hurt and dance like no one's watching!