8 Matching Annotations
- Dec 2022
-
gitlab.com gitlab.com
-
We will also run into some issues when we consider adding new channels to Service Desk like an API. We should have a streamlined process of rendering notes (messages) etc. Having a base64 image (or even attachment) in mail but not in the API might be inconsistent and also adds a lot of code that needs to be maintained.
-
- Mar 2021
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
If this is okay, then it might even be nice if #dig took a block as well as a fallback value: [].dig(1) { 'default' } #=> "default"
-
- Oct 2020
-
github.com github.com
-
my second preference would be for let, probably #let expr as name for consistency with #each.
-
-
www.python.org www.python.org
-
A style guide is about consistency. Consistency with this style guide is important. Consistency within a project is more important. Consistency within one module or function is the most important.
-
To be consistent with surrounding code that also breaks it (maybe for historic reasons)
-
- Jul 2020
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
one other thing I wanted to ask was about whether we should allow multiple arrays to be passed as arguments. Array#difference and Array#union both allow this, so it might make sense to have Array#intersection also take multiple arguments.
-
- Sep 2019
-
github.com github.com
-
the React model doesn’t always lead to the most concise code, but it is internally consistent and ensures lifting state up is safe
-
Right now the objects provided by React (state, props, refs) are internally consistent with each other. This means that if you only use those objects, they are guaranteed to refer to a fully reconciled tree (even if it’s an older version of that tree).
-