Re:Gliimly is a programming language for web services
by kgeist on Friday November 15, 2024 @03:59PM
(#42150960)
>My first impression is that like with HTMX, it's for a style of web apps that has few uses nowadays.
What do you mean? I see nothing common with HTMX. It feels more like old PHP5 projects, where they mixed business logic with controllers, database access and template rendering all in one big soup.
Re:Gliimly is a programming language for web services
by duskwuff on Friday November 15, 2024 @05:05PM
(#42151715)
Even PHP had a composable expression syntax (e.g. nested arithmetic/string/array expressions, function calls, etc). I don't think this does; every statement seems to be a unique, standalone thing.
Re:Gliimly is a programming language for web services
by think970 on Monday November 18, 2024 @06:23PM
(#42178315)
That may be a good thing. I think it's more natural to have it that way. I always wondered why a keyword in a programming language must have this rigid meaning. In English, that's not the case, there's a context.
Gliimly seems much simpler than PHP or other "classic" programming languages out there (C++, Java, Go, whatever). I think there's something to the idea of expressing programming closer to English, in a declarative way.
I'll give it a try, I'd love to type (much) less and just sort of "talk" programming, because that's what this looks like.
Re:Gliimly is a programming language for web services
by dvdkon on Tuesday November 19, 2024 @01:11PM
(#42186460)
I don't see how foregoing composable expressions makes the language any more like English or more natural. Gliimly is like Assembly (generally seen as very "unnatural"), if it had fewer cryptic mnemonics and more SQL-like complex commands.
The benefit of the HTML syntax quickly goes away if it has a JavaScript frontend. The routing doesn't make sense in a non-trivial app. For a non-trivial app, something more flexible like Django's routing system makes sense.
It says it's service-oriented. It doesn't have what I expect from something service-oriented in its big example, though. For instance the entry point to the app is /session/start and it doesn't route based on HTTP methods. https://gliimly.blogspot.com/2024/11/multi-tenant-saas-notes...