I've been using Rosetta Code for short code snippets for programming contests for a while now. Recently I started expanding my knowledge of C++11/14 as well as R and found a strong need to write tiny bite-sized code in 15-20 min bursts. I find that one really good way to practice and continue adding to an excellent community it to implement solutions to un-implemented tasks in your target language -- Tasks not implemented in C++. I completed a few of the tasks and that was fun and it was fun! Let me know if you find this technique useful in your language learning.