Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

this could well be Java's influence, which took the C language's "main" function and hid it from the developer altogether

I don't believe Java has ever hid main. Neither does JavaFX, or J2EE, from what I've gathered working in the area. I could be wrong, and if I am, someone please correct me.



You're correct. What I was thinking of is actually the difference between C++ and Java. Whilst C++ has Object Orientation built into it, you still have to have a separate main function where as in Java you define a main method on at least one of your classes.

That'll teach me to write something without looking it up first :)

I'll update when I get back on a real computer (typing on the go right now), thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: