Ruby: Using Reek as a Learning Tool

Will Reek be useful in teaching best practice ruby ​​ruby, or is an experienced ruby ​​eye required for use and interpretation?

I have years in mumble-muble or programming experience, but mostly in C. I have been using Ruby lightly for several years as a usage scripting language, but my ruby ​​code is obviously mostly transliterated. Now I want to use it as a serious tool, and I want to learn the ruby ​​path.

I planned to use TDD / BDD from the very beginning to provide the necessary feedback for training, and it looks like Reek might be helpful in providing feedback on non-standard forms and uses. However, from old experience, I know that such tools can be double-edged swords that require prior experience to use and in the hands of beginners cause more problems than they solve.

Does anyone have experience using reek (or a similar tool) this way?

If that matters, I will first focus on writing standalone applications for MacOS X, i.e. no rails, server files, etc.

+3
source share
4 answers

, Reek Ruby. , Roodi - , , -, Ruby.

Reek , , , , , flay, flog rcov. , , TDDing .

+3

Reek ( ), Ruby. , , , reek.

-, C- : for-loop . , . rubyish .

+1

RuboCop

. Git, RuboCop, git diff.

+1

, TDD, , ( metric_fu), . Railscasts - , .

Railscast , , - , , Capybara, Metrical ..

0

All Articles