Live data from Hacker News

A complete guide to TypeScript’s 'never' type

zhenghao.io

21–30 of 64 posts

Re: A complete guide to TypeScript’s 'never' type

#21
post #6

> Since there’s no values in the set, never type can’t never (pun-intended) have any value That’s not a pun that’s just poor grammar. “never type can never (pun-intended) have any value” makes sense.

I have seen such double negative at many places, to represent strong negative. Don't know if it is some trend!

It’s fairly common usage in the US southeast, and in AAVE. Regarding it as poor grammar rather than an evolution of dialect is a matter of (snobbish) taste more than anything.

Re: A complete guide to TypeScript’s 'never' type

#22

> Since there’s no values in the set, never type can’t never (pun-intended) have any value That’s not a pun that’s just poor grammar. “never type can never (pun-intended) have any value” makes sense.

> That’s not a pun that’s just poor grammar. There is no such thing as "poor grammar" --- it's a myth. Most of the grammatical "rules" we tend to be taught in primary and secondary school English courses were invented relatively recently, and they were created specifically for the purpose of establishing an arbitrary class distinction. Now, there's something to be said about markedness [1]. If the majority of a speci…

I see "poor grammar" in the context of people writing things that they would never say, and would mark as wrong if they were to read it out loud.

I also see "poor grammar" from non-native speakers. Including me: Duolingo was correct today when it told be that I shouldn't use "tu es" as a French subjunctive. No native speaker would say that. I just couldn't hear that what I typed was different from "tu aies" -- though I should have known from context.

You're absolutely right that much of what people tag as "poor grammar" is in fact a different dialect. It's perfectly natural to them and the people around them, following a set of rules that they know but may never have written down. They may evolve from mistakes that become persistent and thus valid in context.

Speaking in the wrong register or dialect is an error of its own -- not a grammatical one, but a semiotic one.

Re: A complete guide to TypeScript’s 'never' type

#23
post #15

Earlier quoted context omitted.

Any sources on poor grammar being a new thing? It's been taught in public/private schools in England for centuries, maybe even millennia.

Pedagogical history isn't a strong argument for something's truth, just its usefulness to someone. Theology was considered a key component of a higher education for centuries and is still taught for example. People have always strongly believed, and taught, things about their own languages and languages in general. They're not all wrong necessarily. But linguistics over the last like 80 years has produced some models…

But what do they say about poor?

Re: A complete guide to TypeScript’s 'never' type

#24

> Since there’s no values in the set, never type can’t never (pun-intended) have any value That’s not a pun that’s just poor grammar. “never type can never (pun-intended) have any value” makes sense.

hey thanks for pointing that out. I should have said "can never" instead. it is hard being a non native english speaker

Re: A complete guide to TypeScript’s 'never' type

#26

> Since there’s no values in the set, never type can’t never (pun-intended) have any value That’s not a pun that’s just poor grammar. “never type can never (pun-intended) have any value” makes sense.

> That’s not a pun that’s just poor grammar. There is no such thing as "poor grammar" --- it's a myth. Most of the grammatical "rules" we tend to be taught in primary and secondary school English courses were invented relatively recently, and they were created specifically for the purpose of establishing an arbitrary class distinction. Now, there's something to be said about markedness [1]. If the majority of a speci…

And beware that markedness is pronounced as three syllables like mar•ked•ness[1]

Is marked pronounced as two syllables, mar•ked, in the context of linguistics? I am guessing it would definitely be in British English[2].

[1] https://m.youtube.com/watch?v=vrZpjr44c1w

[2] https://www.reddit.com/r/linguistics/comments/dwo5gj/is_it_a...

Sorry for the poor source links, I only did a quick Google. Disclaimer: I am from New Zealand, and sometimes how we say things is special, and sometimes how I say things is even specialer.

Re: A complete guide to TypeScript’s 'never' type

#27

> Since there’s no values in the set, never type can’t never (pun-intended) have any value That’s not a pun that’s just poor grammar. “never type can never (pun-intended) have any value” makes sense.

