Hacker News new | ask | show | jobs
by pasc1878 548 days ago
The problem I have with this is "professional languages have an enormous corpus of examples that students can look up."

The problem is that especially for common languages like Javascript, complex ones like C++ and changing ones like Java the published code follows Sturgeon's Law "ninety percent of everything is crap" Made worse by the languages and libraries have changed over time so even good code 20 years ago is not good code now. (This is also the problem with AI generated code - it learns from rubbish) Experienced programmers can look at code and see what is crap so the way we look is different to beginners.

For teaching you want curated examples.