Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@jaxn
Copy link
Contributor

@jaxn jaxn commented Oct 4, 2016

As someone who writes Ruby regularly, the use of a return statement
with a same-line if statement followed by a second default return
seemed verbose and less readable.

Plus, a one line ternary statement seems like a pretty good example of
Ruby being Perl-like and a little unnecessarily complex to read for
coders who don’t live with it every day.

Close #9

As someone who writes Ruby regularly, the use of a return statement
with a same-line if statement followed by a second default return
seemed verbose and less readable.

Plus, a one line ternary statement seems like a pretty good example of
Ruby being Perl-like and a little unnecessarily complex to read for
coders who don’t live with it every day.
@mjhea0
Copy link
Owner

mjhea0 commented Oct 4, 2016

👍

@mjhea0 mjhea0 merged commit 8a10bb9 into mjhea0:master Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.