4 ms·
I think Java is a nice teaching tool. It has a good OO design and you can't break anything with it. No worrying about memory, etc. The only real drawback is the
by kozukumi 11y ago
I think Java is a nice teaching tool. It has a good OO design and you can't break anything with it. No worrying about memory, etc. The only real drawback is the verbosity and having to "just do" things at the beginning (such as ignoring just what public static void... means).
- rikrassen 11y agoWhy do you prefer a compiled language over a scripting language? I learned Java in high school and struggled with all of those > "just do" things e.g. `String in = new BufferedReader(new InputStreamReader(System.in)))` in Java vs `in = input()` in Python. I think it's important for beginners to understand why they're writing the code they are, and how the different parts of their code fit together. In Java your "main" function is part of a class; I have no idea how to explain that to a younger student. I am really interested in teaching programming, so I'd like to hear your thoughts.
- kozukumi 11y agoIf I am honest it is just that I prefer compiled languages. I like Java because it is hard to do stupid things in it but still compiles down to something I can hand over to other people without them being able to break it by opening it in notepad accidentally. Obviously I see the benefit of simplifying things like we see in Python, Ruby, etc. A lot of people don't like Java because of how strictly OO it is.