H
Hampton
After months of work, gruelling hours, and a nice cup of coffee, the
world's most famous (and infamous) algorithm has been ported to the
ruby language!
{applause}
Thank you, thank you.
The Slim Shady algorithm is a deceptively simple algorithm which finds
use in many many aerospace and bio-informatics systems. Therefore, Ruby
may now stand proud as.... a..... ummm.... language to do those things.
Here is the algorithm...
def slim_shady_finder homies
homies.each do |some_guy|
return some_guy if (some_guy.name.eql? "Slim Shady")
end
return nil
end
Thank you, I know you all can tell how many hours of work have gone
into this conversion. For more information on the SSA and to see where
our implementation has been added... go to the Uncyclopedia.
http://uncyclopedia.org/wiki/Slim_Shady_Algorithm#The_Actual_Algorithm.27s_implementations
world's most famous (and infamous) algorithm has been ported to the
ruby language!
{applause}
Thank you, thank you.
The Slim Shady algorithm is a deceptively simple algorithm which finds
use in many many aerospace and bio-informatics systems. Therefore, Ruby
may now stand proud as.... a..... ummm.... language to do those things.
Here is the algorithm...
def slim_shady_finder homies
homies.each do |some_guy|
return some_guy if (some_guy.name.eql? "Slim Shady")
end
return nil
end
Thank you, I know you all can tell how many hours of work have gone
into this conversion. For more information on the SSA and to see where
our implementation has been added... go to the Uncyclopedia.
http://uncyclopedia.org/wiki/Slim_Shady_Algorithm#The_Actual_Algorithm.27s_implementations