Explain the SOLID principles. For each, give a one-line rule and a concrete real-world code example that violates it and how to fix it.