From 24ed853a7e66d152ca01fa04d09beee20db169ce Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 1 Mar 2023 18:43:46 +0100 Subject: [PATCH] archived some old posts --- main/_posts/2019-10-10-java_1.md | 3 ++- main/_posts/2019-10-10-java_2.md | 3 ++- main/_posts/2019-10-11-java_3.md | 5 +++-- main/_posts/2019-10-14-java_4.md | 3 ++- main/_posts/2019-10-17-java_5.md | 3 ++- main/_posts/2019-10-31-java_6.md | 3 ++- main/_posts/2019-11-26-java_7.md | 3 ++- 7 files changed, 15 insertions(+), 8 deletions(-) diff --git a/main/_posts/2019-10-10-java_1.md b/main/_posts/2019-10-10-java_1.md index 0fee936..18e543b 100644 --- a/main/_posts/2019-10-10-java_1.md +++ b/main/_posts/2019-10-10-java_1.md @@ -2,8 +2,9 @@ layout: blog title: "☕ Java Tutorial, Part 1: Hello World" description: The first part of my post series for programming beginners where I explain how to write code in Java. -tags: [Java Tutorials, Featured] +tags: [Programming] discuss: https://twitter.com/Ellpeck/status/1182080078827737088 +archived: true --- So you want to learn to code. In my opinion, a good language for beginners is Java, because it's a rather easy to understand language, and it's cross-platform, meaning it can run on any operating system without the need for the programmer (you!) to change anything based on the platform. Also, Java is object-oriented (more on that later), meaning it's pretty good for writing any sort of simple or complex program.[^1] diff --git a/main/_posts/2019-10-10-java_2.md b/main/_posts/2019-10-10-java_2.md index c29a23c..9edfdb2 100644 --- a/main/_posts/2019-10-10-java_2.md +++ b/main/_posts/2019-10-10-java_2.md @@ -2,8 +2,9 @@ layout: blog title: "☕ Java Tutorial, Part 2: Intro to Conditions and Loops" description: The second part of my post series for programming beginners. This one is all about conditions and loops. -tags: [Java Tutorials] +tags: [Programming] discuss: https://twitter.com/Ellpeck/status/1182354544707198976 +archived: true --- If you're reading this, then I assume you have already read the first part of this tutorial series, in which we covered setting up a program, making it print "Hello World" to the console, as well as how to declare and set the values of variables. diff --git a/main/_posts/2019-10-11-java_3.md b/main/_posts/2019-10-11-java_3.md index 1704abe..f17b045 100644 --- a/main/_posts/2019-10-11-java_3.md +++ b/main/_posts/2019-10-11-java_3.md @@ -2,8 +2,9 @@ layout: blog title: "☕ Java Tutorial, Part 3: (Static) Methods" description: In this Java tutorial for beginners, we cover what (static) methods, parameters and return types are. -tags: [Java Tutorials] +tags: [Programming] discuss: https://twitter.com/Ellpeck/status/1182775985885847558 +archived: true --- I've been thinking about how to structure this tutorial a lot, and I decided to teach you all about methods *before* I get into object orientation, so you'll have to wait a little while longer before we get into the real nitty-gritty. To understand this one, you should've already read and understood tutorials 1 and 2. If you haven't, you can get to them by clicking the "Previous Post" button in the navigation bar. @@ -180,4 +181,4 @@ So yea, that's pretty much everything important there is to know about (static) As a little exercise, you might want to create some methods with different return types and different parameters and call them. Have some fun! -I hope you enjoyed reading, and of course: Happy coding! \ No newline at end of file +I hope you enjoyed reading, and of course: Happy coding! diff --git a/main/_posts/2019-10-14-java_4.md b/main/_posts/2019-10-14-java_4.md index adbffca..d40391f 100644 --- a/main/_posts/2019-10-14-java_4.md +++ b/main/_posts/2019-10-14-java_4.md @@ -2,8 +2,9 @@ layout: blog title: "☕ Java Tutorial, Part 4: Classes and Objects" description: In this Java tutorial for beginners, we cover the basics of creating classes with a constructor, some fields and some methods and creating objects of them. -tags: [Java Tutorials] +tags: [Programming] discuss: https://twitter.com/Ellpeck/status/1183857460660101133 +archived: true --- So you've gotten far enough into Java now that you'll finally be able to learn about what this "object orientation" jazz is that everyone keeps talking about. I feel like this is a somewhat complicated topic to explain, so bear with me. diff --git a/main/_posts/2019-10-17-java_5.md b/main/_posts/2019-10-17-java_5.md index 8d54624..a308e4b 100644 --- a/main/_posts/2019-10-17-java_5.md +++ b/main/_posts/2019-10-17-java_5.md @@ -2,8 +2,9 @@ layout: blog title: "☕ Java Tutorial, Part 5: Things I Left Out So Far" description: In this Java tutorial for beginners, we cover some shorthands, some more data types, the difference between pass-by-reference and pass-by-value, null, as well as arrays and lists. -tags: [Java Tutorials] +tags: [Programming] discuss: https://twitter.com/Ellpeck/status/1184894859133509632 +archived: true --- After that complicated stuff we did in the last tutorial, how about we take it down a notch in this one and talk about some additional things that I haven't mentioned this far, but that will still be very useful to you as a programmer. Most of these things won't really have much connection to each other, but I'll give you an example at the end of this tutorial that combines some of them into a single use case. diff --git a/main/_posts/2019-10-31-java_6.md b/main/_posts/2019-10-31-java_6.md index 291221f..920cb2b 100644 --- a/main/_posts/2019-10-31-java_6.md +++ b/main/_posts/2019-10-31-java_6.md @@ -2,8 +2,9 @@ layout: blog title: "☕ Java Tutorial, Part 6: Inheritance" description: In this Java tutorial for beginners, we cover classes extending other classes and the instanceof keyword. -tags: [Java Tutorials] +tags: [Programming] discuss: https://twitter.com/Ellpeck/status/1189904487722487809 +archived: true --- For this tutorial, let's expand on the car dealership example from the end of the last tutorial: You have a car dealership, and you want to expand it to sell various other types of motor vehicles; let's say... motorbikes and trucks as well. Obviously, these different kinds of vehicles all have different properties: A motorbike requires the use of a helmet, and an important piece of information about a truck might be how big its storage area is. diff --git a/main/_posts/2019-11-26-java_7.md b/main/_posts/2019-11-26-java_7.md index 9d58ff9..098fe90 100644 --- a/main/_posts/2019-11-26-java_7.md +++ b/main/_posts/2019-11-26-java_7.md @@ -2,8 +2,9 @@ layout: blog title: "☕ Java Tutorial, Part 7: Overriding Methods" description: In this Java tutorial for beginners, we cover overriding methods, calling superclass methods and toString(). -tags: [Java Tutorials] +tags: [Programming] discuss: https://twitter.com/Ellpeck/status/1199339701640945664 +archived: true --- So it's been a hot minute since the last tutorial, and I apologize for that. However, it seems like there are some people that actually use these tutorials to properly learn Java, and so I didn't want to leave you all hanging.