New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DECRBYFLOAT why not? #5540
Comments
It is redundant since you can just incrbyfloat a negative. Yes, the same is
true of decrby, but: that isn't by itself a good reason to *keep* knowingly
adding redundant methods.
…On Thu, 8 Nov 2018, 05:50 Alexandr Topilski ***@***.*** wrote:
Hi, Redis have incrbyfloat but i didn't find decrbyfloat docs. Is this
command exists?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5540>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABDsFfgz1hnjT2usxtX7i9Iq0dPkseTks5us8YKgaJpZM4YUCm_>
.
|
Hi @mgravell , thank you for reply, may be in this case need to remove decrby? |
@topilski yes, the idea is to deprecate it at some point... It's completely useless AFAIK. |
(but it's there since Redis 1.0 -- back then the idea was, that given that we had INCR and DECR, when INCRBY was introduced, it was odd to lack the symmetrical. Later the community started to develop and urgency about avoiding adding new commands, so the float version comes without such symmetrical command. Unfortunately backward compatibility is great but has such side effects of not removing certain errors). |
Thanks! TYPE command updated.
…On Thu, Nov 8, 2018 at 9:33 AM Alexandr Topilski ***@***.***> wrote:
@antirez <https://github.com/antirez> thank you for clarification, i
think we can close this issue. Also please update docs for TYPE
<https://redis.io/commands/type> command, now Redis have new type
'stream' , thank you for the good work!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5540 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEAYPQAygOVVjM94PzxBz2grTLM29Tmks5us-xWgaJpZM4YUCm_>
.
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
|
Hi, Redis have incrbyfloat but i didn't find decrbyfloat docs. Is this command exists?
The text was updated successfully, but these errors were encountered: