mercredi 29 juillet 2020

For an application input do you have to code 1000s of if else statemetnts

I was building an application similar to an Amazon Alexa or Siri and I was designing the input system and realised I would have to run an if statement for every single command I've programmed in. Is there any way to reduce this or do I literally need to program 1000's of if statements

Aucun commentaire:

Enregistrer un commentaire