Horribly boring drills that will reduce typing overhead when programming.
You see, if you can’t whiz through the easy stuff at 100 m.p.h., you’re never gonna get the advanced stuff. Joel Spolsky
There's a leaderboard for the drills here. Try them and see how you do!
- Assignment.
- Functions. 🚧
- Classes. 🚧
- Arrays. 🚧
- Hashes. 🚧
- Problems. 🚧
Run the following from the command line:
./start
When we program, we're spending 99% of our headspace thinking about how to solve a problem. These drills aren't like that: there are no problems. They're like musical instrument scales: getting common syntax features under your fingers (or other input method) as quickly as possible, so you don't have to spend any brainpower thinking about how to write this function or make a class with that instance variable.
The trick here is repetitive, continuous practice, with a small incentive: to beat the timer.
The final section contains simple problems to solve. You should be able to dedicate 99% of your brain to thinking about them, and 1% to the actual code you're writing.
This would probably be a good exercise for learning the various functions in a given language's standard library. I'm gathering data about its effectiveness first.