Environments Made to Learn Programming
Cindy Potvin provides excellent ideas for environments which provide the opportunity to learn programming.
Join the DZone community and get the full member experience.Join For Free
most people get started programming because it’s a lot of fun to pick something you’re curious about and start experimenting. tinkering with code, seeing what works and what doesn’t, and fixing problems as you come across them is a great way to play with computers while learning new skills. even if you have a lot of experience, it’s good to go back to that mindset from time to time and learn by playing around.
this is hard to do in large, mature environments, such as asp.net mvc or ruby on rails for web applications. if you want to do anything, you have to go through a long and complex setup before running your first program, and many dependencies are involved in everything working just right. those tools are powerful, but the overhead to get started is painful if you only want to play with some code.
fortunately, there are many environments designed for playing and learning that can help you get started quickly. you can take advantage of those tools when you have the urge to play with something new without taking on a huge commitment. here are some of them for my favorite subjects to play with, hardware and the web:
for more complex frameworks, there are virtual machines available that you can use for a pain-free setup to play around with a language or framework. the hardest thing is that case is to fight the urge to be in full control of your editor and tools. it took me quite a while to introduce myself to ruby on rails because i insisted on setting up my windows pc instead of using the environment already provided with the ruby on rails tutorial. i recommend that you wait until you have a first project you need to deploy before worrying about the mechanics of all of this: mastering the environment and the framework at the same time is a lot to learn just to get started.
the world of hardware is great for tinkering. there is something special about being able to see the results of your efforts in the real world and not on a screen, even if it’s just flashing a led or making some beeping noises. playing with hardware will also teach you valuable lessons about the limitation of hardware, which will make you a better programmer.
since building your own board just to test some hardware is complex and time-consuming, there are many learning kits available. the most popular one is the arduino ( https://www.arduino.cc/ ), and there are kits based on that platform to build anything from a clock to a robot. for a quick introduction to arduino, check out scott hanselman’s post at the importance of the led moment about the march is for makers project.
if you’d rather play with small computers, the raspberry pi ( https://www.raspberrypi.org ) can be used to create all kinds of projects. there are many linux operating system images you can upload directly to an sd card, such as osmc ( https://osmc.tv/download/ ) for a media center or retropie ( http://blog.petrockblock.com/retropie/ ) for a retro gaming console. just plug everything in your tv and you’re ready to go and tweak!
go back to the introduction of this series: play and learn as a software developer
Published at DZone with permission of Cindy Potvin, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.