www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - just verbalizing a wish

reply "TechnoZeus" <TechnoZeus PeoplePC.com> writes:
It's too bad most keyboards don't have keys for symbols like ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?.  It's interesting that Japanese can
be typed in Hiragana, Katakana, or Romanji characters, and yet we can't find a
way to include such useful characters as these in a programming language.  No
insult to anyone intended here, by the way.  No one person is responsable for
this situation.  It just is.

Wouldn't it be nice though, if "?" could be used as an alternative to the "is"
operator for identity, at the very least?  But... I for one can say that I've
tried to type such things in Notepad and it simply wouldn't let me, no matter
how I went about it... and Notepad is still what I am typing most of my D
source code in.

TZ
Apr 15 2005
next sibling parent reply "TechnoZeus" <TechnoZeus PeoplePC.com> writes:
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Ha!  There's a perfect example of what I mean... =20

To those who are reading this in "plain text" I apologize for the markup =
codes, but it looks like they are "necessary" at this point.

Well, I'll try this again, in HTML and see if they go through...  =
=E2=88=B4=E2=88=88=E2=8A=86=E2=8A=82=E2=8A=83=E2=88=A7=E2=88=A8=E2=88=8F=E2=
=88=91=E2=88=AB=E2=88=9A=E2=88=9D=E2=88=9E=E2=88=A0=E2=89=88=E2=89=A0=E2=89=
=A4=E2=89=A1=E2=89=A5

Not sure what went through, but I see what came back on this end.  All =
of the characters I was talking about have been converted to question =
marks!

Oh, and in case they do...  "=E2=89=A1" is the one I was talking about =
as an alternative for the "is" operator.  Would be nice to allow it... =
but there is a question of whether or not it would get used, and a =
question of whether or not it may be lost when the source core is saved =
or sent or in some other way transfered from it's original location.

TZ

"TechnoZeus" <TechnoZeus PeoplePC.com> wrote in message =
news:d3od0n$b7o$1 digitaldaemon.com...
 It's too bad most keyboards don't have keys for symbols like ?, ?, ?, =
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?. It's interesting = that Japanese can be typed in Hiragana, Katakana, or Romanji characters, = and yet we can't find a way to include such useful characters as these = in a programming language. No insult to anyone intended here, by the = way. No one person is responsable for this situation. It just is.
=20
 Wouldn't it be nice though, if "?" could be used as an alternative to =
the "is" operator for identity, at the very least? But... I for one can = say that I've tried to type such things in Notepad and it simply = wouldn't let me, no matter how I went about it... and Notepad is still = what I am typing most of my D source code in.
=20
 TZ
=20
=20
 
Apr 15 2005
next sibling parent reply =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= <afb algonet.se> writes:
TechnoZeus wrote:

 Not sure what went through, but I see what came back on this end.  All 
 of the characters I was talking about have been converted to question marks!
Your Newsreader: Microsoft Outlook Express 6, didn't send it as UTF-8...
 Oh, and in case they do...  "≡" is the one I was talking about as an 
 alternative for the "is" operator.  Would be nice to allow it... but 
 there is a question of whether or not it would get used, and a question 
 of whether or not it may be lost when the source core is saved or sent 
 or in some other way transfered from it's original location.
See this old post http://www.digitalmars.com/drn-bin/wwwnews?D/19736 and http://www.prowiki.org/wiki4d/wiki.cgi?FeatureRequestList/UnicodeOperators Even if a bunch of weird Unicode alpha characters are now allowed as identifiers, allowing Unicode operators haven't been very popular... The easiest is still to use ASCII ? That tends to work about anywhere. --anders
Apr 15 2005
parent "TechnoZeus" <TechnoZeus PeoplePC.com> writes:
"Anders F Björklund" <afb algonet.se> wrote in message
news:d3ofhj$d96$1 digitaldaemon.com...
 TechnoZeus wrote:

 Not sure what went through, but I see what came back on this end.  All
 of the characters I was talking about have been converted to question marks!
