Comments (1)
I think you are missing a few very key points on what makes Glimmer great:
- The whole reason Glimmer DSLs are so programmer-friendly is because they are embedded into the Ruby language, which is the most programmer-friendly language in the world. If I were to generalize the Glimmer DSL into a Meta-DSL and re-implement on top of other programming languages, none of the greatness of Ruby would be there anymore. I intentionally chose Ruby after studying a number of programming languages for building Glimmer initially like Java, Python, and Scala. Ruby turned out to be far more expressive than other programming languages, and by a large margin.
- Glimmer DSLs are great because they respect the human element and humanistic differences in the various GUI toolkits by intentionally maintaining those differences of style in every Glimmer DSL. If I were to write one Meta-DSL that unifies all the Glimmer DSLs, there would be too much hard work to NEGATE all the humanistic elements of all the various GUI toolkits, like the preference of LibUI to pass the default property value to the widget directly vs the preference of SWT to pass a widget style. I respect the two different teams of software engineers that worked on LibUI and SWT, so I don't want to fight or cover up their humanity with a Meta-DSL that attempts to intentionally NEGATE their differences. I'd rather expose their humanity and have people choose the style they like the most by choosing SWT or LibUI to build their project. This is one of the few cases where there is no right answer, and I don't want to dictate a right answer or give too much configurability for the right answer either. It's better to just conform to the standards of each GUI toolkit wrapped by Glimmer
- It is better to maintain widgets in separate repositories because there wouldn't be any administrative overhead to giving everyone access to one master repository or worries about people breaking the code of others. Also, even if some repositories were abandoned, they could still be forked and extended further in the future, so there is no risk or issue there. I've been able to take over the opal-async repository for example from its original author with no problem.
- The cost of solving problems without your suggestion is cheap enough that there is no pragmatic need to build a unified meta-DSL at the moment.
- There is already a Calculator built in Glimmer: https://github.com/AndyObtiva/glimmer-cs-calculator
- There is already a Glimmer IDE: Gladiator
- I do not care for building WYSIWYG app builder tools because in my experience they are way less productive than coding things by hand using a DSL (I think Glade is awful because it results in XML files, thus splitting development into multiple languages just like web development, which negates the benefits of something like Glimmer that intentionally unifies development in Ruby only). That said, I am not stopping anyone else from building such tools. Go ahead and build a Glimmer WYSIWYG editor if you like.
By the way, your idea of rebuilding all popular tools in Glimmer is a great one, and I am not standing in the way of anyone who wants to do so. In fact, you are free to build such tools and release as separate gems.
Also, about having contact_manager support other GUI toolkits (e.g. Opal), I am not against it. It's just not my top priority today, but you can contribute its reimplementation in Glimmer DSL for LibUI at least if you want.
Let me know what you think of the podcast once you've completed listening to it. Feedback is appreciated. I am closing this issue, so you can reply to it while it is closed.
from glimmer.
Related Issues (20)
- Add support for slint-ui HOT 1
- [Idea/Suggestion - please feel free to ignore/close at any moment in time] Glimmer for the terminal? HOT 2
- Glimmer "store"? HOT 2
- [Suggestion, low priority] Provide "statistics" and information about the whole glimmer suite in some way, or perhaps several ways HOT 1
- Glimmer gosu support? (This is more a question though) HOT 1
- [Idea, just as impetus, don't worry about implementing it and feel free to close it at any moment in time] "Automatic glimmer" or "Automated glimmer" - automatically generating a GUI for commandline applications HOT 1
- [Idea / Suggestion] "Glimmer components": the idea is to have different glimmer widgets, no matter the style, that could be integrated / included and re-used. For instance, rubio-radio to be embedded in a tabbed notebook with a weather-displaying widget HOT 3
- Battleships - a few not-so-important comments/suggestions, please feel free to ignore/close at any moment in time HOT 6
- [Small idea / question] Customizing Glimmer Tetris? HOT 1
- [Related to the RubyConf 2022 Talk in about 3 months] If you have time during the talk, could you also mention future ideas and goals for glimmer? HOT 1
- [Minor suggestion for future video content] A video in regards to "workflow use" / computer setup, from the point of view of glimmer, but also aside from glimmer HOT 5
- Glimmer Video Request +1 - a dedicated video for "styling glimmer" applications HOT 3
- [Idea, please close as desired] Glimte-Glimmer for Everyone \o/ (GUIs everywhere) HOT 1
- [Idea] glimmer + curses / ncurses HOT 1
- [Idea] "Standardized" glimmer components HOT 3
- Glimmer statistics (aka overview)? HOT 1
- Enable GitHub Discussions on all glimmer repos HOT 2
- A few ~smaller suggestions, kind of; in particular 2-3 or so suggestions for expanding the FAQ entries HOT 1
- Glimmer support for jruby + SWING? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glimmer.