DEV Community

Felix Imbanga
Felix Imbanga

Posted on

Intro to ruby day 2 (control flow)

Worked on control flow today, Learned how to use if, else, elsif conditional statements. Also worked with ==, !=, <,<=,> and >=. Also worked with boolean and logical operators such as &&, || , and !.

I did have a question on placing ! after methods, I got a jist of the need to use it but I still didn't grasp the reason why its essential on a method vs not putting the ! after a method.

Top comments (0)