3 ms·
This is a great point. I remember my first computer programming class was Java. The teacher said “just type public static void main( string[] args) at the top”.
by markisus 2y ago
This is a great point. I remember my first computer programming class was Java. The teacher said “just type public static void main( string[] args) at the top”. I asked why and he said it didn’t matter for now just memorize that part. That was great advice. At that point it was more important to get a feel for how computers behave and how programs are structured on a high level. I just kept typing that cryptic line mindlessly on top of all my programs so that I could get to the other stuff. Only many months later I looked into the mysterious line and understood what all the keywords meant.
It’s funny now that I haven’t programmed Java for more than a decade and the “public static void main” incantation is still burned into my memory.