I think c++ is actually worse than javascript in regards to the amount of Evil Language Features present
@Lady oh right i forgot you need a type system to be a real language, my bad
@Lady @wallhackio async/await is not a language feature??
@aescling @wallhackio i suppose a few features have been added in recent years but i wouldn’t call them evil
@wallhackio @aescling arguably things like generator functions and class expressions have introduced new possibilities for the language tho
@wallhackio @aescling oh well then C must have the most features, on account of being the least specified
@wallhackio @aescling oh maybe we’re just agreeing and think we’re arguing
i was going to say:
» i’m mostly joking but to me the only conceptual barrier to adding a new feature to a language is incompatibility with what has already been specified
» so it stands to reason that the language which is the least specified will be the one with the most potential for new features
because i interpreted you as saying “i consider the potential for a language feature to be added to, itself, be a language feature”
but if you are not taking such a radical stance and only talking about features as they exist today, i think we both agree that javascript has language features, i just forgot what they were?
@wallhackio @aescling i don’t think it has very many and i think they’re mostly not evil though
@Lady @aescling it's mostly some of the regrettable consequences of the early specification, like how non-anonymous function
declarations at top level are added to the global scope, or eval
, or the constructor function nonsense, or the Function
constructor, == shenanigans, etc
i am a javascript apologist i love the language it is my baby, but what is a baby if not something with some shit in its diaper?
@wallhackio javascript has language features?