What strategy do I use to avoid global variables in ruby?
我用什么策略以避免宝石全局变量?
To this end, ThoughtWorks projects generally avoid the more magical features of languages (like the implicit global variables in Ruby, for example) because it hurts readability.
最终,为了避免破坏代码的可读性ThoughtWorks的工程通常避免使用编程语言特有的语法(例如Ruby语言中匿名全局变量)。
To this end, ThoughtWorks projects generally avoid the more magical features of languages (like the implicit global variables in Ruby, for example) because it hurts readability.
最终,为了避免破坏代码的可读性ThoughtWorks的工程通常避免使用编程语言特有的语法(例如Ruby语言中匿名全局变量)。
应用推荐