Sep
27
2011
The Strategy Design Pattern in Ruby
Posted by Spyros in Design Patterns, Ruby Programming, tags: ruby design patterns, strategy pattern in ruby
Programming large projects can be a quite tedious projects that needs lots of code refactoring again and again, if the code is not well written from the beginning. A very efficient way to make sure that your code is of the highest standards, is by utilizing design patterns if applicable. A design pattern is actually a way of organizing your code so that it is well written, maintainable and extensible. There are various design patterns fitting lots of different situations. One of my favorites is the Strategy design pattern.

Entries (RSS)