Object Oriented Programming, an overview.
The Teen Programmer
by robertsalex211
3y ago
Welcome back (or welcome) to The Teen Programmer. Today I’m going to talk about Object Oriented Programming. What is Object Oriented Programming? Object-oriented programming is about creating objects that contain both data and methods instead of Procedural programming which is about writing procedures or methods that perform operations on the data. Why should I change my programming to be Object Oriented? There are some advantages with OOP: OOP is faster and easier to execute OOP provides a clear structure for the programs OOP helps to keep the code DRY “Don’t Repeat Yourself”, and makes the ..read more
Visit website
What is Docker and why is it conquering application development?
The Teen Programmer
by robertsalex211
3y ago
Hi guys, today I’m going to talk about docker because I’ve had some questions about what it is. So here we go! Story Docker was launched in 2011 as a commercial software product by Solomon Hykes and Sebastien Pahl. Then two years later in 2013, it became open-source. Originally it was used LXC as its execution environment but a year later, they created their own execution environment using Go (sometimes called Golang because of its domain golang.org.) Specs Docker can package an application and its dependencies in a virtual container able to run on any Linux server. This enables the applicatio ..read more
Visit website
How to get started learning a programming language
The Teen Programmer
by robertsalex211
3y ago
Hey everyone and welcome back to The Teen Programmer! In this post I’m going to tell you how to start learning a programming language. Let’s go! Plan What do you want to learn? This is your first step – you need to know which programming language you want/need to learn. So first ask yourself what you want to do by learning to code? If you just want to learn the basics, I would say that you learn any language you want. Python is the most popular language to learn nowadays. Do you want to learn web development? If so, do you want to learn how to do all the pretty bits (front-end) or how the webs ..read more
Visit website
Please comment on my posts!
The Teen Programmer
by robertsalex211
3y ago
When you comment on my posts it helps me improve so please comment because I like seeing all of you active on my blog!! If you want to read other posts just click on any of the links in the top menu. If you want to suggest ideas then simply subscribe to my mailing list and reply to my emails or email me directly at admin@theteenprogrammer.co.uk. Thank you! The post Please comment on my posts! appeared first on The Teen Programmer ..read more
Visit website
How to calculate Pi in Java (know it for eternity)
The Teen Programmer
by robertsalex211
3y ago
Hello everyone, I guess you’re here for me to answer the biggest question in the mathematical spectrum – How…. Do I…………………………………………. Calculate……………………. Pi. Don’t worry, I’m here to help Dann los geht’s (Then let’s go) Background If you don’t know how to calculate Pi in general Mathematics I’ll tell you. Just convert 180 degrees into radiants. But how do I do this in Java, you ask? Here’s the code public class Main { public static void main(String[] args) { double radius = (Math.PI * 180) / 180; System.out.println(radius); } } The class is called Main – keep th ..read more
Visit website
Let’s expand each other’s coding journeys
The Teen Programmer
by robertsalex211
3y ago
Hi everyone!! I’m so sorry that I’ve not posted for TWO WEEKS, it was my writers block. I’m writing to see if any of you want to code anything because I’ve not done a project in a while. What do I code in? I code in HTML, PHP and Python but I’ve also tried some Javascript, Java, CSS and so I’m very up to learning new things. I’ve used various distributions of Linux (Kali, Ubuntu, Raspbian, Debian) and Windows 7/8/10. What have I created before? I’ve created a metasearch here’s the github link https://github.com/theteenprogrammer/phpmetasearch and I’ve also hosted in on repl.it https://metasear ..read more
Visit website
Programming languages are not like a foreign language
The Teen Programmer
by robertsalex211
3y ago
Hi everyone, in this post I’m going to discuss the title of this post. As a bit of background, I like both programming and learning foreign languages, these are the reasons why I feel that my opinion is viable. Let’s dive in! Argument 1: When learning a programming language you learn syntax, this is like punctuation and grammar in a foreign language This argument is half and half. When you learn a foreign language you don’t necessarily have to learn grammar because you could just be learning to speak and understand a language. If you take this approach then it’s more about knowing vocabulary a ..read more
Visit website
I’m learning Python (trying to)
The Teen Programmer
by robertsalex211
3y ago
Hi everyone, welcome back to The Teen Programmer. Today I’m going to talk about why I’m learning python and how I’m (trying) to do it. So Why Am I Trying To Learn Python? I have a few reasons. First of all, I go to an ethical hacking club in my school and Python will help me a lot. Second, I know that you can code things pretty quickly if you have enough knowledge. Third, I learned some of it a few years ago and I want to revive my skills and learn even more. Python is a pretty simple programming language to learn and can be used in all sorts of situations (in the programming world). You can a ..read more
Visit website
My journey in coding so far
The Teen Programmer
by robertsalex211
3y ago
Hi guys, I just want to tell you all about what I’ve done so far in coding so let’s get into it! How I first got introduced to coding In 2014, I was in an ICT lesson in school and the teacher wanted to teach us about algorithms. So what they did was give us iPads and showed us how to use Hopscotch (it’s a drag and drop coding app a bit like Scratch.) I treated it like a game because I’ve always liked winning at something. This shows that I liked to solve problems from a very young age (a good trait for programmers when debugging.) After that I don’t think we ever used Hopscotch again. A new be ..read more
Visit website
An easy to make browser virus in Javascript
The Teen Programmer
by robertsalex211
3y ago
Hello, today I’m going to teach your how to create a ‘virus’ which constantly opens tabs of google (this can fill up ram and crash a computer.) The source code is below <script> window.onload = open; function open() { window.open("https://www.google.com", "_blank"); setTimeout(arguments.callee, 100); } </script> What happens is the function ‘open’ opens google in the next tab and I have used setTimeout to repeat this every 100 milliseconds but it doesn’t always do that. The post An easy to make browser virus in Javascript appeared first on The Teen ..read more
Visit website

Follow The Teen Programmer on FeedSpot

Continue with Google
Continue with Apple
OR