One of the Ruby on Rails fundamental principle is “convention over configuration.” It aims to reduce the number of decisions that developers need to make as it gains simplicity but not losing flexibility. The simple phrase implies that a developer only needs to indicate alternative aspects of the application. When the convention implemented by the [...]
Tag Archives: Ruby philosophy
Ruby on DON’t REPEAT YOURSELF (DRY) philosophy
Also known as Single Point of Truth, “don’t repeat yourself” or DRY is a process philosophy seeking to reduce duplication especially in computing. This philosophy stress on that information should not be duplicated because it makes the change more difficult, it can lessen clarity and may lead to inconsistency. DRY is from Andy Hunt’s and [...]