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

Sadly, all of my professional work to date has been in dynamic languages. They still have types, and `null` is still not `"null"`.

Edit: whoops, forgot the one time I wrote a one-off Mac app in Swift.



I was kinda sorta being sarcastic, though that kind of thing is a big problem in dynamic languages. Javascript has the concept of "truthy" values of ... whatever rather than a simple boolean type. Realistically this particular problem is not due to dynamic languages per se. Most likely it's due to some stage of a process where data was serialized/deserialized without sufficient care. In general it's more of an "in band signaling" problem.




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

Search: