The future of programming should be one language for all layers of the stack, from the database to the model to the UI. I think that hints that it should be a form of declarative.
And if it's declarative, it should be focused on managing state.
And if it's a thin syntactical representation of its VM, instructions/code could be interpreted immediately at entry and be managed as state, so you wouldn't be working with a text file but querying the AST equivalent of what you wrote.
And if you do that, you can create the management tools and structures to truly understand and manage both data and code.
And if we do that, the future of programming would look less like today's mangle of a thousand wires to something more like sculpting and architecture.
Yep... Red can compiled down to Red/System or be interpreted (with JIT). Red/System can be compiled down to machine code, bytecode (for select VMs) and I believe Javascript.
> The future of programming should be one language for all layers of the stack,
Programmers will never agree on what this language should be.Ever.
Because different tasks require different features,a language that tries to have all these features will be regarded as a mess,and disliked because of it.
Because you're talking about looking at it as data, you can get different views. It's all about viewing and working with the appropriate layer. We do it with civil engineering, we do it with drawing, we even do it with accounting systems. It's not about being all things to all people at all times, but about being the layer of the appropriate things for the appropriate people at the appropriate time.
When we look at code as data, we can look at code in context.
And if it's declarative, it should be focused on managing state.
And if it's a thin syntactical representation of its VM, instructions/code could be interpreted immediately at entry and be managed as state, so you wouldn't be working with a text file but querying the AST equivalent of what you wrote.
And if you do that, you can create the management tools and structures to truly understand and manage both data and code.
And if we do that, the future of programming would look less like today's mangle of a thousand wires to something more like sculpting and architecture.