
What Is Ruby Used For?
If you hang out in any of the web development communities, there’s no way you don’t hear about the Ruby programming language. Why is that?
If you hang out in any of the web development communities, there’s no way you don’t hear about the Ruby programming language. Why is that?
Operator precedence might be one of the most confusing parts of the Ruby language. Even the docs recommend you just use && and ||.
I first stumbled upon Ruby in 2007. All I wanted back then, was a language that I can build something cool with. I was going from knowing nothing to knowing something, so the information had to be as jargon-free as possible.
Ruby uses the case for writing switch statements. Learn how case works and how you can use it.
A Ruby object has its methods public by default, but its data is private. So if you need to access the data, for either reading or writing, you need to make it public somehow.
As you learn your way through Ruby’s OOP, you will eventually stumble upon the concept of object passing. It might not be very clear if Ruby uses pass-by-reference or pass-by-value to send objects to a method.
Learn about Object-Oriented Programming (OOP) with Ruby, and become a better Ruby developer.
Why are there so many different types of tests in Ruby on Rails and how are they different from one another?
Removing dependencies leads to code that is easier to extend. In this article you’re going to learn about removing argument order dependencies.
The way Ruby resolves class variables is not very intuitive and in my opinion, it’s one of the few areas where it breaks the principle of least surprise.
In my quest for learning a new language I’ve picked Elm and Elixir, I think both are great languages to learn but for this article, I will be focusing on Elm. To be more specific, I will guide you through the process of building a simple Google Chrome extension using Elm.
Have you ever tried writing a test for a function that takes a block and does something to that block? I recently had to do that same thing and found there was not much written about it so in this post I’m going to fix that, I’m going to show you how to create expectations on block arguments.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.