Re: split() and String []
From: Yoyoma_2 (Yoyoma_2_at_[at-)
Date: 04/02/04
- Previous message: Merrill: "Re: USB program"
- In reply to: Mike Frayn: "Re: split() and String []"
- Next in thread: Jeff Schwab: "Re: split() and String []"
- Reply: Jeff Schwab: "Re: split() and String []"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 02 Apr 2004 16:35:32 GMT
Mike Frayn wrote:
>>Okay, that's embarrassing. I remember looking for that
>
> and
>
>>not finding it... must've been looking at a regular
>
> string.
>
>>Ouch.
>
>
> Uhhhh, nope that's not a valid excuse as a String has that
> too. Right, so I have no idea why I missed that!!! Double
> ouch.
>
> Mike
In your original code you had a variable name like "String MyString[]=".
Java standard requires that variable and function names start with lower
case. Its a good habit to pick up. An external programmer can drop
into your code and know that MyString isn't a class that you are making
static calls to. Also it makes the code a lot prettyer.
Just a suggestion.
- Previous message: Merrill: "Re: USB program"
- In reply to: Mike Frayn: "Re: split() and String []"
- Next in thread: Jeff Schwab: "Re: split() and String []"
- Reply: Jeff Schwab: "Re: split() and String []"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|