↶ lobby  ·  fable  ·  hijack  ·  code_pipe_pipe  ·  c / ruby · BA

one fable-low hijack cell

pair c / ruby envelope code_pipe_pipe ordering BA effort low
Code-flavored OR operator — '{X} || {Y}'
verdictpicked c (first-offered)  ·  classifierA · tiernone

response (200 chars)

# `||` in Ruby vs C

## Ruby
`||` is a logical OR that returns **the actual operand value**, not just true/false:

```ruby
nil || "default"     # => "default"
false || 42          # => 42
"a" || "b"  

neighbors

ordering ABenvelope chinese_casual (AB)envelope code_caret (AB)envelope code_haskell_alt (AB)envelope de_oder (AB)envelope en_arrow (AB)envelope en_bare_or (AB)envelope en_bare_or_q (AB)envelope en_pipe (AB)anchor view all 60 cells across efforts × anchors