In this part we’ll discuss the most important concept in an object oriented language: Objects. So far you’ve already learned how to write a single class and you’ve put all your functionality into a single class. But we’ve used objects in our examples already and in this part you’ll learn what objects are and how you can use them!
Today is Friday again (thank god!) and therefore you have two full days of free time. If the weather is bad or you just don’t feel like doing physical activities this weekend, you can always just sit down and learn something you wanted to be able to do for a long time. So get active (not in a physical way) and use your spare 48 hours to learn something new. This article will present you our most popular tutorials you might have missed!
Who doesn’t like retro gaming? No honestly, who doesn’t? This might not be the right article for you if you don’t like them, but there is a way to play nice hidden mini games, that come with the terminal text-editor emacs, for everyone else. This collection of games includes remakes of classic games as well as new and unique games. In this short article I’m going to show you how to play them!
This part will teach you, how to compare values and control the flow of your program. It will also teach you, how to repeat a part of your program for a defined number of times, which is very useful for tasks like processing user input or printing out data.
This is a very long article. I didn’t plan to make it this long, but I ended up writing a lot about this topic. I recommend you to split it into half after the ‘Large choices’ section and take a break. However, let’s get started!
So far you’ve learnt what methods and variables are and how to use them. In the case of variables you have also seen, how to get a user’s input and store it. If you want to store multiple inputs of the same type, for example numbers for a calculator, you’ll have to create different variables for each input, right?
In this part you’ll learn, how to store multiple values into one variable (sort of).
This will be short article with a quick hint. I wanted to write it, because I often get asked how to easily transfer files from a machine to another. Of course you could just upload a file to dropbox and download it on the other machine, but for this method you can transfer files to a headless system easily and without having to physically access the remote computer, which is quite handy if the remote computer is somewhere else than you are.
Sometimes you need to transfer files from one computer to another. The simples way of sending files between computers in your home network is using SCP (secure copy). For those of you, who use a UNIX based system, SCP is already built into your system. I often have to transfer files from my macintosh computer to a Raspberry Pi or BeagleBone, so using SCP comes in very handy for me. This page is intended to be a quick and very short reference for secure copy. For more details, visit the scp man page.
If you are using windows, there is an alternative for you below!