|
|
|
Declarative Programming is a business model
|
|
3 points
by bedman12345
1057 days ago
|
|
Strap in for some truth: Declarative programming isn't a programming language paradigm, but a crafty business model. Marketed as a solution, it's as declarative as a mute parrot. Let's be clear: the order of SQL statements matters. Duplication matters. The illusion that you can cook up a random program and it will work is pure fantasy. However, if you're a big-time enterprise customer with rented SQL software from a cloud provider, you're in luck. You can create subpar programs and point the finger at the provider when things go south. The unsung hero? A tech maestro at the provider's end who manipulates the database internals to transform your blundering query into something palatable. Yet, they call this 'declarative'? What's truly declarative is the farcical agreement between customer and provider, not the code. The next time you hear 'declarative programming', remember: it's less about the code and more about the customer's audacious demands. |
|
2. Declarative programming can work for narrowed problem domains using DSLs/middleware, but not in the generic case. If you don't want to be locked, either chose a standardized DSL (e.g. BPMN), or implement compiler/interpreter/runtime/middleware by yourself.
3. SQL originary targeted end users (Analysts), but today it mostly target developers and DBAs. Today end users would mostly use BI tools or dashboards, not SQL directly. So I wouldn't use it as an example of Declarative Programming.