Edabit (www.edabit.com) is a really neat web-based environment to help you practice your programming skills.
Once you've signed up (which is free) and chosen your preferred programming language, you can then choose from a large number of exercises. These generally take the form of "write a function which....". You write your code directly into a box on the screen, and test as you go. When you choose to test your code, the system runs your function against a set of predefined tests, and tells you which ones you passed and which you failed.
So for example, you might be asked to code a function which returns the value "odd" or "even", depending on whether the value passed to the function is, er, odd or even. You could cheat by simply returning "odd" every time, but you'd only pass around half the tests. Code it properly, and you pass them all. Which gains you points and moves you up the community leaderboard.
If you're not into programming, and specifically not into Javascipt, Java or Python, then www.edabit.com isn't for you. But if you are, or you know someone who is, it's a fun learning environment. More interesting than a textbook, and a lot less boring than a college lecture.
Please rate this article: