File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 738738** [ ⬆ back to top] ( #table-of-contents ) **
739739
740740### Avoid type-checking (part 1)
741- Ruby is untyped , which means your functions can take any type of argument.
741+ Ruby is dynamically typed , which means your functions can take any type of argument.
742742Sometimes you are bitten by this freedom and it becomes tempting to do
743743type-checking in your functions. There are many ways to avoid having to do this.
744744The first thing to consider is consistent APIs.
@@ -1619,7 +1619,7 @@ For things that don't fall under the purview of automatic formatting
16191619for some guidance.
16201620
16211621### Use consistent capitalization
1622- Ruby is untyped , so capitalization tells you a lot about your variables,
1622+ Ruby is dynamically typed , so capitalization tells you a lot about your variables,
16231623functions, etc. These rules are subjective, so your team can choose whatever
16241624they want. The point is, no matter what you all choose, just be consistent.
16251625
You can’t perform that action at this time.
0 commit comments