Giter Club home page Giter Club logo

Comments (5)

adam-fowler avatar adam-fowler commented on September 26, 2024 2

The relevant type names of the Vapor library are very good

I disagree with you here. They are aggressively acquiring symbol space with generic names. That is one of the reasons I included the HB prefix. I think we are going to have to agree to disagree

from hummingbird.

adam-fowler avatar adam-fowler commented on September 26, 2024 1

Sorry are you saying you don't like the HB prefix? It is there because many of the types have quite generic names (request, response, application...) and I would rather not create symbol clashes with other libraries.

from hummingbird.

tib avatar tib commented on September 26, 2024 1

100% agreed with this. The HB prefix is just fine, I like the fact that Hummingbird is not polluting the symbol space with generic names.

from hummingbird.

Muning69 avatar Muning69 commented on September 26, 2024

Each library has its own unique prefix, which is not easy to conflict with other library names. However, because it is an open library, it needs to face the vast majority of developers. Removing the prefix can make it more semantically explicit, and it will also be faster and easier to understand for learning it. It will also make it more promising and more official. As for the possibility of name conflicts, developers can rename them themselves. For example, Swift has a typealias that can be used to retrieve aliases.
My English expression is not good, and it may be difficult for you to understand. Sorry.

from hummingbird.

Muning69 avatar Muning69 commented on September 26, 2024

The relevant type names of the Vapor library are very good. Although some people say that it is not standard to prefix them, I mostly give you some suggestions from a semantic and intuitive perspective. Now that this library is just beginning to develop, if you consider this suggestion, removing the prefix now will be faster than removing it in the future, and I believe it will definitely develop better and better.

from hummingbird.

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.