Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- var image = images.memeloperCompilingImage;
- for(var day = 0; day < days.length; day++) {
- if(day === 5 && !isMemeloperTodayPublushed(image)) {
- // Public this memeloper every friday.
- memeloperTopics.push(image);
- }
- }
- **/
- ## Versus
- images.find(isCompiling)
- .filter(img -> isFriday! && !wasPublished(img))
- .map(publish)
- isCompiling = (img) -> # code goes here
- isFriday = -> # code goes here
- wasPublished = (img) -> # code goes here
- publish = (img) -> # code goes here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement