by willio58 · 3y ago · 0 comments
With Xcode specifically, I think a computer should be immediately programmable, like a BASIC interpreter used to be included. Especially to encourage young people.
However, it isn't easy for beginners to discover or to learn to use.
But... regardless of any improvements to make programming more discoverable and accessible, I don't foresee a resurgence of interest in end-user programming, because:
1) Apps have made end-user programming obsolete (much like web 2.0 eliminating end-user HTML and JavaScript.)
2) Some computer scientists (Matt Welsh, Bertrand Meyer, et al.) predict that programming will go the way of assembly language as AI systems become capable of writing complex programs.
If (2) comes true, we may see a situation where end users provide prompts to AI systems which generate complete custom programs on demand.
A web browser is not a computer. They are working hard to make it one, but they are just not there yet. /s
Your point is well taken though - JavaScript, while arguably more powerful than BASIC in many ways, usually doesn't allow the same low-level hardware access that Microsoft (and other) BASIC implementations once did. Nonetheless it's often possible to write pretty good, full-screen games in JavaScript with sound, 2D and 3D graphics, network capability, and even game controller support.
And while BASIC could call out to assembly language, JavaScript can call out to WASM.
Better yet, you don’t even need to do that to get the command line tools. Just do xcode-select —install