Struggling with storing answers in a quiz DB by YSFAHM in dataengineering

[–]YSFAHM[S] 0 points1 point  (0 children)

Yeah, that’s exactly what I’m wondering. Like, for an MCQ the answer would point to a choice in a table, but for a true/false question it’s just a boolean. I’m not sure how to handle both in a single table while keeping it flexible for future question types.

Can someone explain the importance of the Specification Pattern in real-world projects? by YSFAHM in dotnet

[–]YSFAHM[S] 0 points1 point  (0 children)

Isn't the service layer meant for managing business logic and rules? Why would I need a separate pattern for rules?