"#Java is too verbose", Part Deux
I have to admit that I had not paid too much attention to JEP 512 until now; after all, I'm not really the target audience.
But then this happened: my 13yo came back from school and told me that since he had been studying Pythagoras' theorem earlier that day, he decided to kill time in between classes by writing a small program on his Casio calculator to check if a triangle was right-angled or not. (I know, I know, that kid's well on his way to become a huge nerd, just like dear old Dad...).
But then he wasn't satisfied with how limiting the calculator was, so he decided to redo his program on his computer using Scratch once he was back at home.
While he was busy hacking away, that got me thinking "hey, wasn't there a JEP that aimed at making java code easier to understand for beginners?", and so I quickly put together my own java-based version, with one explicit goal: making it as easy as possible to explain to a 13yo.
And I have to say I'm pretty impressed with the result! The code below is 100% legal java code: just save it into a file and run java myFile to run it. Period. Absolutely nothing more is required.
Sure, it's not going to win over those with severe curly brackets allergies or those for which trailing semicolons are an insurmontable chore, but IMO, it is genuinely accessible to a budding programmer.
Well done, #projectAmber!