BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Presentations How to Stop Writing Next Year's Unsustainable Piece of Code

How to Stop Writing Next Year's Unsustainable Piece of Code

Bookmarks
01:01:59

Summary

Guilherme Silveira mentions some of the turning points in project development that may affect the quality of the code offering advice on avoiding writing crappy code.

Bio

Guilherme Silveira is the lead developer and training services coordinator at Caelum, Brazil, a company specialized in training and development, and involved in many open source projects like VRaptor, XStream, Hibernate, or Maven and creator of Restfulie, a Restful framework with implementations in Java and Ruby.

About the conference

QCon is a practitioner-driven conference designed for team leads, architects and project management. The program includes two tutorial days led by over 80 industry experts and authors and three conference days with 18 tracks and over 80 speakers covering a wide variety of relevant and exciting topics in software development today. There is no other event in the US with similar opportunities for learning, networking, and tracking innovation occurring in the enterprise software development community.

Recorded at:

Feb 02, 2012

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Nothing new..

    by Avid Fan,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    There's nothing new here, just some old code refactoring advice...I mean, "..breaking a long line of code into separate lines.." can hardly be considered ground breaking advice that most people dont already know about..He could have probably finished his talk in 5 minutes without going on and on endlessly...

    C'mon infoQ, please don't become another "serverside.com" by posting crappy stuff…We expect better quality from you...

  • Re: Nothing new..

    by Oleg Pro,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I've liked this talk. The point is that developers know how to make code more readable but don't understand how important it is. Even if given advices are all well known the problem of crappy code is still problem of today and it's interesting to know what other people think about it.

  • Re: Nothing new..

    by rajesh parab,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Nice talk.
    Even though I read refactoring book. Even though this nothing new . I think this is useful for new generation of developers who just started programming.
    I like this and I can show this to my junior developers or even seniors who still doing same mistakes because they did not read refactoring book.

  • Re: Nothing new..

    by Guilherme Silveira,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    regards

  • Re: Nothing new..

    by Guilherme Silveira,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Dear Anonymous Avid Fan,
    As you pointed out, good practices were, are and will be the same as long as the values that we hold are still the same. Unfortunately nowadays learning a new language (usually per year) has become more valuable than writing good code. One of the rant's is that as obvious as the "breaking one line of code" is, you will see a lot of code from *any* developer breaking this rule. How come? And that happens even more when we switch to another language. If I could sum up, learn the language, and above all, learn to control yourself, avoiding idiomisms as they can become the next developers hell.
    Regards

  • Re: Nothing new..

    by Guilherme Silveira,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Exactly Oleg. I am ashamed of every code that I have written until yesterday. And will feel the same about it tomorrow. As long as I keep worrying about the quality - and not the purity or beauty - of my code/design/architecture, I might provide the next developer's paradise when I leave (or die).

  • Re: Nothing new..

    by Avid Fan,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I realize I may have come across as quite harsh in my comments, my sincere apologies for my poor choice of words earlier.

    Actually, my comment was written in the heat of the moment..I guess, after reading the title and summary of the talk, I was expecting something else, and that caused the frustration at the end...So, again, my sincere apologies for the way i said it earlier...

  • Re: Nothing new..

    by Josef Jelinek,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    The talk does not look very revolutionary, but that was not the point. The things mentioned are all among the most painful ones I must deal with on a daily basis. This and similar talks will have its place until it starts getting better even it the most "conservative" environments.
    Just adding some humor to the presentation would make a big difference in its impact...

  • Re: Nothing new..

    by Ramon Chiara,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Although it's nothing new, I liked the new way he approached the subject.
    And I added this (adapted) phrase to my white board: "Don't hide complexity. Make it easier to understand".

  • Something wrong with the sides download link

    by xie xiaodong,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Something wrong with the sides download link

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT