5 ms·
For an example of the broken stuff, consider string handling: [98, 114, 111, 107, 101, 110] == "broken". It also doesn't have first class records. A record is
by yummyfajitas 17y ago
For an example of the broken stuff, consider string handling: [98, 114, 111, 107, 101, 110] == "broken".
It also doesn't have first class records. A record is nothing but a tuple, with some compile-time sugar that reminds you what the fields are. If Employee records have a name field, then you access it by saying e#Employee.name.
- davidw 17y agoYeah, the records are ugly. I'd love to see what Joe would do if he could go off and make an Erlang 2.0 and ditch the backwards compatibility.