• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

What is a "char"?

 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67618
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
a

That's the way it's spelled dang it!
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with what Bear says, 'cause he scares me.
 
author
Posts: 23912
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67618
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 40913
840
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
'a', but I've heard 'c'
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
lowercase baba
Posts: 13018
66
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I say it a) char but think it c) car.
[ February 13, 2008: Message edited by: Cameron Wallace McKenzie ]
 
author and iconoclast
Posts: 24203
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67618
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67618
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1094
19
Mac OS X IntelliJ IDE Oracle Spring VI Editor Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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++.
 
Sheriff
Posts: 26946
83
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 280
VI Editor C++ Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
wow, two odds are still odd
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24203
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 24203
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 24203
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm consistently foolish. Does that count?
 
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic