News for hackers. Stuff that matters.
Re:Java in the Small by znpy on Wednesday December 18, 2024 @05:36PM (#42456235)
> If you want to introduce someone to programming, you probably don't want them to worry about what all those 'magic words' do.

I learned Java when i was 15 or 16, reading some random book first and then I stole 35 euros from my mother's purse and bought a copy of "Java how to program" by deitel and deitel[1]. The recommended version at the time was Java 5, and the SJCP certification was still issued by Sun Microsystems.

I can tell you, "public static void main" is not going to be the problem.

[1]: looking back (i'm in my 30ies now) sometimes I wonder if i would have been better off buying weed or alcohol (or both)

Re:Java in the Small by acbart on Wednesday December 18, 2024 @05:39PM (#42456260)
So you believe that your experience is a universal one for all learners? Cognitive load is a real consideration in teaching, and having to ignore and filter text is challenging for some folks.
Re:Java in the Small by twic on Wednesday December 18, 2024 @07:51PM (#42457191)
The boilerplate around a main function is 10 units of load. Everything else you have to know to write a simple program is 500-600 units of load. The boilerplate is a rounding error, and just does not matter.
Re:Java in the Small by dgfitz on Wednesday December 18, 2024 @08:32PM (#42457424)
Yes, all people are different, and some are smarter than others. Education funding won’t change that.

Way to disparage a random person on the internet.

Re:Java in the Small by znpy on Thursday December 19, 2024 @03:41AM (#42459582)
Mostly yes. Given how much there is to learn, public static void main is not going to be “the problem”.