Used throughout quiz.erb and quiz_complete.erb with array indexing which lowers the clarity of the code.
Also an example of primitive obsession (poor cohesion) but justifiable at the moment as it's not widely used and used only in tightly coupled areas of the code so will change for the same reasons anyway.
Plan is to use a symbol based dictionary with descriptive keys, to improve clarity.
In main.rb
Used throughout quiz.erb and quiz_complete.erb with array indexing which lowers the clarity of the code.
Also an example of primitive obsession (poor cohesion) but justifiable at the moment as it's not widely used and used only in tightly coupled areas of the code so will change for the same reasons anyway.
Plan is to use a symbol based dictionary with descriptive keys, to improve clarity.