14 ms·
'char ASCII character -- at least 8 bits. Pronounced "car".' Pronounced 'car'? Bollocks. Pronounced char as in charred.
by camperman 10y ago
'char ASCII character -- at least 8 bits. Pronounced "car".'
Pronounced 'car'? Bollocks. Pronounced char as in charred.
- cbd1984 10y agoPronounced care as in the first syllable of character.
- Nursie 10y agoThe first syllable of character sounds nothing like "care"...
- TwiztidK 10y agoIt does to a lot of Americans.
- cbd1984 10y agoHad I written it in IPA, people would be complaining about that, too... It's /kɛər/, as you can see here: https://en.wikipedia.org/wiki/Help:IPA_for_English https://en.wikipedia.org/wiki/Help:IPA_for_English And, for the record, I have the Mary-marry-merry merger: https://en.wikipedia.org/wiki/English-language_vowel_changes_before_historic_/r/#Mary.E2.80.93marry.E2.80.93merry_merger https://en.wikipedia.org/wiki/English-language_vowel_changes...
- corndoge 10y agoPronounced char as in care
- mynameisnoone 10y agoNope; it's not [care] and it's not [kahr], it's [chahr]. It's as noob as when someone pronounces nginx [njinkx] instead of [engin-x], or linux as [li-nux] instead of [lin-ux].
- _kst_ 10y ago"Like the first word of "char *". The accent is generally on the first syllable." C Infrequently Asked Questions #19.26, https://www.seebs.net/faqs/c-iaq.html https://www.seebs.net/faqs/c-iaq.html
- robert_tweed 10y agoI too pronounce it that way, since I learned C from books and just read it as it was printed. I later noticed some people do pronounce it "car" which just seems odd. Why change it, if it doesn't save a syllable? It's not a truncation of how "character" is said either, because that's a different vowel sound. Saying 'car' causes problems when learning C++, because all OOP examples on composition start "Car has-an Engine".
- drivebyops 10y agoKernighan pronounces it care as in how you say character. https://www.youtube.com/watch?v=de2Hsvxaf8M&t=2m35s https://www.youtube.com/watch?v=de2Hsvxaf8M&t=2m35s
- jasonjei 10y agoMakes sense, as it's clearly an abbreviation for "character."
- cannam 10y agoThank you for that link. I remember reading the "care as in character" thing years ago and just boggling at it -- who on earth makes character start with care? (As a British person, I think the first syllable of character rhymes with cat. There isn't a word that sounds like that but ending in r.) So rather than settle the question for me, it just dug the hole deeper. Listening to Kernighan, I can just about hear what that remark meant. (I say char myself, like the fish)
- mbreese 10y agoAnd how do you pronounce "varchar"? I've always pronounced "char" as "car". Dunno why, I learned C from a book, so no one got to tell me I was wrong.
- mynameisnoone 10y agoWell, it's wrong; varchar is pronounced [var-chahr].
- bluedino 10y agoVariable Character = Vare-care Not that I say it that way, I've always heard and said var-char
- broodbucket 10y agoI used to say "car", but it's definitely inferior to "char", since you can refer to char * as "char star" which is a lot of fun to say.
- chris_wot 10y agoMake a variable that stores an ASCII character. Make it happy. Use it wrongly. char grinned;
- j_h_s 10y agoI always have fun with char , I have a very specific cadence and melody I say it with (internally and externally). It's just such a fun phrase
- tyingq 10y agoHow about varchar in sql land? Is that var-charr, or var-car ? char *var = "varchar";
- broodbucket 10y agoThat's gotta be var-car. I guess to get a definitive answer, you need to poll database authors who deal with both :)
- mikestew 10y agoBollocks, pronounced char as in "char". I did not know this was even in dispute. Not that i care how anyone else pronounces it, i just thought it was blindingly obvious since we already have an English word spelled exactly the same as what we use in code to declare the thing.
- mynameisnoone 10y agoYup. It's [chahr] as in "I charred the steak.", not [kahr] because it doesn't have a horn and 4 wheels.
- stevetrewick 10y agoQuite. Char as in 'nice cup of'.[0] Possibly delivered by a char lady. (Note, not a char woman, which is one's housekeeper). [0] https://m.youtube.com/watch?v=eELH0ivexKA https://m.youtube.com/watch?v=eELH0ivexKA
- camperman 10y agoWell yes, but saying pronounced char as in char doesn't really get the pronunciation across unambiguously, especially when half the world seems to pronounce it something else and Irishmen have their own spin ;)
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- mwfunk 10y agoI've always pronounced it as 'care', not because of how the identifier is spelled but because it's the first syllable of the word 'character'. I don't think there's a consensus between car/char/care, though, even among C's creators. But if there was, I would vote for 'care'. I always thought SQL was another weird one. When discussing the language itself, you can say 'sequel' or 'ess queue ell' interchangeably, but when referring to a database that has "SQL" in its name, there is a DB-specific one true pronunciation: * SQL Server: 'sequel server' * PostgreSQL: 'post gress queue ell' * SQLite: 'sequel light' * MySQL: 'my ess queue ell' There's no complete consensus on any of those- just a preponderance of one, or an officially endorsed pronunciation in a FAQ someplace. I've also heard 'my squeal' for MySQL, breaking out of the 'sequel'/'ess queue ell' duopoly altogether.
- cmrx64 10y agoSurely if there was consensus, you wouldn't get to vote.
- mwfunk 10y agoMe good no words. :) At least not right now apparently...
- robert_tweed 10y ago> because it's the first syllable of the word 'character'. Except the first syllable of 'character' is neither 'car' nor 'care', unless you have a really weird accent or are intentionally making fun of the English upper class. PS: I always liked "squirrel" for SQL but sadly that one never got much traction.
- bschwindHN 10y agoAlright, I'll bite. How is 'care' not phonetically the first syllable of 'character'? And if it's not, then what is?
- barrkel 10y ago
- teddyh 10y agohttp://www.catb.org/~esr/jargon/html/C/char.html http://www.catb.org/~esr/jargon/html/C/char.html > char: /keir/, /char/, /kar/, n.
- conceit 10y agoas in "carred" you mean? :P
- sklogic 10y agoWhy? It's from "character", you do not want it charred.
- rootbear 10y agoArgument over GHif vs Jif in 3, 2, 1...