Your Newsreader: Microsoft Outlook Express 6, didn't send it as UTF-8...
 Oh, and in case they do...  "?" is the one I was talking about as an
 alternative for the "is" operator.  Would be nice to allow it... but
 there is a question of whether or not it would get used, and a question
 of whether or not it may be lost when the source core is saved or sent
 or in some other way transfered from it's original location.
See this old post http://www.digitalmars.com/drn-bin/wwwnews?D/19736 and http://www.prowiki.org/wiki4d/wiki.cgi?FeatureRequestList/UnicodeOperators Even if a bunch of weird Unicode alpha characters are now allowed as identifiers, allowing Unicode operators haven't been very popular... The easiest is still to use ASCII ? That tends to work about anywhere. --anders
Yes, and the main reason ASCII is so popular, is because most keyboards don't have any characters represented on them that are outside of the 128 ASCII characters outside of that range only include a few extra letters from the 256 character Latin1 ANSI set. That's why I said... It's too bad most keyboards don't have keys for certain symbols. Like I said... just wishful thinking... but maybe some day it'll happen. :) TZ
Apr 20 2005
prev sibling parent reply Norbert Nemec <Norbert Nemec-online.de> writes:
Nobody hinders you to hack an editor to do a translation on the fly.=20
Alternatively, you could also write a preprocessor that takes unicode=20
and spits out regular ASCII D source. Anyhow: the standard=20
representation should definitely stay in ASCII.


TechnoZeus schrieb:
 Ha!  There's a perfect example of what I mean...=20
 =20
 To those who are reading this in "plain text" I apologize for the marku=
p=20
 codes, but it looks like they are "necessary" at this point.
 =20
 Well, I'll try this again, in HTML and see if they go through... =20
 =E2=88=B4=E2=88=88=E2=8A=86=E2=8A=82=E2=8A=83=E2=88=A7=E2=88=A8=E2=88=8F=
=E2=88=91=E2=88=AB=E2=88=9A=E2=88=9D=E2=88=9E=E2=88=A0=E2=89=88=E2=89=A0=E2= =89=A4=E2=89=A1=E2=89=A5
 =20
 Not sure what went through, but I see what came back on this end.  All =
 of the characters I was talking about have been converted to question m=
arks!
 =20
 Oh, and in case they do...  "=E2=89=A1" is the one I was talking about =
as an=20
 alternative for the "is" operator.  Would be nice to allow it... but=20
 there is a question of whether or not it would get used, and a question=
=20
 of whether or not it may be lost when the source core is saved or sent =
 or in some other way transfered from it's original location.
 =20
 TZ
 =20
 "TechnoZeus" <TechnoZeus PeoplePC.com <mailto:TechnoZeus PeoplePC.com>>=
=20
 wrote in message news:d3od0n$b7o$1 digitaldaemon.com...
  > It's too bad most keyboards don't have keys for symbols like ?, ?, ?=
,=20
 ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?.  It's interesting=20
 that Japanese can be typed in Hiragana, Katakana, or Romanji characters=
,=20
 and yet we can't find a way to include such useful characters as these =
 in a programming language.  No insult to anyone intended here, by the=20
 way.  No one person is responsable for this situation.  It just is.
  >
  > Wouldn't it be nice though, if "?" could be used as an alternative t=
o=20
 the "is" operator for identity, at the very least?  But... I for one ca=
n=20
 say that I've tried to type such things in Notepad and it simply=20
 wouldn't let me, no matter how I went about it... and Notepad is still =
 what I am typing most of my D source code in.
  >
  > TZ
  >
  >
  >
Apr 22 2005
parent "TechnoZeus" <TechnoZeus PeoplePC.com> writes:
You're right... but I still wish.
Haven't got the time to do more than that with it at the moment...
and wouldn't expect anyone else to either.  Just sharing my thoughts.

