News for hackers. Stuff that matters.
Re:On anthropomorphism in science (1985) by chickenfries on Wednesday May 31, 2017 @07:57PM (#14456858)
I think in the second one, a simple list of values that correspond to true would be more reasonable than putting this in your source code, if you just need a look up table. The way the comments are structured though, I wonder if each row an option map, (annotated by the comments along the top)
Re:On anthropomorphism in science (1985) by Houshalter on Wednesday May 31, 2017 @08:15PM (#14456941)
The second example was a 15 line switch statement that they replaced with a lookup because they thought it would be faster.