It looks like you're new here. If you want to get involved, click one of these buttons!
Hey guys, what do you make of this programming?
Even though am not a guru coder, I will avoid this too long nested if conditions.
To maintain clean code I'll rather use shorthand, also it is impossible to returns separate errors string for each condition
I will just put those things in a function and return either a general error message, or individual error messages.
Yepa... Looks like excel if... Condition
If am employed to revisit this kind of code, chai..i will cry all night then resign the next morning.