Follow

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

@aescling @wallhackio i suppose a few features have been added in recent years but i wouldn’t call them evil

@Lady @aescling i didn't use the term "language feature" to refer to things introduced by updates, I used to the term to refer generally to characteristics of/possibilities for the language

@wallhackio @aescling arguably things like generator functions and class expressions have introduced new possibilities for the language tho

@Lady @aescling i also consider additional possibilities introduced from spec updates to be "language features"

@wallhackio @aescling oh well then C must have the most features, on account of being the least specified

@Lady @aescling i do not understand what you are understanding me to have said

@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?

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.