Traditional classes are more flexible than records and can support mutable fields, inheritance, and additional methods. In scenarios where complex business logic or mutable state is needed, like a shopping cart object that changes state, a traditional class would be more suitable.
Additional Notes
When might a traditional class be favored over a Record?