Hacker News new | past | comments | ask | show | jobs | submit login

some of these are not present in other high level languages like PHP, javascript and you don't call them lower level...



PHP and JavaScript are not statically typed. What would be the use of generics in there? Obviously for the same reason you don’t need the dynamic keyword. As for LINQ at least in JavaScript you have it, either integrated in the language with map, filter, reduce or using some library like lodash or Ramda. You don’t have expression trees but you don’t really need them given the highly dynamic nature of the language, although not at the same level as ruby if I remember correctly. JavaScript has exceptions, so here I’m really not sure what you are speaking about. For FFI marshalling (that for sure I would not call high level feature) there is webassembly. Match expressions are present in JavaScript and obviously you can’t have exhaustive pattern matching like in typescript because of the lack of types. Even in that way it’s pretty comparable to c# switch case. So to me it seems that at least JavaScript has all the features listed in the gp, why you are convinced of the contrary?




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: