Coder Social home page Coder Social logo

Rename Render to Renderer about rendy HOT 10 CLOSED

amethyst avatar amethyst commented on May 20, 2024 1
Rename Render to Renderer

from rendy.

Comments (10)

zakarumych avatar zakarumych commented on May 20, 2024 3

Renderable is what renderer renders

from rendy.

torkleyy avatar torkleyy commented on May 20, 2024

Hmm, but it's a trait we're talking about. I think the trait can be called Render and a struct implementing it would then be a renderer. Why does it need to be a noun? 😅

from rendy.

minecrawler avatar minecrawler commented on May 20, 2024

It's a little confusing imho, because you don't "build render" ;)

from rendy.

torkleyy avatar torkleyy commented on May 20, 2024

from rendy.

LucioFranco avatar LucioFranco commented on May 20, 2024

@termhn at least how I see it, the Render trait is fine, because you can implement Render for some type. Maybe, a better word would be Renderable? but I find that kind of conflicting.

from rendy.

fu5ha avatar fu5ha commented on May 20, 2024

I can see the "Render is a trait, Renderer is implementor of said trait" argument, but I still think the name is awkward in most places it will be used. Why not just have the convention be that the implementor (previously Renderer) have a more specific name, since Renderer is very generic. For example impl Renderer for VelorenRenderer or something, depending on what the project/purpose of that Renderer implementation is.

from rendy.

torkleyy avatar torkleyy commented on May 20, 2024

I don't mind renaming. @omni-viral What do you think?

from rendy.

zakarumych avatar zakarumych commented on May 20, 2024

Since it can be used not only for rendering (thanks to @Rhuagh , how I didn't realize it before) I think it must be renamed to something more general.
I'm open for suggestions.

from rendy.

fu5ha avatar fu5ha commented on May 20, 2024

Perhaps Runner since its primary function is to run the passes that have been set up? Alternatively, I thought about Engine, since it's kind of the main driving force behind actually running things, but that seems a bit too abstract to me.

from rendy.

zakarumych avatar zakarumych commented on May 20, 2024

This entity doesn't exists anymore

from rendy.

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.