17 Apr '13, 8pm

@alex_gaynor @jamesgolick I'm sure you've seen this but, if not, I'm so sorry for what I'm about to do:

Issue #5400 has been updated by Joey Zhou. Magnus Holm wrote: > Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we? Well, the flip-flop behavior is useful, so it should not be removed. However, I agree that the syntax is a bit confusing. Flip-flop in Ruby is not so powerful as in Perl (http://perldoc.perl.org/perlop.html#Range-Operators ). It seems like expression leading to true or false, but it cannot be assigned to a variable, and often be treated as a range literal. So maybe we can get rid of the ".." syntax, instead, introduce a class to do the same thing. I've implemented a simple class FlipFlop, which simulates the behavior of flip-flop in Perl. -- begin -- class FlipFlop def initialize(test_right_same_time=false) @bool = false @sequence_num = 0 @same_time = test_right_same_time end def rewind initialize(@same_time) end def test(conditio...

Full article: http://www.ruby-forum.com/topic/2713360

Tweets

Remove Unnecessary Steps & Win More Links, Shar...

seomoz.org 14 Apr '13, 3pm

"Howdy, SEOmoz fans, and welcome to another edition of Whiteboard Friday. This week I want to talk a little bit about user...

Remove Unnecessary Steps & Win More Links, Shar...

seomoz.org 12 Apr '13, 9am

"Howdy, SEOmoz fans, and welcome to another edition of Whiteboard Friday. This week I want to talk a little bit about user...

Want To Run Faster? Make Sure You Recover via @runcompetitor

Want To Run Faster? Make Sure You Recover via @...

running.competitor.com 17 Apr '13, 10pm

Why? Because recovery is when improvements happen. Yes, you need long runs, challenging workouts and steady weekly mileage...

20130413 Singapore JH 6 .Sorry low quality....

twitpic.com 17 Apr '13, 11am

Copy & paste this code into your website <a href="http://twitpic.com/cjymg1" title="20130413 Singapore JH 6 .Sorry low qua...

Today, I really feel sorry for you

harismibrahim.wordpress.com 18 Apr '13, 4am

I am writing this as a voter and as an active PAS member residing in Kajang. Me and many of my friends who have been activ...

Kicks On Court: Regular Season Finales Feature Plenty of Notable Sneaker Debuts

Kicks On Court: Regular Season Finales Feature ...

nicekicks.com 18 Apr '13, 1pm

The last game of the regular season is historically known as a “slow day” for Kicks On Court , but yesterday’s festivities...