Comments (7)
published this as a helper module: depnest
!
from depject.
apart from 1, I think these complicate the code too much. better to be simple. it's a few more characters... but lots more logic & tests. I don't think it's worth it, and the discussion is a bikeshed!
but I don't mind if you have a library function that can export a correct depject object, but use whatever syntax you like.
from depject.
Just handling the first case would be fine with me.
from depject.
Oh, actually, I know how I'd put it: this proposal is like an electric can opener, an electric can opener seems like a convienence, because it takes slightly less time to open a can. But, it's a lot more expensive, and how much time do you spend opening cans per day? Also, it's too large to fit in the drawer, so it must live on the bench, there are a lot more ways for it to break down, and it requires a power socket, that could otherwise have been used for something more useful (like blender - which enables you to do something you can't otherwise do).
Electric Can Openers seem like a convience, but they don't really make your life simpler. Persue simplicity, not convienence. Simplicity saves time in the long run, when it matters, when you need to read the code to understand how it really works. When the power goes out. When you have to debug something.
from depject.
exports.create = function(api) {
return sugar({
'cats.actions': { create, destroy }
})
}
yet another way to open the can (by @mixmix + matt)
from depject.
from depject.
this seems resolved, closing
from depject.
Related Issues (19)
- idea: depject image manipulation app based around canvas HOT 4
- module terminology HOT 2
- overriding give/needs on a specific module
- idea: depject app as script tags HOT 4
- better error message for when needs: true
- [apply] super / extend / around HOT 3
- has anyone used reduce yet? HOT 12
- [apply] be able to pass in custom apply function HOT 8
- combinatorials HOT 6
- better error message when created plug is not a function HOT 1
- dynamic modules HOT 8
- A needed module that returns a number returns undefined if the number is zero HOT 1
- should `combine` and `first` order be reversed? HOT 7
- Using reduce for decorators HOT 11
- module path override is undocumented HOT 8
- a silly idea: frameworks and plug paths as files paths
- examples make no sense HOT 1
- asynchronous create functions? HOT 2
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 depject.