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

Have you ever used a language with a decent type system though? I couldn't stand to use Javascript or Go at this point.


Of course. I've used C pretty extensively, Java enough to hate it, and C#.

I consider myself a javascript developer because that's what I've done my best work in and that's what I enjoy the most.


I wouldn't really consider any of those decent (certainly not C or Java), unless C# got sum types when I wasn't looking.


He said decent type system, not static one.


How can someone enjoy javascript ? Even closures are not done right and now they added classes. Just what we need sigh


I agree, classes are silly in JavaScript. It just masks the prototype and creates ambiguity; using the prototype effectively is part of being a good JavaScript developer.

I understand the hate and everything but honestly I think it presents a fun and refreshing way of solving problems.

Also npm is pretty awesome, aside from how massive the node_modules folder gets.


C, Java, and C# have decent type systems, especially compared to JavaScript.


They wouldn't say C is "weakly typed" if its type system was decent :)


No sum types, no higher-kinded types, huge verbosity in declaring a new type. I'm talking something like OCaml/F#/Scala/Haskell.


The type systems of Java and C# are OK. C is not even in the same league.




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

Search: