DanielHabib / terminal-based-comp-sci-quiz

Terminal Based Computer Science assessment
28 stars 9 forks source link

segregate prompt file by topic. #18

Open vivekimsit opened 7 years ago

vivekimsit commented 7 years ago

I see that we are adding questions to prompt file in serial manner and in future it may become difficult to edit the contents of the file, what I am thinking is to have different file / folder by topic, wdyt?

DanielHabib commented 7 years ago

That's a good idea. To solve the issue initially we could start by splitting up the prompts into different folders. The only issue I see coming up is that it will be difficult to determine what the next id should be for a given prompt. Since we currently aren't leveraging the ids for anything significant, we could just remove them for now and address question ids when it becomes an issue

vivekimsit commented 7 years ago

Why not go with some simple database solutions like SQLite?