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

Typescript doesnt blow up when someone passes a legacy assumption into a static typed area of dynamic code.

I've seen too many bugs with PHP static typing for it to be worth it in mature systems. It's great in greenfield, but yeah, old code is hard to work it into unlike typescript which tends to be more forgiving. Though, I will say, typescript is just as viral if not more so.



> I've seen too many bugs with PHP static typing for it to be worth it in mature systems.

Can you elaborate? What kind of bugs? Can you give some examples? I'm scratching my head because I'm not sure if I ever experienced such a bug.


What did you mean by "viral"?




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

Search: