mmaglana (Mark Maglana)
- Login: mmaglana
- Registered on: 07/21/2016
- Last sign in: 07/25/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
07/21/2016
-
04:45 PM Ruby Feature #12608: Proposal to replace unless in Ruby
- The following example:
~~~ ruby
unless user
redirect_to_login
else
render_profile
end
~~~
is a result of poor choices made by the programmer and not the fault of `unless`. The above is better written as:
~~~ ruby
if ...