Devchat.tv Episode Roundup

Devchat.tv Episode Roundup

Download on the App Store

All Devchat.tv Episode Roundup episodes

  • TMTC 20 – Miles Forrest – Part 1

    Miles is a great guy. We had a terrific time talking about podcasting, work, life, and programming.

    One major theme that keeps coming up in my life and came up in this podcast was the discussion over doing what you love to do.

    I met Miles at RailsConf 2009 and at Mountain West RubyConf in March. We discussed doing an interview and in this episode, we wound up interviewing each other.

    I think my favorite part of the discussion was the explanation Miles gave of how he formed the Ruby Brigade in his local area.

    I'm not really sure how to summarize the content of this interview, so I'll just let you enjoy it.

    Download this Episode

     

    34 min
  • TMTC 19 – Kevin Rutherford Interview

    This week's episode is an interview I did a few weeks ago with Kevin Rutherford. Kevin is the author of Refactoring in Ruby. He's an agile coach, and blogs at http://silkandspinach.net. Finally, he has written the reek tool, which identifies code smells in your code.

    Kevin is a big proponent of project automation like build scripts, deployment scripts, etc. He recommends Ruby and several of the tools that are built in Ruby to provide this functionality.

    It turns out that Reek came out of the Refactoring in Ruby book, which stemmed from his recommendation that people use Bill Wake's Refactoring workbook, which is Java centric to people he was simultaneously recommending Ruby to.

    Kevin did explain that measuring cohesiveness across multiple classes or files is difficult and is something that he hopes can come into Reek.

    We also learned that each team needs to identify and figure out how to solve their own problems.

    He specifically mentions these practices:

    • Test Driven Development
    • Continuous Integration
    • Mature use of version control
    • Team Working
    • Pair Programming
    • Regarding TDD, there are lots of different ways of writing tests and a lot of different ways to write code to pass the tests. Kevin gives us a few examples.

      He also reminds us that there are four steps to TDD, not three.

      1. Write the test
      2. Write the code
      3. Refactor the code
      4. Integrate
      5. Code Metrics should be part of your integration and should be publicly visible. Teams also should publish their bug count. If you're embarrassed about your bug count, you should do something about it. You should be comfortable enough with your bug count that you wouldn't mind publishing it on the company website.

        Cycle time is also important. It's the metric that drives everything. How long does it take from request time to implementation time. When you get to under a week, you've truly achieved agile.

        Experienced programmers really understand the importance of customer satisfaction and needs over the perfectionism in your code. Your code should be solid, but your business needs to be agile too.

        Kevin recommends The Goal: A Process of Ongoing Improvementas reading on this topic.

        When asked what difference it makes in using these practices, Kevin told me that the amount of test coverage goes up, the number of tests increases, development speed grows, and class sizes decrease. Monolithic classes indicate a lack of Object Oriented design.

        Little value objects like currency, dates, or times can be strings or ints, but the data representation of the concepts are scattered through the code and can introduce problems depending on how the string or int is later interpreted.

        Code coverage does not actually represent bug free code. It makes more sense to have a team culture to write tests for each surprise or bug that you encounter (as well as writing new tests for new features.)


        Download this episode

        37 min
      6. RSpec Subjects
        RSpec provides an extremely concise way of representing simple tests to be called on new instances of a class or on explicitly defined receiver objects. You can do this by using 'subjects' either as defined by the 'describe' or the 'subject' methods.
        Download 38 MB
        Download (iphone & ipod) 18.2 MB
        0 min
      7. RSpec Subjects
        RSpec provides an extremely concise way of representing simple tests to be called on new instances of a class or on explicitly defined receiver objects. You can do this by using 'subjects' either as defined by the 'describe' or the 'subject' methods.
        Download 38 MB
        Download (iphone & ipod) 18.2 MB
        0 min
      8. RSpec Subjects
        RSpec provides an extremely concise way of representing simple tests to be called on new instances of a class or on explicitly defined receiver objects. You can do this by using 'subjects' either as defined by the 'describe' or the 'subject' methods.
        Download 38 MB
        Download (iphone & ipod) 18.2 MB
        0 min
      9. TMTC 18 – Dave Thomas Interview – Part 2

        This episode of the teachmetocode podcast, Dave talks us through the process he and Andy Hunt went through in founding the Pragmatic Programmers book series and publishing company. Dave also talks about the the advantages that they have had by not holding onto or being mired down by the way things have always been done and their growth in non-conventional book selling channels.

        He also mentioned that if you would like them to come do training where you're at, contact Mike Clark and find people who are willing to sit in on the course.

        I think my favorite part of the interview was his explanation of where the Agile Manifesto came from. We also got to talk about what Agile development really is.

        Dave explains the correlation between his musical interests and his programming interests. He figures that at least 30-40% of speakers at any conference would have some sort of musical background. The structure and the way things come together in music actually applies to software. You create patterns or structures that work well together at multiple levels.

        Toward the beginning of the Pragmatic Programmers, Dave and Andy recommend learning a new language every year. He discusses his hobby of picking up new programming languages and investing in yourself.

        Finally, I asked Dave about running a business and how to get one started. He gave some terrific advice regarding building your own application and business.

        He wrapped up the episode by pointing out that programming is exceptionally hard. You have a huge amount of information you have to know in order to get into programming. On top of it, the world is complicated and makes the problems we have to solve hard. So, ultimately, make it fun!

        Download this Episode

        36 min
      10. Code Metrics with Metric Fu
        Maintainability of your code can be measured in many different ways. Jake Scruggs has combined several of the tools that measure you code into one Ruby Gem: metric_fu.
        Here's a demonstration. Go check it out!
        Download 116.1 MB
        Download (iphone & ipod) 55.8 MB
        0 min
      11. Code Metrics with Metric Fu
        Maintainability of your code can be measured in many different ways. Jake Scruggs has combined several of the tools that measure you code into one Ruby Gem: metric_fu.
        Here's a demonstration. Go check it out!
        Download 116.1 MB
        Download (iphone & ipod) 55.8 MB
        0 min
      12. Code Metrics with Metric Fu
        Maintainability of your code can be measured in many different ways. Jake Scruggs has combined several of the tools that measure you code into one Ruby Gem: metric_fu.
        Here's a demonstration. Go check it out!
        Download 116.1 MB
        Download (iphone & ipod) 55.8 MB
        0 min
      13. RC 17 – Interview with Dave Thomas from the Pragmatic Programmers – Part 1

        Dave Thomas is one of the founders of the Pragmatic Programmers. He is a signatory of the Agile Manifesto. He's written several books, including: The Pragmatic Programmer, Programming Ruby (The Pickaxe Book), and Agile Web Development with Rails

        This discussion covered a wide variety of topics, including how he picked up Ruby, learning new languages, and building businesses.

        I think one of my favorite parts were his description of how he came to write his books Programming Ruby and the Pragmatic Programmer. For me it was valuable to get that type of view into some of the early documentation on my primary programming language.

        I also appreciated his insight into building code better, rather than building better code. He offered insight into code that is appropriate to the task that is being built. He offered the following questions as qualifying whether you're building code better:

        • Does it do what the customer wanted?
        • Can it continue to provide value so in the future?
        • This sort of purpose driven development is really the whole point of what we do as programmers. Thank you Dave for pointing out that the important thing is keeping the practices that allow us to adapt to changes in the ecosystem our applications run in.

          Dave also shared with us that talent in programming is important. Like musicians, you need talent to be able to perform. You can only get so far pushing your way through programming. Can you think about things as explicitly as a computer?

          More importantly, rather than the introverted programmer who doesn't communicate, a good programmer has the ability to translate the customer's requirements into computer instructions. You need the ability to communicate clearly and represent the computer and its capabilities to the customer.

          One of the most important things you can do is find a good set of mentors. Someone who can teach you what you're doing right and what you're doing wrong. Dave shared a terrific example where he said the right thing in the wrong way and explained how his mentor approached him and what to look for in a great mentor.

          Here is what Dave recommends in looking for a mentor:

          • Spend some time getting to know them.
          • Look for people around you.
          • Look at what they do, since you'll be modeling yourself after them.
          • Ask them to be your mentor. If they're not willing, they're not a good mentor.
          • Oddly enough, the person I approached after this podcast is also named Dave.

            If you want to know where the Pragmatic Programmer came from, Dave tells us toward the end of this episode. We pick up the discussion next week talking about his businesses and entrepreneurship.

            Download this Episode

            32 min