~/talk

"Ruby Smells"

Talkat RubyC 2017 · 2017-06-03..06-04· [ruby]
slides:none on file

Ruby projects accumulate concrete, fixable smells: examples include duplicate method call (same expensive API hit repeated), data clump (latitude/longitude passed everywhere), repeater conditional (location checks duplicated) and feature envy or attribute smell. Static tools used are Reek (and RuboCop) to locate smells; Reek finds hundreds of warnings, the Reek codebase shows “five screens” of issues and a team fixes a third in a month. Advice includes configurable thresholds, whitelist generation (reek --to-do) and pragmatic, case-by-case refactoring with tests before aggressive rewrites.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Minor things I dont like
  3. 1:23Im not saying Ruby smells
  4. 4:51Its not necessarily a bad thing
  5. 5:22Its nice sometimes
  6. 6:12Code examples
  7. 7:00Ruby Smells
  8. 9:33Metric
  9. 10:56Separation Matrix
  10. 11:36Refactoring
  11. 13:07DataClamp
  12. 15:00Sustain
  13. 15:10Location
  14. 15:29Repeater conditional
  15. 16:32Ruby predicate
  16. 17:09Ruby boolean parameter
  17. 17:24Code refactoring
  18. 18:37Utility function
  19. 20:05Attendees
  20. 20:53Initializer
  21. 21:50Partition
  22. 22:33FeatureEnv
  23. 22:43BusinessProcess
  24. 23:23Excited predicate
  25. 23:58Hub of programming
  26. 24:25Attribute Smell
  27. 25:28Dont Ask
  28. 25:45immutable objects
  29. 26:24instance variables
  30. 27:02burn your gutters
  31. 27:23realworld examples
  32. 27:41eigenvalue
  33. 28:00testkumi
  34. 29:07code smell
  35. 30:01cosmetic code smell
  36. 30:25pragmatic code smell
  37. 31:07how to find code smells
  38. 31:24Robocop for architecture
  39. 33:35Comments
  40. 34:12Configuration
  41. 36:50Code Comments
  42. 37:17Reconfiguring Parameters
  43. 38:13Hope
  44. 38:58Cowboy
  45. 39:42Can I do this more
  46. 40:05Cold Climate
  47. 41:52Guidelines
  48. 42:02Thank you
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.