TZ

"Norbert Nemec" <Norbert Nemec-online.de> wrote in message
news:d4b35f$2k7k$2 digitaldaemon.com...
Nobody hinders you to hack an editor to do a translation on the fly.
Alternatively, you could also write a preprocessor that takes unicode
and spits out regular ASCII D source. Anyhow: the standard
representation should definitely stay in ASCII.


TechnoZeus schrieb:
 Ha!  There's a perfect example of what I mean...

 To those who are reading this in "plain text" I apologize for the markup
 codes, but it looks like they are "necessary" at this point.

 Well, I'll try this again, in HTML and see if they go through...
 ???????????????????

 Not sure what went through, but I see what came back on this end.  All
 of the characters I was talking about have been converted to question marks!

 Oh, and in case they do...  "?" is the one I was talking about as an
 alternative for the "is" operator.  Would be nice to allow it... but
 there is a question of whether or not it would get used, and a question
 of whether or not it may be lost when the source core is saved or sent
 or in some other way transfered from it's original location.

 TZ

 "TechnoZeus" <TechnoZeus PeoplePC.com <mailto:TechnoZeus PeoplePC.com>>
 wrote in message news:d3od0n$b7o$1 digitaldaemon.com...
  > It's too bad most keyboards don't have keys for symbols like ?, ?, ?,
 ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?.  It's interesting
 that Japanese can be typed in Hiragana, Katakana, or Romanji characters,
 and yet we can't find a way to include such useful characters as these
 in a programming language.  No insult to anyone intended here, by the
 way.  No one person is responsable for this situation.  It just is.
  >
  > Wouldn't it be nice though, if "?" could be used as an alternative to
 the "is" operator for identity, at the very least?  But... I for one can
 say that I've tried to type such things in Notepad and it simply
 wouldn't let me, no matter how I went about it... and Notepad is still
 what I am typing most of my D source code in.
  >
  > TZ
  >
  >
  >
Apr 23 2005
prev sibling next sibling parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
TechnoZeus wrote:

 It's too bad most keyboards don't have keys for symbols like ?, ?, ?,
 ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?.  It's interesting
 that Japanese can be typed in Hiragana, Katakana, or Romanji
 characters, and yet we can't find a way to include such useful
 characters as these in a programming language.  No insult to anyone
 intended here, by the way.  No one person is responsable for this
 situation.  It just is.
No it isn't. You can insert the \U character in ASCII - or in Windows, if you know the Unicode hexcode for the thing you want to insert ? See http://www.fileformat.info/info/unicode/ for a list... Then you can use the Win alt-numbers method of entering it: http://www.fileformat.info/tip/microsoft/enter_unicode.htm Or use another OS ? http://www.algonet.se/~afb/d/unicode-palette.png (that's the popup window that I used to enter any Unicode characters) Wish I knew Japanese. If I try, it'll just read as: 'Go stick your head in a pig' or something ?
 Wouldn't it be nice though, if "?" could be used as an alternative to
 the "is" operator for identity, at the very least?
Hmm, there was once an alternative '===' to the is operator... :-) --anders
Apr 15 2005
prev sibling next sibling parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
TechnoZeus wrote:
 It's too bad most keyboards don't have keys for symbols like ?, ?, ?, 
  ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?.
Huh? Most keyboards I've seen in my time have just two keys covering all of these symbols.
 It's interesting that Japanese can be typed in Hiragana, Katakana, or 
 Romanji characters, and yet we can't find a way to include such 
 useful characters as these in a programming language.  No insult to 
 anyone intended here, by the way.  No one person is responsable for 
 this situation.  It just is.
 
 Wouldn't it be nice though, if "?" could be used as an alternative to 
 the "is" operator for identity, at the very least?
