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”. 1͔Β100·ͰͷΛϓϦϯτ͢ΔϓϩάϥϜΛॻ͚ɻͨͩ͠3 ͷഒͷͱ͖ͷΘΓʹňFizzʼnͱɺ5ͷഒͷͱ͖ ňBuzzʼnͱϓϦϯτ͠ɺ3ͱ5྆ํͷഒͷ߹ʹňFizzBuzzʼnͱ ϓϦϯτ͢Δ͜ͱɻ http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/ http://www.aoky.net/articles/jeff_atwood/why_cant_programmers_program.htm
!38 IBM Driver MS Windows MS MSN MS Visual Studio ιʔείʔυαΠζ (KLOC) 41 6 26 155.2 ςετίʔυαΠζ (KLOC) 28.5 4 23.2 60.3 TDDΛ࠾༻͍ͯ͠ͳ͍ྨࣅϓϩ δΣΫτͰͷܽؕີΛ̍ͱ͠ ͨͱ͖ͷܽؕີ 0.61 0.38 0.24 0.09 TDD࠾༻ʹΑΓ૿Ճͨ͠ίʔυ ࣮࣌ؒ(ཧऀͷݟੵʹΑΔ) 15ʙ20% 25ʙ35% 15% 20ʙ25% N. Nagappan, M. E. Maximilien, T. Bhat and L. Williams: Realizing quality improvement through test driven development: results and experiences of four industrial teams, Journal of Empirical Software Engineering, vol. 13, pp. 289-302 (2008)
5%%Λ࣮ࢪͨ͠߹ʹใࠂ͞Ε͍ͯΔݟ ‣ ػೳςετͰͷෆ۩߹ݕग़͕ݮ͞Εͨ ‣ ίʔσΟϯά ࣮ ͷ͕࣌ؒˋ૿͑ͨ ‣ ςετͷΧόϨοδ͕େ͖͘ͳͬͨ w ඃݧऀΛରͱͨ͠Ξϯέʔτ ‣ ͷඃݧऀ͕σόοάͷΛݮΒ͢ͱײͨ͡ ‣ ͷඃݧऀ͕ཁٻ͕ચ࿅͞ΕΔͱײͨ͡ ‣ ͷඃݧऀ͕ίʔυͷ࣭Λ্͛Δͱײͨ͡ ‣ ͷඃݧऀ͕։ൃΛݮΒ͢ͱײͨ͡ !39 Boby George, a and Laurie Williams: A structured experiment of test-driven development, Journal of Information and Software Technology Vol. 46, No. 5, p. 337-342(2004)