- Welcome!
- Abstraction Programming and Education
- Four Questions about Math Education
- The Future of Education
- A New Curriculum
- Writing with Less Writing
- The Goals of Learneroo - How I Hope to Improve Online Education
- The Java Job Market
- Kickstarter Success, Thank you Backers!
- Comments and Chat
- Path to Learning Java
- Aristotle on Learning
- Programming Bootcamps as an Alternative to Lectures
- The Education Dialog
- The Mean, the Median and Startup Equity
- Membership on Learneroo
- Discounts - Satisfaction Guaranteed!
- Lecture Videos and Learning
- Learn Programming by Example and with Challenges
- Java Coding Contest Results
- Coding the Java Explorer
- New - Java Budget Bootcamp
- Java Jobs II
- The Web for All - Kickstarter
- Finding a Web Host and Creating a Site
- Web Development for Entrepreneurs, Marketers and Biz-devs
- Web Development for Non-Developers
- Lessons from my Unsuccessful Kickstarter Project
- Changes on Learneroo
- Learneroo on Reddit and the Powers of 10
- Free Membership for Teachers
- New Algorithms Tutorials
- Free Membership on Learneroo
- Algorithms for Interviews and Jobs
- Interactive Cartoon Guide to Ruby on Rails
- Kickstarter Launched
- Learn Web Development Kickstarter - Q & A
- Ruby on Rails for Web Designers
- Web App Framework vs. CMS vs. Website Builder
- Real Web Development for Entrepreneurs
- What Programming Language Should You Learn?
- Lessons from my Successful Kickstarter Project
- Ruby Coding Contest Live!
- Understanding Recursion
- Ruby Coding Contest Recap
A blog about education. On Learneroo Itself. Blog Home
Learn Programming by Example and with Challenges
Learn by Example
Often, the best way to learn how a programming language or topic is to look at an example. Instead of reading many paragraphs explaining, one can sometimes just look at example code and see how it works. As the saying goes, "A Code is Worth 1000 Prose".
That's why I like the site Learn X in Y minutes, which demonstrates different programming languages through example code. If you know some programming, you can pick up the basics of different languages with it, and it can also be used as a reference to lookup information later.
Learn by Doing
If you're actually trying to learn a language, just looking at example code isn't enough, since you need to practice it on your own. It helps to have challenges that test your knowledge and "force you" to write correct code.
Since LearnXinYMinutes is licensed under Creative Commons, I figured I'd edit it a bit and add in questions and programming challenges. I started with Ruby, and posted it to Hacker News. This was well-received, so I created additional modules on Javascript and Python. I also created another version for Java, which was based on previous Learneroo tutorials.
Try it Out
If you're interested in learning one of these popular languages or want to quickly look up how to do something, check out Learn X by Example and With Challenges:
If you're interested in getting more practice you can try out these easy challenges:
There's also premium intermediate challenges on Strings, Loops, and Real Math. You can solve all these challenges in multiple languages, and see how they compare!