#Programming #Ruby # Summary An object-oriented programming language that is almost like pseudocode! The focus is on human readability and utility. # Learned Lessons ## Method Argument Parentheses There's no hard and fast rule across the Ruby ecosystem, but I've found that if there's more than one argument there is good reason to prefer the use of parentheses. I am committing to this as part of my style. | No 🚫 | Yes ✅ | | -------------------------- | --------------------------- | | `function_call arg1, arg2` | `function_call(arg1, arg2)` | # Unexpected Things from \_why ## `unless` ```ruby unless plastic_cup print "Plastic cup is on the down low." end ``` ## String Concatenation ```ruby email = if at_hotel address = "why" address << "@hotelambrose" address << ".com" end ``` # Related ### [[Ruby On Rails]] ### [[Rails Cheat Sheet]] ### [[FactoryBot]]