?
2019-10-23 18:23:38 UTC
And i’ve been learning javascript this past month’s trying to achieve this.
And achieved a nice progress with it in, but the code is getting very very complicated due to the nature of javascript being a loop based language, so i need to create so many rules and conditions so the program will know what question to load and which one to regard. And it’s like all the questions are being processed all at the same time, and i need to manipulate what question the user is seeing, although really everything is being rendered recursively where one question renders the next one after the user submits, so it will never leave the main question function.
Unlike a normal programming language, where i could simply call one function at a time, wait for the user to respond, and then call the next function with no issue, no counter or anything like that..
So i’m considering now that javascript may not be the best tool for the job.
Do you agree? can you recommend something else to invest in? i’m open for suggestions.
I thought this would be a simple Q & A program, but it turns out it’s much more difficult.
Thanks.