From 4583213244b2afe56e32ff7a3fd1e9291bc71c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=B6=E5=90=AF?= Date: Tue, 27 Dec 2016 13:14:22 +0800 Subject: [PATCH] Update 20161026 Applying the Linus Torvalds Good Taste Coding Requirement.md --- ...pplying the Linus Torvalds Good Taste Coding Requirement.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/tech/20161026 Applying the Linus Torvalds Good Taste Coding Requirement.md b/sources/tech/20161026 Applying the Linus Torvalds Good Taste Coding Requirement.md index 477a6b886e..61bd5ac57a 100644 --- a/sources/tech/20161026 Applying the Linus Torvalds Good Taste Coding Requirement.md +++ b/sources/tech/20161026 Applying the Linus Torvalds Good Taste Coding Requirement.md @@ -1,3 +1,4 @@ +Translating by cposture 20161228 # Applying the Linus Torvalds “Good Taste” Coding Requirement In [a recent interview with Linus Torvalds][1], the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”. Good taste? The interviewer prodded him for details and Linus came prepared with illustrations. @@ -44,7 +45,7 @@ Again, the purpose of this code was to only initialize the values of the points To accomplish this I initially looped over every point in the grid and used conditionals to test for the edges. This is what it looked like: -``` +```Tr for (r = 0; r < GRID_SIZE; ++r) { for (c = 0; c < GRID_SIZE; ++c) { ```