Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And if you try to say emoji.length, you'll get an error:

No such method 'length' for invocant of type 'Str'. Did you mean any of these: 'codes', 'chars'?

Because as the article points out, the "length" of a string is an ambiguous concept these days.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: