i've been reading this book, Head First Java, and OOP stuff is just gigantic, the first chapter was alright, but the second and third one was like a huge wall, it went from variables and loops to classes, classes talking to each other, instance variables and methods inside classes, public, static, or void methods, and methods from one class talking to methos of other classes, all of those in like 1-2 pages
#is it just me, or is java not beginner friendly?
13 messages · Page 1 of 1 (latest)
-# Java @halcyon anchor @open lantern
Classes are probably the hardest conceptual hurdle
I had a similar issue
Dont focus too much on the keywords, just use public for now
In my experience the biggest hurdle was the classes, once i figured that out Java became easier for me than javascript even
I'd argue Java is one of the easier languages tbh
but yes computer science in general is not a free degree
Java is pretty explicit which makes it more difficult than less explicit languages like Python for a new programmer, but those keywords all mean something. It’ll give you a good background in oop concepts and will transfer to a lot of languages. But on the other hand it’s a lot easier than some of the lower level alternatives, I’d say Java is a good first language
if it's smth like Dog[] mydogs = new Dog[3]; i always think like ''making 3 copies of the class named dog and putting it in a variable'' even tho it may be ''wrong''
and also, dog[3] is pretty confusing since you index using the same brackets and indexing starts from 0