10.1. Introduction10.2. Style10.2.1. Case10.2.2. Spaces10.2.3. Braces10.2.4. Slice10.2.5. Concise10.3. Idioms10.3.1. Text Idioms10.3.1.1. Reverse a String10.3.1.2. Comma-Separated Values10.3.1.3. Lower-, Upper-, and Title-Case10.3.1.4. Test for ASCII Characters10.3.2. Navigation Idioms10.3.2.1. Select Elements and Attributes Simultaneously10.3.2.2. Navigate Case-Insensitively10.3.2.3. Select Nodes by Type10.3.2.4. Test Whether Two Nodes Are in the Same Tree10.3.2.5. Select All Leaf Elements10.3.2.6. Select All Ancestors10.3.2.7. Select the First Common Ancestor10.3.2.8. Select All Siblings10.3.2.9. Calculate the Maximum Depth10.3.3. Sequence Idioms10.3.3.1. Union, Intersection, and Difference10.3.3.2. Select Every Other Member10.3.3.3. Permutations10.3.4. Type Idioms10.3.4.1. Binary Data10.3.5. Logic Idioms10.3.5.1. Boolean XOR10.3.5.2. Three-Valued Logic10.3.6. Arithmetic Idioms10.3.6.1. IsNaN10.3.6.2. Median10.3.6.3. Rounding Modes10.3.6.4. Random Number Generation10.3.6.5. Factorial10.3.6.6. Square Root10.3.6.7. Complex Numbers10.3.6.8. Linear Algebra10.4. Conclusion10.5. Further Reading