> That’s not a pun that’s just poor grammar. There is no such thing as "poor grammar" --- it's a myth. Most of the grammatical "rules" we tend to be taught in primary and secondary school English courses were invented relatively recently, and they were created specifically for the purpose of establishing an arbitrary class distinction. Now, there's something to be said about markedness [1]. If the majority of a speci…

>Most of the grammatical "rules" we tend to be taught in primary and secondary school English courses were invented relatively recently, and they were created specifically for the purpose of establishing an arbitrary class distinction.

That's a very hefty accusation. Do you have any proof that "they were created specifically for the purpose of establishing an arbitrary class distinction"?

>Now, there's something to be said about markedness [1]. If the majority of a specific group of speakers of a language find a particular utterance (phrase, sentence, pronunciation, etc) to stand out in a way that feels unnatural, then that utterance is called "marked".

Also known as "poor grammar".

>There do exist large groups of native English speakers for whom this utterance is not marked. In these groups, this is a regular way to emphasize a negative. So, in those groups, the utterance is unmarked.

Yep, in those groups the utterance isn't considered poor grammar.

Re: A complete guide to TypeScript’s 'never' type

#28
post #22

Earlier quoted context omitted.

> That’s not a pun that’s just poor grammar. There is no such thing as "poor grammar" --- it's a myth. Most of the grammatical "rules" we tend to be taught in primary and secondary school English courses were invented relatively recently, and they were created specifically for the purpose of establishing an arbitrary class distinction. Now, there's something to be said about markedness [1]. If the majority of a speci…

I see "poor grammar" in the context of people writing things that they would never say, and would mark as wrong if they were to read it out loud. I also see "poor grammar" from non-native speakers. Including me: Duolingo was correct today when it told be that I shouldn't use "tu es" as a French subjunctive. No native speaker would say that. I just couldn't hear that what I typed was different from "tu aies" -- though…

FYI: Neither 'tu es' nor 'tu aies' make any sense to me (disclaimer: I have only learnt Spanish on the street). https://www.spanishdict.com/conjugate/ser

Perhaps you were trying to write down what you heard? 99% of the time there is a single canonical translation from verbal to written and vice-versa; English speakers have trouble learning that for some reason.

Re: A complete guide to TypeScript’s 'never' type

#29
post #15

Earlier quoted context omitted.

Any sources on poor grammar being a new thing? It's been taught in public/private schools in England for centuries, maybe even millennia.

Pedagogical history isn't a strong argument for something's truth, just its usefulness to someone. Theology was considered a key component of a higher education for centuries and is still taught for example. People have always strongly believed, and taught, things about their own languages and languages in general. They're not all wrong necessarily. But linguistics over the last like 80 years has produced some models…

I think it is relevant though if the original point was that grammar is a new thing to solidify class structures. I’m not saying that class structures and correct grammar aren’t relevant, I’ve been corrected by drunk humanity-studying Etonians enough times at the pub, but I don’t believe that it’s some recent invention to solidify class structures.

Re: A complete guide to TypeScript’s 'never' type

#30
post #28
post #22

Earlier quoted context omitted.

I see "poor grammar" in the context of people writing things that they would never say, and would mark as wrong if they were to read it out loud. I also see "poor grammar" from non-native speakers. Including me: Duolingo was correct today when it told be that I shouldn't use "tu es" as a French subjunctive. No native speaker would say that. I just couldn't hear that what I typed was different from "tu aies" -- though…

FYI: Neither 'tu es' nor 'tu aies' make any sense to me (disclaimer: I have only learnt Spanish on the street). https://www.spanishdict.com/conjugate/ser Perhaps you were trying to write down what you heard? 99% of the time there is a single canonical translation from verbal to written and vice-versa; English speakers have trouble learning that for some reason.

Sorry, I should have provided context. This was French, not Spanish. (I've clarified it in the original comment.)

If it had been Spanish, transcribing it would be easier. French mooshes a lot of things together, so that "es" and "aies" are both pronounced "eh".

Post reply on HN