Comments (2)
Hi Ny, thanks for the questions.
Sometime ago the idea of streams and dataflow clicked with me and has felt much more natural than typical imperative UI programming. I guess that once that click happens in your brain, it's hard to go back.
I feel like it's like asking Germans is it hard for them to speak in german all the time. They will promptly answer to you that it feels absolutely natural. With languages, you can learn how to speak them, but at some maturity level, you will start thinking in them.
To help getting to that level, I recommend drawing diagrams (at least that's how my brain works, with visualizations). Check this https://github.com/cyclejs/cyclejs/tree/master/devtool and this http://staltz.com/how-to-debug-rxjs-code.html
It may even help to draw such diagrams before writing any code. And then, when writing code, updating the diagram. This is possible because the concepts of streams and dataflow diagrams match perfectly.
The second part of my question is in reference to your talk at GOTO 2016 in November. You said that Cycle.js wasn't good for call-and-response mechanisms, for example HTTP requests. My real question here is probably more about: is it reasonable to think of streams everywhere or did you sometime have to tell yourself "Okay whoa.. this isn't working".
In another question in this AMA someone asked about that and I answered in detail. #22 (comment)
The short answer is 'doing chained HTTP requests in the frontend is an indication that something is probably wrong or missing in the backend'.
from ama.
Thank you @staltz.
I believe your advice will help me get a better grasp of all these concepts.
Come visit us in Canada someday ;-)
from ama.
Related Issues (20)
- Why do Observables need "complete"? HOT 3
- What do you think of Mirror?
- Monadic vs Stream based, how does one decide? HOT 1
- Have you ever felt discouraged? HOT 1
- What do you think about Solid? HOT 3
- Do you think that callbags are related to CSP? HOT 1
- What is the best way to get into decentralized tech? HOT 1
- What is your opinion about Bolsonaro? HOT 1
- How did you end up in Finland? And what do you think about the Nordics? HOT 2
- Where can I find your old tweets? HOT 2
- What do you think of Svelte? HOT 1
- Do you think it's wrong to sell software? HOT 2
- What's your process for organizing/labeling issues? HOT 1
- Why isn't "callbags" written in typescript? HOT 2
- What's your overall opinion about crypto? HOT 2
- Do you have any suggestions for local mesh networking hardware? HOT 1
- Does Manyverse need to filter content, like Planetary, to meet Apple App Store guidelines?
- TypeScript vs JavaScript and OOP vs FP
- How can I solve the internet's centralization problem?
- Thoughts on open-source pricing models
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 ama.