John 3:16 In PHP and Ruby

John 3:16 in PHP $son = $god->loved($the_world); foreach($whosoever as $person) { if($person->believe($son)) { $son->everlasting_life($person); } } John 3:16 in Ruby son = god.loved(the_world) whosoever.each do |person| son.everlasting_life!(person) if person.believe?(son) end

Quickly Folding Functions In Vim

The is really a Vim tip on how to fold any code block including functions. It’s really helpful if you want to collapse a function or any other type of code block. Best of all, it is quick and easy to do. Navigate your cursor somewhere inside of the code block you want to fold. […]