Alright, so we gotta talk about mutability. Mutability refers to the ability of an object's value to be changed after it's creation. If you can change it, it's considered mutable. If you cannot alter it after its creation, it is considered immutable. So, by
With this file, we're starting to look at data types. It's not happy with line 7, where we tell it that we are going to be using a variable, x. It says, consider giving x a type, but let's be honest, when it says
Last time, we talked about static and dynamic typing, and the differences between the two. To start off, I do have some bad news to share with you. There is no specific definition of what is strongly typed and what is weakly typed. It's more of a range.
Today we're talking about the difference between static and dynamic typing in our programming languages. Ruby is a dynamically typed language, and Rust is a statically typed language. This all revolves around how we handle data types in our code. We know that generally, different kinds of data
One of the things that is important to understand as we transition from Ruby to Rust is the difference between compiled and interpreted programming languages. Rust is one of the former and Ruby is one of the latter. To discern between the two, we have to go a bit back