Hello World!
Tárcio
Posted on July 10, 2022
Documenting my learning journey #2
Today I wrote my first line of Ruby code. A simple "Hello World", but that became special because it was my first project that I could see running.
puts "Hello World"
I also learned how to create a loop. Nothing more than a repetition, but to be done it needs to be encoded in a "code block". I did it this way:
5.times do
puts "Hello World!"
end
💖 💪 🙅 🚩
Tárcio
Posted on July 10, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
privacy Caught in the Crunch My Journey from Snacks to 2 Million Exposed Users Privacy
November 30, 2024