<snip> Not sure about this ... looks too much like the conditional operator. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 15 2005
parent "TechnoZeus" <TechnoZeus PeoplePC.com> writes:
Yeah, the characters I had typed didn't send.  That's how poorly they're
supported.

TZ

"Stewart Gordon" <smjg_1998 yahoo.com> wrote in message
news:d3oshi$rra$1 digitaldaemon.com...
 TechnoZeus wrote:
 It's too bad most keyboards don't have keys for symbols like ?, ?, ?,
  ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?.
Huh? Most keyboards I've seen in my time have just two keys covering all of these symbols.
 It's interesting that Japanese can be typed in Hiragana, Katakana, or
 Romanji characters, and yet we can't find a way to include such
 useful characters as these in a programming language.  No insult to
 anyone intended here, by the way.  No one person is responsable for
 this situation.  It just is.

 Wouldn't it be nice though, if "?" could be used as an alternative to
 the "is" operator for identity, at the very least?
<snip> Not sure about this ... looks too much like the conditional operator. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 20 2005
prev sibling parent reply jicman <jicman_member pathlink.com> writes:
Greetings!

TechnoZeus,

your posts are very hard to read.  They are all in out line.  I don't have a
news-reader so I have to read the posts through the web interface.  Do you have
a setting on your newsreader that will set a column break?  It will make it
easier for those of us that have to scroll all the way to the right to read your
posts.

just a thought...

thanks,

josé


TechnoZeus says...
It's too bad most keyboards don't have keys for symbols like ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?.  It's interesting that Japanese can
be typed in Hiragana, Katakana, or Romanji characters, and yet we can't find a
way to include such useful characters as these in a programming language.  No
insult to anyone intended here, by the way.  No one person is responsable for
this situation.  It just is.

Wouldn't it be nice though, if "?" could be used as an alternative to the "is"
operator for identity, at the very least?  But... I for one can say that I've
tried to type such things in Notepad and it simply wouldn't let me, no matter
how I went about it... and Notepad is still what I am typing most of my D
source code in.

TZ
Apr 15 2005
parent "TechnoZeus" <TechnoZeus PeoplePC.com> writes:
Yes, I do have a setting for that.

I currently have it set to 32767 characters, so that it doesn't add arbitrary
line breaks in places that might change the meaning of what I am typing.
Perhaps it would be helpful if I would adopt a habit of typing a line break at
the end of each sentence (or phrase).
I could then simply type a line break and carrage return (paragraph break) at
the end of a paragraph.
A bit like I'm doing here.
Would that help?

If you would like me to try setting automatic line breaks at a cretain number
of characters,
let me know what number and I will consider trying it.
I would rather not, because I have to go into the registry to change it back,
but I do understand your concern,
and would rather not put anyone through having to scroll unreasonable distances
to read what I've posted.

Thanks for pointing this out.

TZ


"jicman" <jicman_member pathlink.com> wrote in message
news:d3p4fe$131j$1 digitaldaemon.com...
 Greetings!

 TechnoZeus,

 your posts are very hard to read.  They are all in out line.  I don't have a
 news-reader so I have to read the posts through the web interface.  Do you have
 a setting on your newsreader that will set a column break?  It will make it
 easier for those of us that have to scroll all the way to the right to read
your
 posts.

 just a thought...

 thanks,

 josé


 TechnoZeus says...
It's too bad most keyboards don't have keys for symbols like ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, and ?.  It's interesting that Japanese can
be typed in Hiragana, Katakana, or Romanji characters, and yet we can't find a
way to include such useful characters as these in a programming language.  No
insult to anyone intended here, by the way.  No one person is responsable for
this situation.  It just is.

Wouldn't it be nice though, if "?" could be used as an alternative to the "is"
operator for identity, at the very least?  But... I for one can say that I've
tried to type such things in Notepad and it simply wouldn't let me, no matter
how I went about it... and Notepad is still what I am typing most of my D
source code in.

TZ
Apr 20 2005