• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is a "char"?

 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A survey...

How do you pronounce the type, "char"?

a) The way it's spelled, as in "to blacken by burning."
b) The way the syllable is pronounced in the original word, like "care."
c) A combination of these, like an automobile ("car").
d) I avoid it by saying "letter" instead.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a

That's the way it's spelled dang it!
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with what Bear says, 'cause he scares me.
 
Henry Wong
author
Marshal
Pie
Posts: 20836
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also choose (a), particularly from the old C programming days, where....

char *var;

Declares a char star var ... nothing rhymes in Java ...

Henry
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David O'Meara:
I agree with what Bear says, 'cause he scares me.
Oh good, it's finally taking effect.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33700
316
Eclipse IDE Java VI Editor
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've heard C and B on rare occasions, but I shun those people. A is way! A is the One True Path!
 
Pat Farrell
Rancher
Posts: 4660
5
Linux Mac OS X VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you ever pronounce it? Do you go around reading code out loud?

And why would you use one? This is Java Ranch, we do Java. Its about Characters, not char-broiled bits of a String.

I've been writing professional Java for about ten years, I rarely use this 'char' thing.

I do wish that Java had unsigned byte datatypes or unsigned octets, for doing crypto, since all the standards are written assuming unsigned behavior.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Pat]: Why would you ever pronounce it? Do you go around reading code out loud?

Occasionally one might find oneself accidentally interacting with a live human being in real time. One tries to avoid this, of course, but sometimes it happens anyway...
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12022
25
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
a

That's the way it's spelled dang it!

I'm curious, do you pronounce ALL words strictly based on how they are spelled? if so, how do you pronounce "character"? sugar? geoduck?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jim Yingst:
Occasionally one might find oneself accidentally interacting with a live human being in real time. One tries to avoid this, of course ...

Talking to someone you meet about datatypes is a good way to avoid these unfortunate moments in the future.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I say it a) char but think it c) car.
[ February 13, 2008: Message edited by: Cameron Wallace McKenzie ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is interesting; I'm apparently the odd man out. I pronounce it "b", both in my head and out loud, on those rare occasions where it's demanded. I've heard people say all 3, but my closest co-worker for many years also says "b".
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Fred Rosenberger:
I'm curious, do you pronounce ALL words strictly based on how they are spelled? if so, how do you pronounce "character"? sugar? geoduck?

LOL! I was a typical geeky kid who spent more time in the library than interacting with other kids so I actually have am embarrassingly large collection of words that I mispronounce based upon their spelling simple because I never heard them spoken.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
I'm apparently the odd man out. I pronounce it "b", both in my head and out loud

But it's already been established in the fitted-sheet-folding topic that you're a space alien. Of course you're going to mispronounce a few things.
 
Peter Rooke
Ranch Hand
Posts: 825
Java Linux Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course you're going to mispronounce a few things.

Oh - I try to mispronounce everything, it's my accent

Use chars all the time in SQL (or it is SEQUEL?). Glady I have mostly forgotten about chars in the context of C and C++.
 
Paul Clapham
Sheriff
Pie
Posts: 20203
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I almost never use char variables in my programs. If I ever had to speak the term, and I don't believe I ever have, it would be

e) Exactly like the word "character".
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if they would have called it "letter," then we would all know how to pronounce it. The wrapper class could have been called "LetterCarrier," and we could have methods like "getLetterCarrier()." On the other hand, we wouldn't be able to use "letter" as an identifier, preventing us from saying "return letter."

( :roll: )
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On a different but similar note, I once sat in a seminar listening to an expert talk about Jewnit.

I'd never heard anyone say anthing other than Jay-Unit (J-Unit).

Hmmm.

-Cameron
 
Eugene Abarquez
Ranch Hand
Posts: 211
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have always pronounced it as c) A combination of these, like an automobile ("car"), which I think is the correct way since it's a shortcut for "character." It's funny, I have actually never heard of anybody pronouncing it as a) The way it's spelled, as in "to blacken by burning." Might be an American thing.
 
Anand Hariharan
Rancher
Posts: 272
C++ Debian VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EFH - Am with you here (i.e., I pronounce it like 'care'), so we make the odds even. ;-)

For whatever it is worth, Stroustrup goes with 'a' -- and considers it illogical?
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Anand Hariharan]: EFH - Am with you here (i.e., I pronounce it like 'care'), so we make the odds even. ;-)

Nah, you guys are still odd.

With many programming things, I favor a pronounciation that helps me remember the spelling that I need to use when I type, regardless of the etymological origins. Thus I pronounce chmod as ch-mod rather than ch-mode, even though it does refer to changing a mode. The /etc directory is slash-et-see rather than slash-et-cetera. And a char is a char, not a care or a car.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wow, two odds are still odd
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm. I also say ch'mod and /etsee. Perhaps embarrassingly, I also say /user, even though I know that's wrong. And I say /bin, not /byne.

So I follow the same pattern as Jim, but I apparently draw the line at char.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
... And I say /bin, not /byne...

Wow... It never even occurred to me to say "byne," even though I know it's for "binary." But then, when I posted this topic, I didn't expect it to be treated as a serious question.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by marc weber:
But then, when I posted this topic, I didn't expect it to be treated as a serious question.


That is the danger inherent in MD.
 
Pat Farrell
Rancher
Posts: 4660
5
Linux Mac OS X VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jim Yingst:
Occasionally one might find oneself accidentally interacting with a live human being in real time. One tries to avoid this, of course, but sometimes it happens anyway...[/QB]


Oh, I feel so sorry for you. Human carbon based life forms are so confusing.

Most of the time, if a fellow programmer wants to look at my code, they check it out of SVN/CVS/PVCS/... and look at it.

English is a terrible language for this.
In French, if you can see the letters, you know how to pronounce it. (At least for French words).
 
Pat Farrell
Rancher
Posts: 4660
5
Linux Mac OS X VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jim Yingst:
. The /etc directory is slash-et-see rather than slash-et-cetera.


I've never even heard it as et-cetera. Far too long. That adds another whole syllable, no reason to do that.

and its been /usr/group since the late 80s. Sure, its wrong, but too bad.Too late to change it.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Pat]: I've never even heard it as et-cetera. Far too long. That adds another whole syllable, no reason to do that.

Yeah, that was a somewhat silly example; I've never heard that either. I just looked around and picked the first few examples I could see among commands I'd typed recently. On reflection, better examples are bin and lib: I say bin and lib, not bine and libe. Even though I'm well aware they come from binary and library. Using short vowels here just seems more natural to me.
[ February 18, 2008: Message edited by: Jim Yingst ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm internally inconsistent. I say "bin" and "libe"!

In my defense, as Emerson wrote, "A foolish consistency is the hobgoblin of little minds".
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm consistently foolish. Does that count?
 
Doug Slattery
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The /etc directory is slash-et-see rather than slash-et-cetera.

I've heard it pronounced that way in strange lands , but in paradise, we pronounce it properly: slash-ee-tee-see.

I will pronounce /usr as slash-you-ess-are, but will dialect it to slash-you-zer. That's just my kuleana (cool-ee-ahh-nah) .

Aloha,
Doug

-- Nothing is impossible if I'mPossible
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
...as Emerson wrote, "A foolish consistency is the hobgoblin of little minds".

I'll need to bring this up at my annual performance appraisal this week.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic