|
|
|
|
|
by antonvs
274 days ago
|
|
When you first learn programming, you don't know what a class is, or a method, let alone a static method. But if you teach people using Java, you have to teach them to write this: public class Main {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
...instead of just: print "Hello world"
The latter is easy for a student to understand. With the former, you just have to tell them to use it without understanding it, and that they'll understand it later. |
|