search

Home  >  Q&A  >  body text

ruby-on-rails - Ruby 学习时该有哪些需要注意的坑?

等等,自己遇到过很多,请问还有那些需要注意的?以前旧的编程习惯有那些需要改的?让新手们能尽量少进坑。

PHP中文网PHP中文网2780 days ago507

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-22 09:00:55

    Here are two good coding standards:
    https://ruby-china.org/wiki/coding-style
    https://github.com/JuanitoFatas/rails-style-guide/blob/master/README-zhCN .md

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-22 09:00:55

    For example, use return in block

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-22 09:00:55

    Only when you encounter more pitfalls can you be more impressed. In one sentence: write more code!

    reply
    0
  • Cancelreply