You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/04/26 20:05:49 UTC

[GitHub] [couchdb] iilyak commented on pull request #3529: Create couch lib

iilyak commented on pull request #3529:
URL: https://github.com/apache/couchdb/pull/3529#issuecomment-827109368


   > Since there are only 3 or 4 functions, why not put them couch app?
   
   Few reasons:
   1. I remember Paul mentioned a vision where `couch` app would eventually go away so we shouldn't add new functions to it. He didn't mention the details so I interpret his vision as we would remove all functionality from `couch` app and then probably rename `fabric` into `couch`.
   2. There are few applications which depend on `couch`. This creates circular dependency between applications. We have a very nasty instance of this problem between `config` and `couch_log`. It makes things harder to use/release/test.
   3. We need a place where we can put auxiliary functions useful from any application. Things like:
   - couch_util:to_hex
   - couch_util:integer_to_boolean
   - function to manipulate JSON (extract and modify)
   The fact that these are in `couch` was a deal breaker few times already. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org