Re:Ask HN: My 12 year old nephew wants to make a game, how d...
by kozukumi on Saturday June 13, 2015 @02:37PM
(#9712076)
If 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.
> "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.