DEV Community

Discussion on: dev.to codes! Collaborative coding experiment: The most liked comment picks the next line of code, day 4

Collapse
 
janmpeterka profile image
Jan Peterka
def letsDoThis
    if procrastination_index < 1.5
        selected_activity = my_neverending_list_of_tasks.sample
    else
        selected_activity = nil
        how_i_feel_right_now = emotions.sample
    endif
end
Enter fullscreen mode Exit fullscreen mode