SOLID Principles in JavaScript
Which SOLID principle suggests that classes should be small and focused?
class Order {
calculateTotal() { /* ... */ }
validateOrder() { /* ... */ }
processPayment() { /* ... */ }
generateInvoice() { /* ... */ }
sendConfirmationEmail() { /* ... */ }
updateInventory() { /* ... */ }
generateShippingLabel() { /* ... */ }
updateCustomerHistory() { /* ... */ }
}