It is a common Ruby misconception that certain argument handling techniques are faster than others, as well as using constants will increase the performance of your app compared to that of using locally scoped literals for regular expressions, strings, etc. Some frameworks such as Merb take pride in performance, and contain single ruby scripts packed with constants just for this reason. That being said until someone can prove these benchmarks wrong, we are seeing very little changes in results.
Common conventions used for module mixins
Symbols in Ruby are among the most confused aspects of the language. This tutorial covers what they're used for, when to use them, and their advantages and disadvantages.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials.
Mind lending a hand?