rambda icon indicating copy to clipboard operation
rambda copied to clipboard

Suggestions

Open selfrefactor opened this issue 2 years ago • 14 comments

This issue is opened to encourage suggestions and feedback

Previous such issue

selfrefactor avatar Dec 28 '21 10:12 selfrefactor

Any plans to support Map and Set in the future? The downside is that it would probably require to change the flat API to namespaces. To avoid ambiguous names and crazy types – the problems we already partially have with objects vs array generics.

ivan-kleshnin avatar Jan 06 '22 13:01 ivan-kleshnin

Any plans to support Map and Set in the future?

Can you be more precise? I suppose you mean that you can use Rambda.filter for example with Set and Map?

I believe the main obstacle will be the TS definitions of the new logic. I will try to research what we can do in this regard and I'll get back to you.

selfrefactor avatar Jan 06 '22 15:01 selfrefactor

Sorry. But you got me right, I meant that "new" ES2015 objects. In the context of Rambda API it could be supported with (even more) polymorphic R.filter or a collection of non-polymorphic Set.filter, Array.filter, Map.filter – forementioned "namespaces".

I guess one of the reason that Set and Map are rarely used is that almost no helper library supports them. Maybe there's some complexity beneath which explains that, as you noted. I don't know, t.b.h.

But I'd like to know, as I occasionally catch myself thinking about sets/maps as potentially better datastructures in certain cases.

ivan-kleshnin avatar Jan 07 '22 03:01 ivan-kleshnin

Is there any reason why applyTo is not implemented? Seems like a pretty straightforward function, while at the same time being super useful. I'd actually like to give it a shot, unless I'm missing something fundamental here.

Same goes for count

essenmitsosse avatar Feb 20 '22 13:02 essenmitsosse

A meta issue: the README.md is way too large, which makes the repo main page unresponsive - any idea to move the documentation somewhere else?

iwinux avatar May 14 '22 03:05 iwinux

Thank for reporting this issue @iwinux

The README.md is used to create docsify site, that is published at https://selfrefactor.github.io/rambda

What I can do is make github README from docsify document. I will report back, when I have applied the solution.

selfrefactor avatar May 15 '22 08:05 selfrefactor

This library is great, well ahead of the competition, but the name is not fit for purpose.

I keep forgetting if the one I like has a 'b' or not in it (yours is the one I like, it has a 'b', but I'll forget again tomorrow).

It's also really hard to talk to other devs about this in real life. "Have you heard of rambda? No not ramda, rambda. It's a functional programming library like ramda...".

LAC-Tech avatar Jul 27 '22 20:07 LAC-Tech

Thank you @LAC-Tech for the suggestion. I have to say that I like the idea as there is solid reasoning behind it.

Please suggest a name that is still available on NPM and I am willing to create the tooling to publish Rambda as the new library. Of course, this repo will still exists, only the new one will hold the source files and same documentation and will have its own issues.

selfrefactor avatar Jul 28 '22 07:07 selfrefactor

One suggestion is funto, because FUNctional programing is FUN-TO write

selfrefactor avatar Jul 28 '22 07:07 selfrefactor

Hi folks! I agree that a rebranding may be a good idea. And I actually like "funto"! It only clashes with some NZ estore https://funto.co.nz/ which is not a problem. Should be pretty googlable.

ivan-kleshnin avatar Jul 29 '22 08:07 ivan-kleshnin

Lets pick more suggestions for name before deciding which one to be. I have one more - Serval, which is one of fastest mammals, because Rambda library is fast library.

selfrefactor avatar Jul 29 '22 09:07 selfrefactor

Any name that's unique in the space is a big win, and would help increase visibility.

That said I go for Serval as they were one of my favourite animals in the zoo as a child :) Also if you call it Funto a lot of people will pronounce it like it's Japanese, which may or may not get on your nerves.

LAC-Tech avatar Jul 30 '22 03:07 LAC-Tech

In my view Serval would make a good name for a fast server (similar words). Funto contains "fun" (functional) so it's descriptively closer.

ivan-kleshnin avatar Jul 30 '22 06:07 ivan-kleshnin

I am thinking that keeping R as a start letter makes sense as the library still supports Ramda API.

Few short words starting with R, that are free on NPM:

  • ripen - to become ripe
  • rath - a circular enclosure surrounded by an earthen wall: used as a dwelling and stronghold in former times
  • rami - plural of ramus(a small branch, as of a stem, vein, or bone.)

selfrefactor avatar Jul 30 '22 08:07 selfrefactor

I am now more in favor of new name, but I won't change the name of this library but I will create similar library that doesn't aim following Ramda API. Linking to the new issue to follow the progress - https://github.com/selfrefactor/rambda/issues/653

selfrefactor avatar Oct 13 '22 09:10 selfrefactor