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

It's always fun getting to see people experience the positives of type systems. So many of the most popular and "easy" / "user-friendly" languages drop types in favor of friendliness and speed. The most vocally popular web languages - Python, Ruby and Javascript - all seem to either ignore or not have types at all.

People make huge projects in them and start learning new techniques and then the weight of the choices they made begin to grow.

Enter: Types, a frequent savior. Not always the best choice for everyone, but a very good and useful thing.

I welcome this person on their journey!



> The most vocally popular web languages - Python, Ruby and Javascript - all seem to either ignore or not have types at all.

All three of those languages have ways to use typing, so this statement is only true in the sense of types not being mandatory, which is also the case in any language that has the Any type.


But Python, Ruby and Javascript effectively encourage you to skip using types out of the box. (Elixir, too - it supports @spec, but doesn't require it.)

If you want to skip out on types in Typescript, you have to be explicit about it.




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

Search: