danielmorrison (Daniel Morrison)
- Login: danielmorrison
- Email: daniel@collectiveidea.com
- Registered on: 11/25/2014
- Last sign in: 08/27/2015
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 2 | 0 | 2 |
Activity
11/26/2014
-
04:12 PM Ruby Feature #10549 (Assigned): Deprecate each_with_index and each_with_object in favor of with_index and with_object
- I wonder if we can deprecate `each_with_index` and `each_with_object` and fully recommend `with_index` and `with_object` instead.
I personally like the shorter forms because they hint that they can be used with more methods than simpl...
11/25/2014
-
09:28 PM Ruby Misc #10541: Remove shorthand string interpolation syntax
- Eric, I think it is dangerous syntax because (to take the example from the link above) changing "foo-#@name-1" to "foo-#@name1" unexpectedly changes what variable gets used.
That mistake can't happen with "foo-#{@name}-1".
I prefe... -
04:15 PM Ruby Misc #10541 (Assigned): Remove shorthand string interpolation syntax
- I would like to see the shorthand string interpolation syntax, "foo#@bar" deprecated and then removed in 3.0.
My reasons:
1. Most experienced Ruby developers I've talked to don't even know it exists.
2. It has been the cause of re...