Git Product home page Git Product logo

Comments (3)

SLongshaw avatar SLongshaw commented on August 22, 2024

Hi,

Yes definitely useful I think and a neat way to do things, it's also clear that the current design of either relying on specialism or templates is fairly messy, both in the mui.h file itself and also as a barrier to understanding how to use the code.

This suggestion could be rolled up into a larger piece of work to look at how to best create a single apparent interface class whilst actively discouraging the use of the specialism approach in future versions of the library/demo cases.

from mui.

robertsawko avatar robertsawko commented on August 22, 2024

If not present already I would also consider a factory object for Interface that takes dimension as an argument. This will avoid code duplication for the cases in your listing.

GenericInterface might be a name worth considering.

Nitpicking: we might need an example without new. I think in C++11 and later they frown upon manual memory manipulation like this.

from mui.

SLongshaw avatar SLongshaw commented on August 22, 2024

I'm going to close this issue for now as generally usage seems to have settled around the templated variant of the uniface class, this would represent a hybrid sort of approach in some ways, we can revisit in the future if needs be.

from mui.

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.