How they do this does vary, I don't remember how VB did it but Delphi had a binary file format for describing forms, Java Swing used IDEs with code generation inside magic comments that you weren't supposed to touch, JavaFX and WPF have the cleanest approach with an XML dialect for describing the UI and then the event handlers and controller logic are implemented as classes that are bound to the UI using reflection, Android has something similar, macOS uses NIB files and so on. Yet all VB-like platforms require this to be split, because the GUI designer has to be able to edit the GUI code without breaking your app logic too badly, and they really need a strong component model. PHP, JSP, ASP and the tag all mix UI layout with code that works with the database or controls the UI itself. The problem with making it work on the web was that the dominant design paradigm for web apps was (and to some extent still is) templating, in which there's no clean split between UI layout code and UI controller code and no proper notion of encapsulated components. The problem isn't responsive design, GUI builders were able to do that just fine. Meanwhile i (i am into gamedev and have worked with UE) increasingly see people get disillusioned by Blueprints. Visual languages are fine as long as they are limited to high level concepts, but UB not only is not that (there is even a type cast node!) but instead of being there in addition to Unreal Script, it actually replaced it, forcing many people who didn't want to bother with C++ (especially Unreal's flavor of C++) to use blueprints.Įpic supposedly learned from this and UE5 at some point will have a new scripting language, but AFAIK so far it has been vaporware. It was hyped when it first came out and for some time (years) it was well received - until people had to deal with the spaghetti mess others made in blueprints. The latter bit basically perfectly describes Unreal Blueprints :-P. It's stringing the same concepts together in the same way, but slowly and tediously with a mouse. I think one of the reasons it doesn't become more popular is because most visual programming is just a more cumbersome and slow way of programming. It has, in some niches like Unreal Blueprints.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |