Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #5436 > unrolled thread
| Started by | Gene Wirchenko <genew@ocis.net> |
|---|---|
| First post | 2011-06-20 14:24 -0700 |
| Last post | 2011-06-23 15:13 -0400 |
| Articles | 20 on this page of 96 — 22 participants |
Back to article view | Back to comp.lang.java.programmer
CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-20 14:24 -0700
Re: CLI Java Glitch Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-06-20 14:48 -0700
Re: CLI Java Glitch Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-06-20 18:49 -0300
Re: CLI Java Glitch Martin Gregorie <martin@address-in-sig.invalid> - 2011-06-20 22:09 +0000
Re: CLI Java Glitch Esmond Pitt <esmond.pitt@bigpond.com> - 2011-06-21 10:16 +1000
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-21 22:49 +0100
Re: CLI Java Glitch Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-06-21 15:11 -0700
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-21 16:37 -0700
Re: CLI Java Glitch Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-06-21 17:54 -0700
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-21 20:58 -0400
Re: CLI Java Glitch Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-07-21 18:14 -0700
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 17:19 -0400
Re: CLI Java Glitch Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-07-22 19:45 -0700
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 23:17 -0400
Re: CLI Java Glitch Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-07-22 20:25 -0700
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 23:38 -0400
Re: CLI Java Glitch lewbloch <lewbloch@gmail.com> - 2011-07-23 09:09 -0700
Re: CLI Java Glitch Esmond Pitt <esmond.pitt@bigpond.com> - 2011-07-22 18:41 +1000
Re: CLI Java Glitch Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-07-25 11:25 +0000
Re: CLI Java Glitch lewbloch <lewbloch@gmail.com> - 2011-06-22 09:02 -0700
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-22 10:12 -0700
Re: CLI Java Glitch Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-06-22 10:39 -0700
Re: CLI Java Glitch Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-06-22 09:50 -0700
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-22 19:44 +0100
Re: CLI Java Glitch Michael Wojcik <mwojcik@newsguy.com> - 2011-06-23 12:31 -0400
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-23 23:04 +0100
Re: CLI Java Glitch Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-06-23 21:40 -0700
Re: CLI Java Glitch Michael Wojcik <mwojcik@newsguy.com> - 2011-06-24 09:43 -0400
Re: CLI Java Glitch Michael Wojcik <mwojcik@newsguy.com> - 2011-06-23 12:24 -0400
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-23 14:32 -0700
Re: CLI Java Glitch lewbloch <lewbloch@gmail.com> - 2011-06-24 09:12 -0700
Re: CLI Java Glitch Bent C Dalager <bcd@pvv.ntnu.no> - 2011-06-24 22:49 +0000
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-26 20:29 -0700
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-21 16:29 -0700
Re: CLI Java Glitch Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-06-22 11:54 +0100
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-22 10:16 -0700
Re: CLI Java Glitch Patricia Shanahan <pats@acm.org> - 2011-06-22 11:06 -0700
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-22 11:46 -0700
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-22 12:50 -0700
Re: CLI Java Glitch Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-06-23 15:23 +0100
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-23 08:58 -0700
Re: CLI Java Glitch lewbloch <lewbloch@gmail.com> - 2011-06-24 08:58 -0700
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-24 11:36 -0700
Re: CLI Java Glitch Paul Cager <paul.cager@googlemail.com> - 2011-06-22 14:45 -0700
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-22 23:29 +0100
Re: CLI Java Glitch Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-06-22 18:08 -0700
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-23 23:20 +0100
Re: CLI Java Glitch Esmond Pitt <esmond.pitt@bigpond.com> - 2011-06-24 10:28 +1000
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-25 22:58 +0100
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-26 20:31 -0700
Re: CLI Java Glitch lewbloch <lewbloch@gmail.com> - 2011-06-24 09:00 -0700
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 17:33 -0400
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 17:38 -0400
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 17:41 -0400
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-22 20:00 +0100
Re: CLI Java Glitch Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-06-23 15:18 +0100
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 17:29 -0400
Re: CLI Java Glitch Esmond Pitt <esmond.pitt@bigpond.com> - 2011-06-23 11:40 +1000
Re: CLI Java Glitch Esmond Pitt <esmond.pitt@bigpond.com> - 2011-06-23 20:21 +1000
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-23 09:00 -0700
Re: CLI Java Glitch Esmond Pitt <esmond.pitt@bigpond.com> - 2011-06-24 10:24 +1000
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-21 22:52 +0100
Re: CLI Java Glitch Jeff Higgins <jeff@invalid.invalid> - 2011-06-20 19:11 -0400
Re: CLI Java Glitch Lew Bloch <lewisbloch@google.com> - 2011-06-20 16:25 -0700
Re: CLI Java Glitch Jeff Higgins <jeff@invalid.invalid> - 2011-06-20 19:45 -0400
Re: CLI Java Glitch Lew Bloch <lewisbloch@google.com> - 2011-06-20 18:28 -0700
Ping: Lew Bloch Jeff Higgins <jeff@invalid.invalid> - 2011-06-20 23:26 -0400
Re: Ping: Lew Bloch Lew Bloch <lewisbloch@google.com> - 2011-06-21 10:25 -0700
Re: Ping: Lew Bloch Jeff Higgins <jeff@invalid.invalid> - 2011-06-21 14:36 -0400
Re: CLI Java Glitch Patricia Shanahan <pats@acm.org> - 2011-06-20 17:02 -0700
Re: CLI Java Glitch Jeff Higgins <jeff@invalid.invalid> - 2011-06-20 20:37 -0400
Re: CLI Java Glitch Jeff Higgins <jeff@invalid.invalid> - 2011-06-20 20:44 -0400
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-21 22:45 +0100
Re: CLI Java Glitch Roedy Green <see_website@mindprod.com.invalid> - 2011-06-20 16:55 -0700
Re: CLI Java Glitch Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-06-20 20:44 -0400
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-20 19:26 -0700
Re: CLI Java Glitch Paul Cager <paul.cager@googlemail.com> - 2011-06-21 02:34 -0700
Re: CLI Java Glitch Silvio <silvio@moc.com> - 2011-06-21 16:50 +0200
Re: CLI Java Glitch "Gavino" <invalid@invalid.invalid> - 2011-06-21 21:35 +0200
Re: CLI Java Glitch Roedy Green <see_website@mindprod.com.invalid> - 2011-06-21 11:59 -0700
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-21 13:03 -0700
Re: CLI Java Glitch BGB <cr88192@hotmail.com> - 2011-06-21 14:21 -0700
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 17:45 -0400
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-20 19:29 -0700
Re: CLI Java Glitch Tom Anderson <twic@urchin.earth.li> - 2011-06-21 22:42 +0100
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-21 14:48 -0700
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 17:47 -0400
Re: CLI Java Glitch Jeff Higgins <jeff@invalid.invalid> - 2011-06-21 21:52 -0400
Re: CLI Java Glitch Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-06-22 07:56 -0300
Re: CLI Java Glitch Jeff Higgins <jeff@invalid.invalid> - 2011-06-22 08:02 -0400
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-22 10:18 -0700
Re: CLI Java Glitch Jeff Higgins <jeff@invalid.invalid> - 2011-06-22 15:01 -0400
Re: CLI Java Glitch Gene Wirchenko <genew@ocis.net> - 2011-06-22 12:54 -0700
Re: CLI Java Glitch Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-06-22 18:52 -0300
Re: CLI Java Glitch Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 17:50 -0400
Re: CLI Java Glitch Michael Wojcik <mwojcik@newsguy.com> - 2011-06-23 15:13 -0400
Page 4 of 5 — ← Prev page 1 2 3 [4] 5 Next page →
| From | Esmond Pitt <esmond.pitt@bigpond.com> |
|---|---|
| Date | 2011-06-24 10:24 +1000 |
| Message-ID | <4e03d94a$0$57114$c30e37c6@exi-reader.telstra.net> |
| In reply to | #5578 |
On 24/06/2011 2:00 AM, Gene Wirchenko wrote: > On Thu, 23 Jun 2011 11:40:38 +1000, Esmond Pitt > <esmond.pitt@bigpond.com> wrote: > >> How? How can it get the name of the file it has just opened? > > How can it open a file without the filename? Just keep that > name. Misses the point completely. The point at issue is whether the name in the file system matches the name that you opened.
[toc] | [prev] | [next] | [standalone]
| From | Tom Anderson <twic@urchin.earth.li> |
|---|---|
| Date | 2011-06-21 22:52 +0100 |
| Message-ID | <alpine.DEB.2.00.1106212250030.6476@urchin.earth.li> |
| In reply to | #5442 |
On Mon, 20 Jun 2011, Martin Gregorie wrote:
> On Mon, 20 Jun 2011 14:24:53 -0700, Gene Wirchenko wrote:
>
>> Dear Java'ers:
>>
>> Given
>>
>> class HelloWorld
>> {
>> public static void main(String[] args)
>> {
>> System.out.println("Hello, world!");
>> }
>> }
>>
>> is there any way around the following?
>>
> Nope: out it down to the non-intuitive ways some OSen handle file names.
> There's a big difference between:
>
> (1) an OS that stores a file name as input but does caseless name
> comparisons when parsing a request to find a file (Windows from Win95
> onwards)
>
> and
>
> (2) one that converts file names to, say, upper case when they're stored
> and *then* does caseless comparisons. (DOS, Windows to 3.11)
>
> or
>
> (3) one that stores file names as entered and does case-sensitive
> comparisons. (all UNIX family OSen)
Ahem. The UNIX-family MacOS X - possibly only when using HFS+ and FAT,
although i'm not sure - does case-wobbly comparisons. Case is preserved,
but i think it is ignored when paths are looked up. It's been a while
since i worked on OS X, so i forget the details.
tom
--
No man ever steps in the same river twice, for it's not the same river
and he's not the same man. -- Heraclitus
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2011-06-20 19:11 -0400 |
| Message-ID | <itojq0$erl$1@dont-email.me> |
| In reply to | #5436 |
On 06/20/2011 05:24 PM, Gene Wirchenko wrote:
> Dear Java'ers:
>
> Given
>
> class HelloWorld
> {
> public static void main(String[] args)
> {
> System.out.println("Hello, world!");
> }
> }
>
> is there any way around the following?
>
> C:\cbs2dev\test>java helloworld
maybe a wrapper script
[toc] | [prev] | [next] | [standalone]
| From | Lew Bloch <lewisbloch@google.com> |
|---|---|
| Date | 2011-06-20 16:25 -0700 |
| Message-ID | <de0b1d41-f966-4514-98fc-2e24968bace9@l14g2000pro.googlegroups.com> |
| In reply to | #5443 |
On Jun 20, 4:11 pm, Jeff Higgins <j...@invalid.invalid> wrote:
> On 06/20/2011 05:24 PM, Gene Wirchenko wrote:
>
> > Dear Java'ers:
>
> > Given
>
> > class HelloWorld
> > {
> > public static void main(String[] args)
> > {
> > System.out.println("Hello, world!");
> > }
> > }
>
> > is there any way around the following?
>
> > C:\cbs2dev\test>java helloworld
>
> maybe a wrapper script
That would not help in this case. Think about the problem and you
will see why.
OK, I'll tell you why. Wrapper scripts don't help in the face of
egregious error.
Perhaps you should be specific with your suggestion. "Maybe a wrapper
script" is about as useful as advice as "maybe a program to help
you". Could you elucidate precisely what sort of "wrapper script" you
have in mind, and precisely how you believe it would help, and
precisely how that would ameliorate egregious error?
--
Lew
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2011-06-20 19:45 -0400 |
| Message-ID | <itolpi$v92$1@dont-email.me> |
| In reply to | #5444 |
On 06/20/2011 07:25 PM, Lew Bloch wrote:
> On Jun 20, 4:11 pm, Jeff Higgins<j...@invalid.invalid> wrote:
>> On 06/20/2011 05:24 PM, Gene Wirchenko wrote:
>>
>>> Dear Java'ers:
>>
>>> Given
>>
>>> class HelloWorld
>>> {
>>> public static void main(String[] args)
>>> {
>>> System.out.println("Hello, world!");
>>> }
>>> }
>>
>>> is there any way around the following?
>>
>>> C:\cbs2dev\test>java helloworld
>>
>> maybe a wrapper script
>
> That would not help in this case. Think about the problem and you
> will see why.
>
> OK, I'll tell you why. Wrapper scripts don't help in the face of
> egregious error.
>
> Perhaps you should be specific with your suggestion. "Maybe a wrapper
> script" is about as useful as advice as "maybe a program to help
> you". Could you elucidate precisely what sort of "wrapper script" you
> have in mind, and precisely how you believe it would help, and
> precisely how that would ameliorate egregious error?
>
What error?
[toc] | [prev] | [next] | [standalone]
| From | Lew Bloch <lewisbloch@google.com> |
|---|---|
| Date | 2011-06-20 18:28 -0700 |
| Message-ID | <09e6e647-ad49-49db-b3fc-8997403c99dd@r21g2000pri.googlegroups.com> |
| In reply to | #5445 |
Jeff Higgins wrote:
> Lew Bloch wrote:
>> Jeff Higgins wrote:
>>> Gene Wirchenko wrote:
>>>> Dear Java'ers:
>
>>>> Given
>
>>>> class HelloWorld
>>>> {
>>>> public static void main(String[] args)
>>>> {
>>>> System.out.println("Hello, world!");
>>>> }
>>>> }
>
>>>> is there any way around the following?
>
>>>> C:\cbs2dev\test>java helloworld
>
>>> maybe a wrapper script
>
>> That would not help in this case. Think about the problem and you
>> will see why.
>
>> OK, I'll tell you why. Wrapper scripts don't help in the face of
>> egregious error.
>
>> Perhaps you should be specific with your suggestion. "Maybe a wrapper
>> script" is about as useful as advice as "maybe a program to help
>> you". Could you elucidate precisely what sort of "wrapper script" you
>> have in mind, and precisely how you believe it would help, and
>> precisely how that would ameliorate egregious error?
>
> What error?
>
The error the OP made. Duhh.
Now, how about responding to the request for details instead of
continuing with vague, indirect, fairly unhelpful responses?
--
Lew
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2011-06-20 23:26 -0400 |
| Subject | Ping: Lew Bloch |
| Message-ID | <itp2nf$2fs$1@dont-email.me> |
| In reply to | #5445 |
I'm sorry, I use Thunderbird and eternal-september
and for some reason I can see that you have replied
but I cannot see the body of your message or reply to it.
I've retrieved some context from Google Groups and
copy/pasted, and will reply to it here.
Jeff Higgins wrote:
> Lew Bloch wrote:
>> Jeff Higgins wrote:
>>> Gene Wirchenko wrote:
>>>> Dear Java'ers:
>>>> Given
>>>> class HelloWorld
>>>> {
>>>> public static void main(String[] args)
>>>> {
>>>> System.out.println("Hello, world!");
>>>> }
>>>> }
>>>> is there any way around the following?
>>>> C:\cbs2dev\test>java helloworld
>>> maybe a wrapper script
>> That would not help in this case. Think about the problem and you
>> will see why.
>> OK, I'll tell you why. Wrapper scripts don't help in the face of
>> egregious error.
>> Perhaps you should be specific with your suggestion. "Maybe a wrapper
>> script" is about as useful as advice as "maybe a program to help
>> you". Could you elucidate precisely what sort of "wrapper script" you
>> have in mind, and precisely how you believe it would help, and
>> precisely how that would ameliorate egregious error?
> What error?
The error the OP made. Duhh.
Now, how about responding to the request for details instead of
continuing with vague, indirect, fairly unhelpful responses?
No, thanks. I'll await a request from the OP for clarification.
[toc] | [prev] | [next] | [standalone]
| From | Lew Bloch <lewisbloch@google.com> |
|---|---|
| Date | 2011-06-21 10:25 -0700 |
| Subject | Re: Ping: Lew Bloch |
| Message-ID | <60ffad1d-2238-4ca9-8f94-2069497614e1@s16g2000prf.googlegroups.com> |
| In reply to | #5455 |
Jeff Higgins wrote: > Lew wrote: >> Now, how about responding to the request for details instead of >> continuing with vague, indirect, fairly unhelpful responses? > > No, thanks. I'll await a request from the OP for clarification. > It'll be interesting to see how the OP can clarify your point, but all right. I'll grab some popcorn and a beer; this should be fun. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2011-06-21 14:36 -0400 |
| Subject | Re: Ping: Lew Bloch |
| Message-ID | <itqo1t$79m$1@dont-email.me> |
| In reply to | #5473 |
On 06/21/2011 01:25 PM, Lew Bloch wrote: I'll grab some popcorn and a beer; this should be fun. Enjoy. :)
[toc] | [prev] | [next] | [standalone]
| From | Patricia Shanahan <pats@acm.org> |
|---|---|
| Date | 2011-06-20 17:02 -0700 |
| Message-ID | <08-dnSujmMAaQmLQnZ2dnUVZ_q-dnZ2d@earthlink.com> |
| In reply to | #5444 |
On 6/20/2011 4:25 PM, Lew Bloch wrote:
> On Jun 20, 4:11 pm, Jeff Higgins<j...@invalid.invalid> wrote:
>> On 06/20/2011 05:24 PM, Gene Wirchenko wrote:
>>
>>> Dear Java'ers:
>>
>>> Given
>>
>>> class HelloWorld
>>> {
>>> public static void main(String[] args)
>>> {
>>> System.out.println("Hello, world!");
>>> }
>>> }
>>
>>> is there any way around the following?
>>
>>> C:\cbs2dev\test>java helloworld
>>
>> maybe a wrapper script
>
> That would not help in this case. Think about the problem and you
> will see why.
>
> OK, I'll tell you why. Wrapper scripts don't help in the face of
> egregious error.
>
> Perhaps you should be specific with your suggestion. "Maybe a wrapper
> script" is about as useful as advice as "maybe a program to help
> you". Could you elucidate precisely what sort of "wrapper script" you
> have in mind, and precisely how you believe it would help, and
> precisely how that would ameliorate egregious error?
I can see a couple of ways a script could help:
1. Create a helloworld.bat script (I'm assuming, given the wish to
ignore case, that this is MS-Windows specific) that runs the java
command with the correct spelling of the class name. Users who run the
script could ignore case.
2. Create a general script, javaignorecase.bat, that takes the same
parameters as the java command. It would scan the class path for
classes. If it found one that matches its class name argument ignoring
case, it would run the java command substituting the actual class name
for its class name argument and passing through the rest of the
arguments unchanged.
Personally, I don't like things that ignore case, but that is a far from
universal view.
Patricia
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2011-06-20 20:37 -0400 |
| Message-ID | <itoorp$gjb$1@dont-email.me> |
| In reply to | #5447 |
On 06/20/2011 08:02 PM, Patricia Shanahan wrote: > > 1. Create a helloworld.bat script (I'm assuming, given the wish to > ignore case, that this is MS-Windows specific) that runs the java > command with the correct spelling of the class name. Users who run the > script could ignore case. On Vista+ I believe you can use mklink instead of a batch file. > > 2. Create a general script, javaignorecase.bat, that takes the same > parameters as the java command. It would scan the class path for > classes. If it found one that matches its class name argument ignoring > case, it would run the java command substituting the actual class name > for its class name argument and passing through the rest of the > arguments unchanged. I was going to call mine javaci, but this may fall into the egrigulous category, not sure. > > Personally, I don't like things that ignore case, but that is a far from > universal view. > > Patricia
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2011-06-20 20:44 -0400 |
| Message-ID | <itop7a$i8s$1@dont-email.me> |
| In reply to | #5449 |
On 06/20/2011 08:37 PM, Jeff Higgins wrote: > I was going to call mine javaci, but this may fall into the egrigulous > category, not sure. Oops, ungrinulous. ;)
[toc] | [prev] | [next] | [standalone]
| From | Tom Anderson <twic@urchin.earth.li> |
|---|---|
| Date | 2011-06-21 22:45 +0100 |
| Message-ID | <alpine.DEB.2.00.1106212245270.6476@urchin.earth.li> |
| In reply to | #5450 |
On Mon, 20 Jun 2011, Jeff Higgins wrote: > On 06/20/2011 08:37 PM, Jeff Higgins wrote: > >> I was going to call mine javaci, but this may fall into the egrigulous >> category, not sure. > > Oops, ungrinulous. ;) Gregarious? tom -- No man ever steps in the same river twice, for it's not the same river and he's not the same man. -- Heraclitus
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2011-06-20 16:55 -0700 |
| Message-ID | <cenvv6tnn2rl342jbd8a7uq1q2m3g726qo@4ax.com> |
| In reply to | #5436 |
On Mon, 20 Jun 2011 14:24:53 -0700, Gene Wirchenko <genew@ocis.net> wrote, quoted or indirectly quoted someone who said : >C:\cbs2dev\test>java helloworld >Exception in thread "main" java.lang.NoClassDefFoundError: helloworld >(wrong nam see http://mindprod.com/jgloss/helloworld.html Java is case sensitive. Case matters. -- Roedy Green Canadian Mind Products http://mindprod.com One of the great annoyances in programming derives from the irregularity of English spelling especially when you have international teams. I want to find a method or variable, but I don't know precisely how its is spelled or worded. English is only approximately phonetic. Letters are randomly doubled. The dictionary often lists variant spellings. British, Canadian and American spellings differ.I would like to see an experiment where variable names were spelled in a simplified English, where there were no double letters.I also think you could add a number of rules about composing variable names so that a variable name for something would be highly predictable. You would also need automated enforcement of the rules as well as possible.
[toc] | [prev] | [next] | [standalone]
| From | Eric Sosman <esosman@ieee-dot-org.invalid> |
|---|---|
| Date | 2011-06-20 20:44 -0400 |
| Message-ID | <itopi3$jvk$1@dont-email.me> |
| In reply to | #5446 |
On 6/20/2011 7:55 PM, Roedy Green wrote:
> On Mon, 20 Jun 2011 14:24:53 -0700, Gene Wirchenko<genew@ocis.net>
> wrote, quoted or indirectly quoted someone who said :
>
>> C:\cbs2dev\test>java helloworld
>> Exception in thread "main" java.lang.NoClassDefFoundError: helloworld
>> (wrong nam
>
> see http://mindprod.com/jgloss/helloworld.html
>
> Java is case sensitive. Case matters.
Any bets on when we'll see a font-sensitive programming language?
(Actually, I've already seen one, in a very weak sense. It was a
C compiler that completely ignored reverse-video characters in its
input -- and that emitted reverse-video error messages directly into
the source it was compiling. Convenient for one particular use case,
but not what you'd call "scalable" ...)
--
Eric Sosman
esosman@ieee-dot-org.invalid
[toc] | [prev] | [next] | [standalone]
| From | Gene Wirchenko <genew@ocis.net> |
|---|---|
| Date | 2011-06-20 19:26 -0700 |
| Message-ID | <050007l00uo10dcurs2kbs6m68fh81a1am@4ax.com> |
| In reply to | #5451 |
On Mon, 20 Jun 2011 20:44:04 -0400, Eric Sosman
<esosman@ieee-dot-org.invalid> wrote:
>On 6/20/2011 7:55 PM, Roedy Green wrote:
>> On Mon, 20 Jun 2011 14:24:53 -0700, Gene Wirchenko<genew@ocis.net>
>> wrote, quoted or indirectly quoted someone who said :
>>
>>> C:\cbs2dev\test>java helloworld
>>> Exception in thread "main" java.lang.NoClassDefFoundError: helloworld
>>> (wrong nam
>>
>> see http://mindprod.com/jgloss/helloworld.html
>>
>> Java is case sensitive. Case matters.
>
> Any bets on when we'll see a font-sensitive programming language?
>
> (Actually, I've already seen one, in a very weak sense. It was a
>C compiler that completely ignored reverse-video characters in its
>input -- and that emitted reverse-video error messages directly into
>the source it was compiling. Convenient for one particular use case,
>but not what you'd call "scalable" ...)
I can see why. I took a couple of courses of COBOL. When
viewing compilation listings, it was very tempting to start
correcting.
I ended up writing a program that converted a compilation listing
back to source. A few people did doubletakes when they saw me editing
the compilation listing. And I did help one fellow student recover
his source when he had accidentally deleted that instead of the
listing.
Sincerely,
Gene Wirchenko
[toc] | [prev] | [next] | [standalone]
| From | Paul Cager <paul.cager@googlemail.com> |
|---|---|
| Date | 2011-06-21 02:34 -0700 |
| Message-ID | <2e1f5478-2fe1-412e-8ce5-9bf889630017@e21g2000vbz.googlegroups.com> |
| In reply to | #5451 |
On Jun 21, 1:44 am, Eric Sosman <esos...@ieee-dot-org.invalid> wrote: > Any bets on when we'll see a font-sensitive programming language? Wasn't Algol-68 font-sensitive? I seem to remember that reserved words were required by the language spec to be *bold*. Of course you couldn't do bold on punched cards so compilers had conventions such as using single quotes in place of boldened text.
[toc] | [prev] | [next] | [standalone]
| From | Silvio <silvio@moc.com> |
|---|---|
| Date | 2011-06-21 16:50 +0200 |
| Message-ID | <4e00af98$0$49041$e4fe514c@news.xs4all.nl> |
| In reply to | #5464 |
On 06/21/2011 11:34 AM, Paul Cager wrote: > On Jun 21, 1:44 am, Eric Sosman<esos...@ieee-dot-org.invalid> wrote: >> Any bets on when we'll see a font-sensitive programming language? > > Wasn't Algol-68 font-sensitive? I seem to remember that reserved words > were required by the language spec to be *bold*. Of course you > couldn't do bold on punched cards so compilers had conventions such as > using single quotes in place of boldened text. Yes, the language spec used bold for keywords. The implementation we used on an IBM370 used upper-case instead.
[toc] | [prev] | [next] | [standalone]
| From | "Gavino" <invalid@invalid.invalid> |
|---|---|
| Date | 2011-06-21 21:35 +0200 |
| Message-ID | <96ca45FgjsU1@mid.individual.net> |
| In reply to | #5464 |
"Paul Cager" <paul.cager@googlemail.com> wrote in message news:2e1f5478-2fe1-412e-8ce5-9bf889630017@e21g2000vbz.googlegroups.com... >Wasn't Algol-68 font-sensitive? I seem to remember that reserved words >were required by the language spec to be *bold*. Of course you >couldn't do bold on punched cards so compilers had conventions such as >using single quotes in place of boldened text. That's right. In the Algol 68 jargon, the different conventions were known as "stropping regimes". http://en.wikipedia.org/wiki/Algol68#Program_representation
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2011-06-21 11:59 -0700 |
| Message-ID | <m7q107dq6kc28rg1ggsa0ivhm391mnlk1g@4ax.com> |
| In reply to | #5451 |
On Mon, 20 Jun 2011 20:44:04 -0400, Eric Sosman <esosman@ieee-dot-org.invalid> wrote, quoted or indirectly quoted someone who said : > Any bets on when we'll see a font-sensitive programming language? Regexes would be a heck of a lot simpler if the expressions were font or colour sensitive. You would use one colour for data and one for commands. Instead of \n you would type that see echoed some sort of single-width newline glyph. -- Roedy Green Canadian Mind Products http://mindprod.com One of the great annoyances in programming derives from the irregularity of English spelling especially when you have international teams. I want to find a method or variable, but I don't know precisely how its is spelled or worded. English is only approximately phonetic. Letters are randomly doubled. The dictionary often lists variant spellings. British, Canadian and American spellings differ.I would like to see an experiment where variable names were spelled in a simplified English, where there were no double letters.I also think you could add a number of rules about composing variable names so that a variable name for something would be highly predictable. You would also need automated enforcement of the rules as well as possible.
[toc] | [prev] | [next] | [standalone]
Page 4 of 5 — ← Prev page 1 2 3 [4] 5 Next page →
Back to top | Article view | comp.lang.java.programmer
csiph-web