Upgrade to Pro — share decks privately, control downloads, hide ads and more …

'Code Smells - Developing Design Sense for your...

'Code Smells - Developing Design Sense for your Code - Bad Names' by Llewellyn Falco

'In order to make delicious food,you must eat delicious food…. you need to develop a palate capable of discerning good and bad. Without good taste, you can't make good food.' - Jiro Ono (World’s Best Sushi Chef). The same is true for great code. If we want to make great code we need a refined palate for what great code looks like. We need to look at code and develop a sense for it’s properties and smells. Sadly this is rarely ever done. Programmers are expected to just 'know' what is good and what is bad with ever getting a chance to develop and curate an aesthetic sense. Worse, code is rarely looked at unless it is causing us problems so we are expected to be gourmets while spending our time eating at McDonalds. Come work on your sense of code. We will look at many snippets to compare and contrast different aspects of what good code is. Learning Outcomes: How to identify and correct, Clutter, Long lines, Long Methods, Bad Names, Duplication, Inconsistency.

Link: http://agiledayriga.lv/index.html#session13

Agile Latvia

July 07, 2017
Tweet

More Decks by Agile Latvia

Other Decks in Technology

Transcript

  1. Bad

  2. Bad

  3. Bad

  4. Bad

  5. Bad

  6. Bad

  7. Bad

  8. Bad

  9. Bad

  10. Bad

  11. Bad

  12. Bad

  13. Bad

  14. Bad

  15. Bad

  16. Bad

  17. Bad

  18. Bad

  19. Bad

  20. Bad

  21. Bad

  22. Bad

  23. Bad

  24. Bad

  25. Bad

  26. Bad

  27. Bad

  28. Bad

  29. Bad

  30. Bad

  31. Bad

  32. Bad

  33. Bad

  34. Bad

  35. Bad

  36. Bad