| ▲ | sroerick 3 hours ago | ||||||||||||||||||||||||||||||||||
I was just explaining this exact thing to somebody a couple days ago - even used ERP as the example. Hear hear, sir | |||||||||||||||||||||||||||||||||||
| ▲ | whartung 2 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
I dunno. When it comes to back office business programming, there’s just a lot of code tasked with copying a litany of bits of data from one structure to another. Whether it’s copying a web form into a database, or converting Their JSON to Your JSON, it’s a lot of detail that does not abstract well. It’s all shapes and sizes and formats, and it almost always has to be enumerated in excruciating detail and, typically, twice. Sure, there’s logic and whatnot involved, but it, too, is specific to some subdomain of the larger system and it, too, does not abstract well. Not in the large context of the overall system. Accounts Payable and Accounts Receivable, at 10,000 feet look almost identical. They’re almost literally the same thing with the sign flipped. But in practice, they don’t share code well. You end up with two similar systems, but not similar enough where sharing is actually worthwhile. At best they can leverage a common API to the GL. Turns out a lot of languages can manifest a decent level of abstraction. But even then, folks push back. Consider the love/hate relationship with ORMs. Or the annotation driven markup in Java programs and the underlying “magic” that they enable. Like scribing mystic runes onto things. Those are both very powerful, yet folks experience that and toss their hands in the air and throw out the baby with the bath water and jump into something “magic free” like Go. Just because you can use something like CL to “make your own magic”, doesn’t mean it’s a good idea. Doesn’t mean it scales. Doesn’t mean it communicates well to others. AI or no. It’s not the AIs world yet. We already know that if the AIs want a better language suited to AI efficiency, they’ll come up with their own. I’ve already seen crass examples of “code only an AI could love”. Completely impenetrable, at least to me. May as well have represented it as a color image and collection of RGB values. Opaque to me, but the AI could “read” it. There is much more to programming and systems than token density, and AI is still getting cheaper by the day, so less reason to even pre-optimize for it anyway. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | tzmudzin 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
... and I think you will both find it intellectually stimulating to explore the complexity behind ERP systems that makes a common DSL near impossible across industries, or as businesses change. DSL presumes agreement on semantics, and that's often the most difficult part. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||