Skip to content

Comment on Dead Code Elimination for Beginnersparent

Comments

I was going to write the exact same thing. As long as I don't have to explicitly declare the type of variables and functions, I don't really care whether it's because the compiler infers the types or because the language is dynamic.

I don't write much Javascript, but I do use Python quite a bit. I'd say that most of the code I write is probably just statically typed code without declarations. That's not a bad thing, because it makes it easy to take advantage of a JIT (either psyco or pypy) or, if the JIT approach isn't fast enough, to statically compile with cython by adding declarations.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.