In the Rails 3 timeframe, I would like Rails to...

have less overly clever code in the core

overused of metaprogramming and overly clever code in general in Rails is annoying: it is very hard to read

418 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    michaelklishinmichaelklishin shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    6 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Mario T. LanzaMario T. Lanza commented  ·   ·  Flag as inappropriate

        IMO, overly clever code is a design flaw. Code should be easy to read almost to the end of Krug's "Don't Make Me Think".

      • uzytkownikuzytkownik commented  ·   ·  Flag as inappropriate

        @lucapette: It will give more stability I guess (not necessary performance) after application of Linus Law.

      • Nathan YoungmanNathan Youngman commented  ·   ·  Flag as inappropriate

        It's important to understand what goes on below the abstraction, especially when things go wrong.

      • bitsweatbitsweat commented  ·   ·  Flag as inappropriate

        This is stated as an annoyance. How about "keep the core code clear, elegant, efficient"

      • lucapettelucapette commented  ·   ·  Flag as inappropriate

        I agree with you, some code in Rails is difficult to read but i'm not sure we can consider it "overly clever". Surely we all like clear and readable code but maybe it can be more important considering other factors. So, imho, it could be nice to see "simplified" code but only if this kind of action can give us something else too as more stability or more good performances.

      Feedback and Knowledge Base