All Questions
3 questions
-2
votes
1
answer
768
views
Design pattern for a switching between APIs with no code changes
I'm trying implement in JavaScript/Node.js a data upload functionality. I want to be able to switch between different storage providers, e.g. AWS, GCP, Azure, with no code change, for instance, via ...
1
vote
1
answer
10k
views
How to define dependent function in node js?
I have a nodejs project in which a sample.js include two function
function A depends on function B's callback .
// smaple.js
Both function are included in the same file
function B ( ...
15
votes
3
answers
4k
views
How to write manageable code with functional programming?
I just started with functional programming (with JavaScript and Node.js) and from the look of things it looks as if the code I am writing would grow to be one hell of a code base to manage, when ...