Little bits of knowledge I(false and nil)
It's important to realize that false and nil are not the same thing: false means "not true," while nil is Ruby's way of saying "nothing at all."
variables that start with colons are symbols. symbols aren't strings
while there can be multiple different strings that all have the same value, there's only one copy of any particular symbol at a given time.
No hay comentarios:
Publicar un comentario