Comments (2)
I think {key : predicate}
is more intuitive as we read from left to right*. But in the end, this is the same dilemma as with get/put
:
(get.a.b * f >> put.x.y
is the most readable form as a whole (IMHO), while
(f * get.a.b >> put.x.y)
makes more sense in terms of understanding what operations are applied to the data.
I think I prefer {key : predicate}
, but I don't have a strong opinion about it.
from liquidata.
this is the same dilemma as with
get/put
get
and put
give the user the choice. For key-filters we have to pick one order to which the user will have to conform.
(get.a.b * f >> put.x.y
is the most readable form as a whole (IMHO), while(f * get.a.b >> put.x.y)
makes more sense in terms of understanding what operations are applied to the data.
Exactly, it's context-dependent, so it's good to leave the choice to the user.
I think I prefer {key : predicate}, but I don't have a strong opinion about it.
I prefer it too, but : key
is essentially an option, and it seems weird to have the option precede the main item. Consider sorted(data, key=xxx)
etc.
I think I'll probably change it to { key : predicate }
, but I don't think there's any hurry, it's not as if we're going to get a thousand users by next week.
from liquidata.
Related Issues (17)
- Improve test suite HOT 2
- Pick a name for the project HOT 1
- All parameters of push should be keyword-only HOT 1
- The pipe parameter of push should accept implicit pipes HOT 1
- Improve error message in `map` HOT 1
- Address TODOs from original commits
- Installation and set-up of the package are not described
- Change interface for selection of items in dict-streams: pipe decorators HOT 1
- Improve error messages HOT 1
- Reorganize out and into
- Context managers
- Constant-space into
- Improve error messages
- Name clashes in output namespace
- Hierarchical outputs from branches
- Alternative architectures
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 liquidata.