suggestions.js 1.3 KB

12345678910111213141516171819202122232425
  1. var suggestions = [
  2. "Did you try rebooting?",
  3. "Google it!",
  4. "I'd suggest you read Clean Code again.",
  5. "Does it follow the Single Responsibility Principle?",
  6. "Is it open/closed? Open for extension, but closed for modification.",
  7. "Don't expose your privates!",
  8. "Keep it simple.",
  9. "If it ain't broke, don't fix it.",
  10. "If you're refactoring, you need to wear the refactoring hat, not the new features hat.",
  11. "Composition over inheritance.",
  12. "Did you find any results on Google?",
  13. "Does it follow the interface segregation principle? Try pulling out the common functions into a shared interface.",
  14. "Dependency inversion: Depend on abstractions, not on concretions. (maybe you need a common interface there?)",
  15. "Take a step back and tell me what the <em>intention</em> of this is.",
  16. "I bet the man page would have some useful information.<br /><code>man [command]</code>",
  17. "There isn't always a <em>best</em>. Use the right tool for the right job.",
  18. "Do one simple, easy-to-understand thing. Make it work. Then add to it.",
  19. "All of these features are nice, but we should really focus on the minimum viable product.",
  20. "You use regular expressions on string manipulation! It's super effective!",
  21. "To change a file to be executable, you'll have to <code>ch</code>ange its <code>mod</code>ifiers. ;)",
  22. "What does the debug console say?"
  23. ];