Re:PL/Rust 1.0: now a trusted language for Postgres
by danielheath on Sunday April 09, 2023 @10:02PM
(#35508426)
Rather than "Awful", I'd say it's showing its age.
The things I notice when working in PLPSQL:
* Ample boilerplate that needs to be correct when it could be inferred.
* Lack of a language server (doesn't help that PLPSQL is often embedded in strings in other files)
* Papercuts like procedures vs functions having different call syntaxes
* No/limited support for encapsulation
* No/limited package management
* Most new languages have syntactic sugar, like implicit returns / everything is an expression
The things I notice when working in PLPSQL: