Yarden-zamir / palindromeRestApi

An application that manages messages and preforms basic checks on them
MIT License
1 stars 0 forks source link

modular frame for messages #3

Closed Yarden-zamir closed 2 years ago

Yarden-zamir commented 2 years ago

Messages should not by default provide things like isPalindrome, instead they should only have the barebones (content, datePosted, dateEdited, (maybe id as well? because the messages value comes from it's contents only I feel like id's are unnecessary, something to think about)). Then, we instantiate additional logic that we want them to have like isPalindrome, wordCount, isRealWord etc... Now the question is if we store that information or evaluate it when asked

Yarden-zamir commented 2 years ago

13

14