It's only been a few days since I started studying Ruby or programming properly. I understand that there are different ways to write the code to make it simple and easy to read, and it seems to be useful, but I have no idea how this will make the application creation work easier. It's natural that I don't get an image because I haven't done any decent programming ... I know I'm just starting to learn Ruby, but I get the impression that it's a bit more complicated to write than Python, which I've bitten before, somehow ... (at the moment) As I continue to study while hitting the wall with each lesson, I remember the feeling when I relearned English grammar from the basics, which I was not good at after deciding to go on to an overseas graduate school. I'm laughing now, but at first I couldn't even make a difference between the general verb and the Be verb, and I was groaning ...
--How to use the method --Method definition-> method call --The method definition is "def method name" --Method calls directly type method name --Use of arguments --It is possible to receive multiple arguments --Use of return value / return --A method that returns a boolean value as a return value is at the end of the method name? (As a convention) --Ability to terminate method processing by Return --How to write a method with keyword arguments
Recommended Posts