Programming
FizzBuzz
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 →
Code Snippets
Code Snippets is a web site which allows you to post code snippets and tag them just like del.icio.us.
(Via Digital Media Minute)
Unobtrusive Javascript
Unobtrusive Javascript: How we can use Javascript, but still maintain accessibility.
Via wg
PHP Security Guide
The PHP Security Consortium is officially launched. The group's flagship project is a PHP Security Guide
It's Your Responsibility To die()
Also note that it is your responsibility to die() if necessary.
(Via superfluousbanter)