Get the latest tech news

Does Your Code Pass the Turkey Test? (2008)


Over the past 6 years or so, I’ve failed each item on “The Turkey Test.” It’s very simple: will your code work properly on a person’s machine in or around th...

Per the Unicode standard, our lowercase “i” becomes “İ” (U+0130 “Latin Capital Letter I With Dot Above”) when it moves to uppercase. “The Turkey Test” poses a very simple question, but yet is full of surprises for guys like me who didn’t realize all the little details. Note: Special thanks to my coworker, Evan, for calling the 3rd type of error “Turkeys.” Also, thanks to Chip and Dan Heath for the “Sinatra Test” idea.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Code

Code

Photo of turkey test

turkey test

Related news:

News photo

Broadcom BCM2712 MOPLET Graphics For Linux 6.14, Other Early drm-misc-next Code

News photo

Homography Explained with Code

News photo

AI Advent of Code: Implementing Papers