News for hackers. Stuff that matters.
Re:Yukihiro Matsumoto: “Ruby is designed for humans, not mac... by specialist on Tuesday January 21, 2020 @02:32PM (#22110573)
"What language would you recommend in this area?"

I wish I knew.

For ages, I've imagined a Java do-over I code named Encore. What would "Java" look like today, given the same original goals of improving programmer productivity and reducing errors.

But now I've switched tacts almost completely.

TLDR: Code generation 2.0. Code you'd write yourself, if only you had more time.

So with SQL, for example, instead of a wrapper or model which generates SQL at runtime, start with the SQL and generate code (in your target language) at compile time.

I've done this, with varying degrees, for SQL, HTML, HTTP, HL7, DICOM. Just trying to flesh out the idea, strategy.

One consequence is the target language becomes much less important. So now I feel (hunch, as in "believe but cannot yet prove") that the smaller the language, the better. Like BASIC, Pascal, Lua (which I don't particularly like) small. Barely more than a scripting language with some objectness and modules.

And even more impactful, the contemporary libraries and frameworks become much less important, or even moot.

Thanks for replying. I'll post something if my efforts mature enough for sharing.

There are no comments on this comment yet.