Comments (5)
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.
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.
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.
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.
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)
- Hook to customize creation of Request Context HOT 2
- Investigate HTTP2 connection manager from gRPC
- Investigate confusing router API HOT 2
- Streaming issues HOT 6
- Missing CORS headers when request fails HOT 2
- Http1.1 pipelining in parallel HOT 2
- 2.x: Slow troughput for `FileIO.readFile()` HOT 1
- memory leak in beta 6? (speculating and investigating) HOT 3
- Router issue HOT 2
- stop stream while client disconnect HOT 1
- HTTPResponseError is now a ResponseGenerator HOT 2
- 2.x.x - Shutdown hangs forever if there are stalled TLS connections HOT 4
- FileMiddleware in RouterGroup HOT 4
- Swift 6 and static Linux cross compiling. HOT 6
- Problem implementing FileMiddleware HOT 27
- How to specify a bonjour endpoint to listen on? HOT 4
- 2.0.0-rc.4: "Precondition failed" in SwiftNIO for some requests HOT 4
- How can I obtain the client's IP address? HOT 1
- environ not concurrecy-safe in Swift 6 CrossCompilation, aarch64 musl HOT 1
- Review of all the metrics names and logger metadata names HOT 6
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 hummingbird.