align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

How to write Clean, Testable code

  • Dec 15, 2010 · 5:30 PM
  • This location is shown only to members

The
Clean Code Talks are designed to help teams get better at writing clean, well-designed, testable code. Such code is easier to write tests for, more robust, easier to understand and maintain. Having clean code lets you be more productive. It helps you release more often, with more robustness, more confidence, and fewer rollbacks.
Miško Hevery works as an Engineer at Google where he is responsible for coaching Googlers to maintain the high level of automated testing culture. This allows Google to do frequent releases of its web applications with consistent high quality. Previously he worked at Adobe, Sun Microsystems, Intel, and Xerox (to name a few), where he became an expert in building web applications in web related technologies such as Java, JavaScript, Flex and ActionScript. He is well published and very involved in Open Source community and an author of several open source projects, most recently
angular. This talk is sponsored by Google's
Engineering Productivity group.

Join or login to comment.

  • Ari S.

    Video for this talk is now available, enjoy! http://www.youtube.com/view_play_list?p=AD8A7B6D66DDD297

    February 10, 2011

  • Ari S.

    This talk was recorded, and will be made available shortly. I'll post the URL here when it becomes available.

    December 29, 2010

  • Janice K.

    Informative presentation

    December 26, 2010

  • Nitya N.

    Loved the talk - added more information in Comments section but overall, I think Misko did a terrific job of presenting the challenges for writing testable code, and providing starting points for getting to testable code nirvana. I would have loved to have heard more stories from the trenches (about real-world disasters with poor testing harnesses) but perhaps for Part 2? :-)
    Overall - Misko got be interested enough in the topic to go spelunking so it's a win-win for me.

    December 26, 2010

  • Nitya N.

    Misko -- loved the talk although I agree that the topic is worthy of several deep-dives in lieu of a single overview.
    For those who were interested, I did copy down the link to the presentation that was on his slides. I checked and the slides are publicly visible. http://goo.gl/V0aWx Also, in context, I've recently begun reading a book called "Dependency Injection" by Dhanji Prasanna (who contributed to Google Guice) and found it to be a perfect complement to this talk for hands-on usage.

    December 26, 2010

  • A former member
    A former member

    well presented and hosted nicely.

    December 22, 2010

  • Scott B.

    Great. Many thanks to Miško Hevery and the rest of the folks at Google who made this happen.

    December 19, 2010

  • David B.

    Great talk that aimed to bridge the gap between trivial examples of unit testing online and the messy, dirty real world.

    December 19, 2010

  • Andres

    The venue and speaker were excellent! The accommodations were stellar for a free event. Thank you Google!

    December 18, 2010

  • Jose O.

    I enjoyed it but it could have been more informative

    December 17, 2010

  • eon

    It’s been a long time since I’ve written code other than web related and I feel attending this Meetup has renewed my interest and has given me a greater respect for Google’s passion for assisting developers. I highly recommend any future Meetups from the Google team.

    December 16, 2010

  • David R.

    Most of the problems were identified … but I did not get any clear solutions to solve the issues .

    December 16, 2010

  • Igor B.

    Although it was not so deeply as title, presentation was good.

    December 16, 2010

  • A former member
    A former member

    It was very informative discussion. it was not just one person speaking about his ideas or methodologies.. but a group discussion where most people involved to share their ideas or to seek help. I met few good people.. had a good conversation on test automation with Misko (speaker)and others.

    December 16, 2010

  • Bulat S.

    This is amazing talk, Misko's tech talks changed the way I code long time ago, but it was great to see it live

    December 16, 2010

  • A former member
    A former member

    The host was very kind and informative. He definitely answered everyone's questions to the best of his abilities.

    December 16, 2010

  • ben d.

    The overall theme trended more towards the "testable" attribute than the "clean", but that may have been my mixed-up expectations going in. Regardless, I thought Miško did a great job of keeping the conversation on track and deflecting questions that were a bit too dependent on situations.

    December 16, 2010

  • A former member
    A former member

    Informative, pertinent, well organized and easy to follow. Kudos - great work putting this together -

    p.s. everyone loves free beer

    December 16, 2010

  • Dan S.

    Wasn't aware 5:30-6:30 was all networking and talk actually started at 6:30, but otherwise talk was great.

    December 16, 2010

  • Rytis B.

    Learned a lot, thanks!

    December 16, 2010

  • Denis P.

    Great presenter, although the title it just a tiny bit misleading

    December 16, 2010

  • John P.

    One thing that wasn't mentioned was documentation. Undocumented code becomes more and more difficult to test, especially in a team based scenario.

    December 16, 2010

  • Matt D.

    Informative! Speaker was very versed on the topic. Presentation was easy to understand and pertinent to many languages.

    December 16, 2010

  • Henry S.

    thought it was starting @ 530... the talk didn't start till 620, couldn't stay for the whole thing consequently, kind of bummed.

    December 16, 2010

  • Vincent D.

    This was a great presentation by Misko Hevery!

    December 16, 2010

  • Steven H.

    Really enjoyed the thoughtful and well presented examination of clean code that can be more easily tested.

    December 15, 2010

  • Lenin

    Ack, I got stuck working and couldn't make it tonight. Does anyone know if the talk was recorded and will be published?

    December 15, 2010

  • Rahel J.

    Thanks so much -- very elegant, simple and insightful talk.

    December 15, 2010

  • A former member
    A former member

    Misko,
    Thank you for the talk. It's a really great job to put all things together.
    There are so many questions pending:
    - Mocks vs Stubs, how to deal with dependencies
    - unit test vs integration test where to focus
    - instrument and practices ( eg. integration with IDE, build, Continuos Intergration server)
    - TDD patterns like "keep the bar green", "assert first", etc.
    - compare frameworks and approaches for different languages junit/testNG, cppUnit, pyUnit, etc
    It would be great to

    December 15, 2010

  • Jonathan K.

    Next time can you please provide more description on what the talk will cover? Maybe something about the difficulty level or assumed experience level of the attendees. I was expecting this talk to be something different from what it turned out to be. I was expecting more than introductory testing to be discussed.

    December 15, 2010

  • Oliver S.

    Great event! Definitely learned alot!

    December 15, 2010

  • Ray S.

    Like Malcom, I was just bumped as well. Unfortunately, I live in Philadelphia and by the time I get there I'm sure it would be over. Really wish I could have made it, but hopefully the next person can.

    December 15, 2010

  • Malcolm A.

    I just got bumped from waiting list. Will take me a while to get there. What time does presentation actually start? Just wondering if I should change RSVP if I can't make it so someone closer could. Thx

    December 15, 2010

  • A former member
    A former member

    Hahaha, I definitely agree with Robert. Never ever go into the city with a car. Always use public transportation if able.

    December 15, 2010

  • Robert G.

    @Paola: As a long-time New Yorker, I heartily recommend the subway. The entrance to the 14th Street stop on the 8th Avenue line is one block away. If you are coming from NJ; PATH is the best way to cross the Hudson. Path is three blocks away at 6th Avenue. Check http://transit.google.com

    December 15, 2010

  • Nick S.

    It normally takes me 10-20 minutes to find street parking. Here's some parking info http://bit.ly/gkLjIn

    December 14, 2010

  • Paola G.

    Is parking hectic or easy to find around the area?

    December 14, 2010

  • Joao P.

    In 5 years of experience I never found a programmer that wrote a software based in clean code. Sometimes I be embarrassed when I say: I'm a programmer.

    December 14, 2010

  • Tim L.

    It is a fair point though. I was just trying to be funny. But I'm not really funny at all.

    That said, I've really wanted to try this out over the past few days (it is C++ web stuff), http://www.webtoolkit.eu. Looks quite fun. Anyway, I am not doing any web stuff currently, and I still look forward to this talk, even if it is web oriented :)

    December 14, 2010

  • Robert G.

    An observation from one with over 30 years of experience developing code: While there are certainly language-specific land mines; I have met few who write good code in one language in one language and bad code in another. Good practices are almost always cross language.

    December 14, 2010

  • Tim L.

    Surely C++ code is born clean and maintains itself.

    December 14, 2010

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy