Imran says:

An example of a Fizz-Buzz question is the following:

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

Most good programmers should be able to write out on paper a program which does this in a under a couple of minutes.

Want to know something scary ? - the majority of comp sci graduates can’t. I’ve also seen self-proclaimed senior programmers take more than 10-15 minutes to write a solution.

I’m not saying these people can’t write good code, but to do so they’ll take a lot longer to ship it. And in a business environment that’s exactly what you don’t want.

This sort of question won’t identify great programmers, but it will identify the weak ones. And that’s definitely a step in the right direction.

Link: Using FizzBuzz to Find Developers who Grok Coding - Imran On Tech

Continue reading FizzBuzz →

Posted by Syam Kumar at April 6, 2007 11:33 PM
Permalink | Comments (1) | Trackbacks (0)

Code Snippets

Code Snippets is a web site which allows you to post code snippets and tag them just like

(Via Digital Media Minute)

Posted by Syam Kumar at April 21, 2005 11:17 PM
Permalink | Trackbacks (0)

Unobtrusive Javascript

Unobtrusive Javascript: How we can use Javascript, but still maintain accessibility.

Via wg

Posted by Syam Kumar at February 10, 2005 09:08 PM
Permalink | Trackbacks (0)

PHP Security Guide

The PHP Security Consortium is officially launched. The group's flagship project is a PHP Security Guide

Via Web Security Blog

Posted by Syam Kumar at February 1, 2005 03:26 PM
Permalink | Trackbacks (0)

It's Your Responsibility To die()

Also note that it is your responsibility to die() if necessary.

PHP Manual: set_error_handler

(Via superfluousbanter)

Posted by Syam Kumar at September 25, 2004 04:36 PM
Permalink | Trackbacks (0)

Coding Standards

Why You Need Coding Standards

Posted by Syam Kumar at September 24, 2004 06:47 PM
Permalink | Trackbacks (1)