Categories: None [Edit]
why-classes
why-classes is a linter and refactoring tool inspired by Dave Thomas's talk on the
over-use of classes in Ruby. It scans a Ruby/Rails codebase (or a single file) for
"class smells" -- stateless singleton-method classes, function buckets, invalid
initial state, fat-base inheritance, and data buckets -- and reports each one with a
concrete refactoring suggestion toward modules, composition, Struct or Data. The
mechanically-safe refactorings (notably data bucket -> Struct/Data) can be applied
automatically with --fix.
Total
Ranking: 158,622 of 197,941
Downloads: 3,740
Daily
Ranking: 81,171 of 197,891
Downloads: 4
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 185,598 | 1,674 | sinatra_to_the_moon |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joaoGabriel55 |