24 ms·
It's surprising to me (not a very experienced Rails developer) that the default behavior should be so open to abuse. Why isn't the default the opposite?
by jgrahamc 15y ago
It's surprising to me (not a very experienced Rails developer) that the default behavior should be so open to abuse.
Why isn't the default the opposite?
- Peaker 15y agoBecause convenience is deemed more important than safety. Same reason that "enum" and "int" are pretty much interchangeable in C, that arithmetic conversions and truncations are implicit -- it's not very safe, but it is more convenient.
- baq 15y agoyou know, i've heard that from php. it was damn convenient in version 3. we all know how it ended up.