News for hackers. Stuff that matters.
Re:Thank you, Rails by thenduks on Friday November 06, 2009 @12:06PM (#926378)
Just wanted to say:

If you do not quickly clue into the fact that Array#pack was redefined in a file you've never seen before that was committed last Tuesday by your most junior developer in the Seoul office, enjoy spending the next several days going over code you swear looks right looking for the error.

Code reviews are absolutely required with any dynamic language. It's a good practice anyway, to keep everyone on the same page.

Re:Thank you, Rails by tptacek on Friday November 06, 2009 @12:44PM (#926468)
Where by absolutely required you mean pretty useful.
Re:Thank you, Rails by thenduks on Saturday November 07, 2009 @07:39PM (#928551)
I hope I don't sound too argumentative but, no, I mean absolutely required. I review my own code (and not just casually, either) a few days later and where I work we all read every commit.
Re:Thank you, Rails by tptacek on Sunday November 08, 2009 @01:28AM (#928962)
It's so "absolutely required" that most of the most popular web applications, all written in dynamic languages, are not the product of reviewed codebases.

You don't sound argumentative. You sound hyperbolic.

Re:Thank you, Rails by thenduks on Sunday November 08, 2009 @10:01AM (#929324)
I don't think we're on the same page about what 'code review' is. I'm only talking about having your co-workers/peers look at your code and keep up to speed on what's happening to the code base you're all working on.

Do you have a citation for 'most' of the popular web applications not being code reviewed? Have the developers at, say, twitter said they ignore commits and code written by co-workers?

Re:Thank you, Rails by jshen on Friday November 06, 2009 @12:21PM (#926410)
i'd also wonder why a unit test didn't catch this. In my experience if you catch a bug close to the time of it's introduction, it's easy to debug.
Re:Thank you, Rails by thenduks on Saturday November 07, 2009 @07:39PM (#928552)
Agreed. In fact, I'd say that doing code reviews would not only catch this problem but also the fact that the test for it is missing.