alexch (Alex Chaffee)
- Login: alexch
- Email: alex@stinky.com
- Registered on: 05/19/2011
- Last sign in: 08/07/2013
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
08/07/2013
-
10:50 PM Ruby Feature #6225: Hash#+
- Operator overloading is for convenience and to "least surprise". Since `+` puts two numbers together, and `+` puts two strings together, and `+` puts two arrays together, `+` should also put two hashes together -- in the way that makes t...
08/27/2012
-
03:25 AM Ruby Feature #4801: Shorthand Hash Syntax for Strings
- nobu, your statement is true, and if symbols are *implemented* as strings then it will still be true. I promise! We can have "class Symbol < String" and they will still be unique objects with fixed names.
Implementing symbols as froze...
08/22/2012
-
04:05 AM Ruby Feature #4801: Shorthand Hash Syntax for Strings
- Symbols *should* be frozen strings. Any performance problems can be solved by the interpreter. The reason the feature was "abolished" (rolled back) had to do with existing libraries, especially those using "case" statements to compare cl...