It seems the big selling point is building websites without JS. To each their own but typescript is one of the best programming languages I’ve used. I do enjoy python a lot but whenever I use it I feel like I’m going a decade into the past, especially with their tooling (lint, types, formatters, package manager, venv, etc). I wrote a post recently about how I feel like this loathing of all things FE/JS is overblown:…
[flagged]
FastUI: Build Better UIs Faster
31–40 of 230 posts
Re: FastUI: Build Better UIs Faster
#32Which are basically just server side routes / rendering + optional pre-rendering ala static site generators using simplified react components?
Re: FastUI: Build Better UIs Faster
#33> In the abstract, FastUI is like the opposite of GraphQL but with the same goal — GraphQL lets frontend developers extend an application without any new backend development; FastUI lets backend developers extend an application without any new frontend development. I know a lot of backend developers who are backend developers specifically because they don't enjoy frontend work and prefer to leave that work to people…
Re: FastUI: Build Better UIs Faster
#34Oh No. Is it that time again? Someone who isn't really a front-end developer reinventing front-end development. I can't wait to be handed an application by my data scientists that uses this and is a complete trash fire that I need to rebuild from scratch... Again. I guess streamlit has competition.
It allows data scientists to showcase the benefit of their model as a full experience.
I wouldn't use it for a large scale app. But tools like these are excellent for quickly mocking up a sample UI to sell an idea to your leadership. Too often leadership does not get the benefits of a ML/AI/DataScience driven feature if they can't see it inside something that resembles a UX.
Front end people don't get this pain, because their work has immediate visible impact. Backend work doesn't need to be sold because it naturally emerges out of the needs of supporting a certain number of users. ML work, lacks visibility just like backend but isn't as self evident as backend work.
Tools like streamlit fill that gap.
Re: FastUI: Build Better UIs Faster
#35Earlier quoted context omitted.
I have some bad news for you about the types in Python--which, for the record, I really like and have made me willing to write Python!--if your objection is that the types are "just an illusion". Much like Pydantic, good use of TypeScript types involves shape validation on input. (I have worse news for you about C or C++ or anything that isn't typed exclusively based on how wide its register is, but that's nitpicking…
> I have worse news for you about C or C++ or anything that isn't typed exclusively based on how wide its register is I would be interested in hearing this nitpicking, I know little about C or C++
And then everything else is just built from that, really. Strings/arrays? Either length+bytes/charpoints (hope you counted correctly) or "bytes/charpoints until you hit a NUL" (hope you put the NUL in or now your buffers are spewing somewhere they shouldn't). Structs? Pile of bytes, each of them special-cased by the compiler. (A polymorphic class would then have some virtual function tables somewhere too.) And if your language has a fixed-point decimal class, it's time to get weird.
Types are a really convenient, really helpful concept, but to sniff at them being compiler-only in something like TypeScript or typed Python is IMO misguided--because compilers have gotten pretty smart and it allows us to reasonably make flexibility tradeoffs because those compilers are good at doing things. Java will scream at runtime if I cast an object to something it can't be, and that's great, but also, I just won't do that if I validated my inputs in Python with something like Pydantic or TypeScript with something like Zod or Typebox or whatever, because an illegal action with a type becomes a compiler error. So, IMO, let's get over the argument and get back to making stuff. (Even the Golang people. All is forgiven, mostly.)
Re: FastUI: Build Better UIs Faster
#36The syntax looks very awkward.
IMV, XML is the best format for any Declarative UI. Tools to generate that XML (or HTML) are better value than these systems.
I would love to see an XML based UI generator in Python.
Re: FastUI: Build Better UIs Faster
#37How does this compare to React Server Components? Which are basically just server side routes / rendering + optional pre-rendering ala static site generators using simplified react components?
Re: FastUI: Build Better UIs Faster
#38> In the abstract, FastUI is like the opposite of GraphQL but with the same goal — GraphQL lets frontend developers extend an application without any new backend development; FastUI lets backend developers extend an application without any new frontend development. I know a lot of backend developers who are backend developers specifically because they don't enjoy frontend work and prefer to leave that work to people…
Its a shame that RAD on the web is so far behind stuff like Qt
Re: FastUI: Build Better UIs Faster
#39> In the abstract, FastUI is like the opposite of GraphQL but with the same goal — GraphQL lets frontend developers extend an application without any new backend development; FastUI lets backend developers extend an application without any new frontend development. I know a lot of backend developers who are backend developers specifically because they don't enjoy frontend work and prefer to leave that work to people…
Re: FastUI: Build Better UIs Faster
#40> In the abstract, FastUI is like the opposite of GraphQL but with the same goal — GraphQL lets frontend developers extend an application without any new backend development; FastUI lets backend developers extend an application without any new frontend development. I know a lot of backend developers who are backend developers specifically because they don't enjoy frontend work and prefer to leave that work to people…
Its a shame that RAD on the web is so far behind stuff like Qt
For better or worse, we lost this capability in the path for code purity, RESTful services and SPAs.