Sunday, March 23, 2014

Re: Reactive programming

2014-03-23 10:29 GMT+01:00 Marc Weber <marco-oweber@gmx.de>:
The data I tried bringing is "there is nothing about reactive
programming I know about which comes close to what I know which gets
called reactive".

Was it so hard to say?
 
What do I think of when thinking about reactive programming?
- abstractions over "events" by coding functions only.
  Where did I see this style? Haskell libraries, urweb, and another
  framework you can find on hackage which compiles to js and server
  side.

Does Vim come close (programming wise)? No.
Could you have answered this yourself? Yes: just do :helpgrep reactive.

That's what I've done, finding nothing I hoped that it was present under another name, that's why I created this thread.
 
Does reactive always make sense? There are use cases where it does make
sense (I tried to point you to existing solutions, if you already know
them it could have been you talking about those) - and there are use
cases where it doesn't make sense - which is why I asked you to clarify
what you're looking for exactly.

You obviously failed on this.

Clearly not, I asked for reactive programming, to be able some things simpler, not to find a complicated way to do these things.
As you said, RP is only a tool, it's relevant in the things I want to do, if I can't do this things using RP, I'll try to do in an other relevant way.
I don't want to do RP to do RP, I want to do RP because it is easy to do the things I want to do.


> You can stay in your cavern, but don't force others to stay with you
> because you're afraid by the sunlight.
This is without context - so replying to it would be stupid.
You may want to read up about "bottom posting" which will tell you about
the benefits of "referencing the exact context you're replying to".

To sum up: If you are more specific people may actually help you.
Otherwise wait or do your own research at
github,bitbucket,google,vim.sf.net(vim wikis) and so on (which is as you
say "known") or wait for additional replies by "more knowledgable vimmers".

reactive programming is just a tool to get a job done - which job did
you think about when writing your first mail in this thread ?

Thanks
Marc Weber

I want to be able, for example:
 - be able to update ViM help automatically to print the correct bindings if I do a map
 - update the ui when I work on .vim files
 - print function documentation or usages of it or tests during cursor moves into my code

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment