[#86787] [Ruby trunk Feature#14723] [WIP] sleepy GC — ko1@...

Issue #14723 has been updated by ko1 (Koichi Sasada).

13 messages 2018/05/01
[#86790] Re: [Ruby trunk Feature#14723] [WIP] sleepy GC — Eric Wong <normalperson@...> 2018/05/01

ko1@atdot.net wrote:

[#87095] [Ruby trunk Feature#14767] [PATCH] gc.c: use monotonic counters for objspace_malloc_increase — ko1@...

Issue #14767 has been updated by ko1 (Koichi Sasada).

9 messages 2018/05/17

[ruby-core:87126] [Ruby trunk Misc#14768] Add documentation for || and &&

From: shevegen@...
Date: 2018-05-17 09:45:08 UTC
List: ruby-core #87126
Issue #14768 has been updated by shevegen (Robert A. Heiler).


Adding more documentation/references is always good IMO, so
+1 on the issue. Perhaps even adding a new page called
operators.html (or something like that) may be useful in
the long run.

There is an old SO question:

https://stackoverflow.com/questions/1426826/difference-between-and-and-in-ruby

Having this included in the official ruby docs would be
useful to newcomers, I think.

----------------------------------------
Misc #14768: Add documentation for || and &&
https://bugs.ruby-lang.org/issues/14768#change-72111

* Author: sos4nt (Stefan Schüßler)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
The Ruby documentation doesn't seem to cover `||` and `&&`.

The only references I could find are:

http://ruby-doc.org/core-2.5.1/doc/keywords_rdoc.html
> **and**  – Short-circuit Boolean and with lower precedence than `&&`
> **or**  – Short-circuit Boolean and with lower precedence than `||`

http://ruby-doc.org/core-2.5.1/doc/syntax/assignment_rdoc.html
> There are also `||=` and `&&=`. The former makes an assignment if ...

But there's no documentation for the operators themselves.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next