4 ms·
I always thought Ruby has symbols because const String ACCOUNT_FUNDS_EXCEEDED = "ACCOUNT_FUNDS_EXCEEDED" is plain retarded :D
by luciusdomitius 5y ago
I always thought Ruby has symbols because
const String ACCOUNT_FUNDS_EXCEEDED = "ACCOUNT_FUNDS_EXCEEDED"
is plain retarded :D
- OJFord 5y agoThat would be an odd way to do that in a language that doesn't have symbols too though.
- luciusdomitius 5y agoHave a look at 90% of corporate codebases.
- zem 5y agoit makes sure that any typos are caught at compile time, for one