Interesting!
Your approach would actually eliminate the cons that i mentioned. Thanks for book mention, will check it out.
Based on your comments it can look something like this.
functionrun(){if(isMobile){runMobileFlow();}else{runWebFlow();}}functionrunMobileFlow(){notifyInApp();log();}// only to be called in MobilefunctionnotifyInApp(){}functionrunWebFlow(){sendEmail();log();}// only to be called for webfunctionsendEmail(){}functionlog(){console.log("common logging");}// Startrun();
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Interesting!
Your approach would actually eliminate the cons that i mentioned. Thanks for book mention, will check it out.
Based on your comments it can look something like this.