Ruby Editors on Windows Browser Shortcut Key Browser
Nov 20

iffy on being dry

Tech Add comments

How dry do you like to be?

posts = if you_are_feeling_lucky
check_luckiness
test_lucky_time_of_year
happy_posts
else
unlucky_posts
end

vs.

if you_are_feeling_lucky
check_luckiness
test_lucky_time_of_year
posts = happy_posts
else
posts = unlucky_posts
end

vs. extracting and ? :, versus extract once, versus….

2 Responses to “iffy on being dry”

  1. Bob Lee Says:

    I would extract this as a method with multiple exit points and posts as the result.

  2. edisern Says:

    “We promise sincerely to sell the US and EU gold to you by the lowest price .

    Welcome to interact with us whatever you are the big union or single.”
    game

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What are the first four letters in the word British?

Loading...