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

> Static typing. This is totally a question of taste but sometimes I would really love to have a bit more static typing in PHP. Guess what this following code does if you have a file named “1” in your directory

This has nothing to do with static typing and everything to do with type insanity (I refuse to call it any other name). Bash and Javascript are also guilty of this BS behaviour. But Python doesn't have static typing, yet it would handle this just fine.



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

Search: