Giter VIP home page Giter VIP logo

Comments (1)

AndyObtiva avatar AndyObtiva commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.