Iâ€™ve been realizing slowly that to write good code, you donâ€™t just have to practice a lot. You also have to regularly read good code.Â Most people read articles and frequent StackOverflow to solve their own problems, which is great. But I think reading all sorts of code, whether related or unrelated to your current work, is a really fantastic exercise in expanding your skillset.
The iPad can be a good fit for this type of learning, because itâ€™s really easy to browse other peopleâ€™s code quickly and conveniently. I just downloaded the free app iGist, which is a way to browse small snippets of code that you and/or other people have written (or â€śgistsâ€ť). If you have a github account (also free!), you can log in to this app and immediately see all incoming gists along with your favorites. A problem that I run into a lot is that Iâ€™ll see a really cool piece of code, but donâ€™t think to bookmark it or save its location in any way. These days, gists are getting more popular, and they make it easy to bookmark and remember code in an organized fashion. With this app, viewing all of those gists is very easy.
Also, each gist has a â€śforkingâ€ť option, which allows you to modify the gist yourself. This can be really good for thinking about problem solving, and finding better solutions than those presented to you.
Â Â Â Â Â Â Â Â Â Â Â Ok, so reading is pretty neat, but they say a picture is worth a thousand words. Well, what about a video of code being written and talked about? Peepcode is a wonderful online service that offers screencasts on a plethora of web development topics. Topics range from using github, to learning CoffeeScript, to developing specific products, step-by-step. With 85 of these screencasts, itâ€™s really easy to learn new techniques. The movies are downloaded along with accompanying code, so once you have a screencast, itâ€™s yours foever. This is important, because PeepCode is not a free service. There is a one-time fee of $55 for five screencasts, $99 for ten, or $199 for a year of unlimited downloads. It may seem pricey, but the amount of knowledge available is stunning. I downloaded all of the screencasts and code, which will provide months of learning. The best part is that once you have the video, you donâ€™t need access to the internet, making these screencasts invaluable for long car rides and other such things. The narration is clear and concise (though the voice can get a little annoying), and I have already learned quite a bit from these screencasts.
If youâ€™re serious about learning a variety of coding methodologies, these two tools will probably help you a great deal. In parting, Iâ€™d like to leave you with a useful alias.
alias sshtufts=â€™ssh email@example.comâ€™ â€“ where flast01 is your UTLN. Makes sshing a breeze. Alternatively, if you only ssh into Tufts, type !ssh to execute the last instance of an ssh. This technique works with any command.
- Episode 13: Want to learn more? Online!? November 17, 2013Today we're doing a screencast looking at learning tools for languages, programming and more […]
- Episode 14: Collaborating Online? Who knew! November 17, 2013Today we will show you neat tools to collaborate on programming projects and more […]
- Episode 11: Summer Jobs are fun? September 23, 2013Fall 2013 AT Fellows podcast. Cohosted by Jonathan Wu and Aaron Wishnick […]
- Episode 13: Want to learn more? Online!? November 17, 2013