Hacker News new | ask | show | jobs
by coldtea 4067 days ago
Which Hack does too (static checking). What he describes (logging) can be enabled as an alternative to that.

Maybe you should try it?

1 comments

If you're logging, the only good reason to do so instead of fixing errors which your type checker found at compile time is if you're mixing PHP and Hack, which is where you'd get type errors that couldn't be determined at compile time. I'm suggesting using a language with an environment that is more completely statically checked (and preferably also has a more complete type system, something functional perhaps).