Um!! So I've been learning Java lately.
I'm still really new to it so don't expect me to explain Java like I know what I'm doing because I really don't lol.
When I first started looking at Java code I was like
what the fuck is this
there's all these brackets and public static void main stuff and semicolons everywhere and I didn't really understand why half of it was even there.
But after actually doing some of the little exercises, I think Java is starting to make a little more sense.
Like you can literally do:
System.out.println("Hello World!");and it just prints Hello World.
That's pretty simple.
Then there's variables.
int number = 5;Which is basically just putting a number into a variable.
There's also stuff like:
String name = "Kairu";which is just text.
I'm still learning what everything does though. Sometimes I look at my own code and I'm like "yeah I definitely know what this does" and then I run it and it doesn't work at all.
Loops are another thing I'm slowly figuring out.
You can make Java repeat things instead of writing the same line over and over.
Which is actually really useful because I don't want to write 100 System.out.println() lines just to count to 100.
I think the biggest thing I've realized is that Java isn't really "hard" in the way I originally thought it was.
It's more like...
there is a lot of stuff.
And when you see all of it at once it looks really confusing.
But if you learn one thing at a time it's not THAT bad.
At least that's what I'm telling myself while I'm learning it lmao.
I'm still a newbie though. I still mess up brackets, forget semicolons, make loops do weird shit, and stare at errors for way too long.
But I guess that's part of learning programming.
So yeah.
If you're also learning Java and you're sitting there wondering why the hell there are so many curly brackets everywhere:
same.
I'm figuring it out too.