Stop Using Case Statements in Ruby

Are you using the full power of OOP (Object-Oriented Programming) or are you missing out? If you are taking decisions based on the type of an object then you are missing out on one important OOP feature: polymorphism. Type decisions are usually done inside case statements (which are not OO friendly) & in this article … Read more

How to Use Stacks in Ruby to Solve Problems

If you don’t have a CS (Computer Science) degree you might feel like you are missing out on something… Or you may feel like CS is too abstract to be useful… Or that Ruby already does all the hard work for you… Either way… It’s helpful to understand the basics of data structures like hashes, … Read more

15 Weird Things About Ruby That You Should Know

15 Weird Things About Ruby That You Should KnowBy Jesus CastelloRuby is an amazing language with a lot of interesting details that you may not have seen before……in this post I compiled some of those details for your own enjoyment in a nice-looking list :)​ 1 Heredoc + Method If you have some data that you … Read more