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

Tools to help you better understand the code

Tools to help you better understand the code

While joining other peoples Ruby on Rails project, you need some tools better understand the code.
Remember those 4 topics:
1. Class Diagram
2. Gems
3. Test before the change
4. Take care of your team style

David Paluy

October 09, 2013

More Decks by David Paluy

Other Decks in How-to & DIY


  1. Tools to help you better
    other/your code
    David Paluy, @dpaluy
    Blog: dpaluy.github.io

    View Slide

  2. Agenda

    Working with other people's code

    Class Diagram

    Outdated Gems

    Test before Refactoring

    Style your code

    View Slide

  3. I am a Starter

    View Slide

  4. It doesn't pay my bills, Yet!

    View Slide

  5. Working with
    Other People's Code

    View Slide

  6. The only valid measurement of code quality:

    View Slide

  7. You need tools, to find the needle!

    View Slide

  8. Class Diagram

    Rails ERD


    View Slide

  9. Gems

    View Slide

  10. bundle outdated

    View Slide

  11. Tracking Gems


    changelog_diff (by David Miani)


    View Slide

  12. Test before ...!

    View Slide

  13. Each Developer has his own style?

    View Slide

  14. Check your Style




    View Slide

  15. Summary

    View Slide

  16. Any fool can write code that a computer can
    understand. Good programmers write code
    that humans can understand.
    Martin Fowler

    View Slide