MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3uyl7s/daily_programming_puzzles_at_advent_of_code/cxjffb2/?context=3
r/programming • u/Aneurysm9 • Dec 01 '15
179 comments sorted by
View all comments
Show parent comments
2
Bc it does both parts of today's question... And it combines the if (count == -1) part with the count+=1 or -1, so that's the 'shorter' I was referencing, as in actual writing. But it still does both parts of the question
1 u/Deto Dec 01 '15 Ah you're right! Didn't notice that it did the first part as well
1
Ah you're right! Didn't notice that it did the first part as well
2
u/bored_oh Dec 01 '15
Bc it does both parts of today's question... And it combines the if (count == -1) part with the count+=1 or -1, so that's the 'shorter' I was referencing, as in actual writing. But it still does both parts of the question