Here I write about various events I was involved in and ideas that inspired me. Recently, it is more of a linux blog because I have been doing a lot of work on it. However, off and on I write on various other things that my mind just can't let go easily.
Sunday, 15 October 2017
Correct do...while in Ruby
Rubyists use the .each or .map way of looping frequently. However, when there is a need of a while loop, the following is the correct way. loop do
break if condition