5 Interesting Ways To Learn To Code

learn c++ intro   5 Interesting Ways To Learn To CodeMany people have realized the importance of learning how to code as a life skill. No matter where you go, and what job you have, it’s always seen as in a positive light if you know how to work some code, even if that’s not your profession. As this importance increases ever more, there are plenty of new initiatives to get kids to learn code in school. While it’s great to see them, you can take control of your coding education by taking some steps on your own.

The best – and probably most surprising part – is that it doesn’t have to be a boring ordeal. Don’t believe me? Check out these five different ways you can learn to code.

ComputerCraft

Minecraft – the number one cross-platform indie game – is played by seemingly everyone. Even if you don’t play yourself, I’m sure you have a good number of friends who do. Minecraft is extremely extensible with lots of different mods, which gives rise to packages such as Tekkit. There is actually one mod which is included with Tekkit, called ComputerCraft, which adds an entire coding element to the game.

Once you’ve crafted a computer from the necessary items, you can begin to code on it using the easy Lua language to build automatic miners, send messages between computers within Minecraft, and so much more. While it doesn’t build any “traditional” programs or web applications, it’s still very much coding that can teach people the concepts that they can extend to other types of applications.

However, this is probably the funniest way of doing it while keeping it extremely simple. For help on coding with ComputerCraft, check out their website.

Rebeca/Alice

Rebeca is a 3D programming environment which is based off Alice. This tool is fantastic because 3D graphics programming is already a hard concept as it is, so having a tool which simplifies everything to something that can be used for educational purposes is a great thing.

One of the primary benefits of Rebeca over Alice is the fact that it’s been internationalized so it’s easier to translate it into different languages. Currently, Spanish is available in addition to English.

3DPL

A programming language designed specifically to help people learn concepts of 3D objects could also be a way to go. 3DPL offers a simple, straightforward way to manipulate code and see the results. While this programming language shouldn’t be used for actual projects, it’s still a great educational tool which shows the workings in a simpler form.

The site surrounding 3DPL offers multiple tutorials on how to do cool things with it, so it’s also worth checking out if you’re interested in 3D programming.

Desktop Scripting

If you want to mess around with something closer to actual programming, you may wish to take a look at desktop scripting. While these scripts usually don’t use common programming languages such as C/C++, they do let you do actual work on your computer rather than just “playing around”. You usually don’t need any extra tools for scripts besides your preferred text editor.

Windows users can create .bat scripts, Mac users can create AppleScript files, and Linux can create bash (.sh) scripts. There’s a large number of applications for which these can be used. Some examples include bulk file renaming or other bulk operations, searching for specific files, and much more.

Raspberry Pi

raspberry pi betaboard2   5 Interesting Ways To Learn To Code

If you’d rather leave the computer on which you do your work alone, then you may be interested in getting a Raspberry Pi for your code learning adventures. The device is only the size of a credit card, yet has enough power to run some low-resource games and only costs $35 for the higher-end model.

The Raspberry Pi runs a full ARM-based Linux distribution (which you get to pick as you’ll need to prepare an SD card to use with it), so you have plenty of options at your disposal, including traditional programming languages such as C/C++, scripting such as Bash, and other languages which make use of the Pi’s custom ports that work with custom hardware. Therefore, so much flexibility may be worth dropping a relatively small amount of money.

Conclusion

Hopefully these 5 unique ways of learning code will help you get started and motivated to sticking with it. Like I said earlier, it doesn’t need to be boring code that does very miniscule things — it can be exciting and used in many different applications that are highly popular. No matter if you’re just a kid or an adult looking at learning some skills, there’s no better time than now to get started!

Do you want to learn to code? If you already have, what is your preferred method of teaching others? Let us know in the comments!

Image Credit: Internet background with binary code via Shutterstock

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

10 Comments -

Doc

“Windows users can create .bat scripts” Modern Windows versions (2000 and up) can also create .CMD files, which have a more modern scripting language available to them.

Danny Stieben

Thanks! When searching around I saw .bat a lot more often than .cmd.

Max

Don’t forgot about Scratch! No errors whatsoever!

Danny Stieben

Could you explain Scratch?

Alan

Good article but i believe one device that deserves a mention is the Arduino! It is a cheap fantastic platform for learning coding it bridges the gap between the theoretical world of computer software with something physical like a robots or aquarium control & monitoring. it’s great for beginner projects like making a LED blink to more complicated projects like a balancing robots, web servers, weather stations, I’ve even built a very simple games console with pong & composite video output!

Danny Stieben

Arduino is a great tool as well. I only didn’t include it because (as far as I know) it focuses a bit more on the wiring than coding.

Md Mukhtar Mohsin

For begginers like me i suggest the site codecademy.com is well enough to teach some basic languages like html, php and some languages like python , i too have a account in it and i learn from there regularly .The teaching environment is good and exercise are also very interesting. it is better to learn this languages before jumping into something like C/C++.

Lisa Santika Onggrid

I also like Codecademy, although I find my memory degrades everytime I succumb into procrastionation and stopped visiting the site. It’s best to have some sort of schedule, I think.

Danny Stieben

Great site! I just didn’t include it because it wasn’t an interesting or unique method.

null

What about Google employee Philip Guo’s Online Python Tutor visualizer?: http://www.pythontutor.com/visualize.html. Video: Teaching Python Programming With Web-Based Interactive Program Visualizations: http://www.youtube.com/watch?v=nc1A7Ywzkpg#t=3m10s.

>”Online Python Tutor (www.pythontutor.com) is a free educational tool that helps students overcome a fundamental barrier to learning programming: understanding what happens as the computer executes each line of a program’s source code. Using this tool, a teacher or student can write a Python program directly in the web browser and visualize what the computer is doing step-by-step as it executes the program.”.

>”So far, over 100,000 people have used Online Python Tutor to understand and debug their programs, often as a supplement to learning from textbooks, lecture notes, and online programming tutorials.”

>”Free, open-source BSD-licensed code on GitHub”. https://github.com/pgbovine/OnlinePythonTutor/