Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27545

Re: problems with editable JList

From blmblm@myrealbox.com <blmblm.myrealbox@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: problems with editable JList
Date 2014-02-18 12:46 +0000
Organization None
Message-ID <bmh31oF8i0qU2@mid.individual.net> (permalink)
References <bmepjbFoa1fU1@mid.individual.net> <bmf86bFrgs5U1@mid.individual.net> <ldtqtd$8e1$1@dont-email.me> <e1bf45fa-b802-4cf5-a16a-37cfd1c76696@googlegroups.com>

Show all headers | View raw


In article <e1bf45fa-b802-4cf5-a16a-37cfd1c76696@googlegroups.com>,
Lew  <lewbloch@gmail.com> wrote:
> Also, 'DEBUG' does not follow the Java naming conventions. 
> 

Wouldn't this comment make more sense if you quoted the single
line that declares the variable in question?  my first thought was
"and why not?  isn't the relevent convention that constants have
all-caps names?"

But then if I look at the code, um, well, that may have been my
intent, but it's not what I wrote, is it?  I should have also
have declared it final, yes?  Well, my only defense (such as it is)
is that lately I've been writing a lot more Scala than Java, and
it's surprising (to me anyway) how quickly one adopts new habits.

-- 
B. L. Massingill
ObDisclaimer:  I don't speak for my employers; they return the favor.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-17 15:53 +0000
  Re: problems with editable JList markspace <markspace@nospam.nospam> - 2014-02-17 10:33 -0800
    Re: problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-17 20:02 +0000
      Re: problems with editable JList markspace <markspace@nospam.nospam> - 2014-02-17 12:19 -0800
        Re: problems with editable JList Lew <lewbloch@gmail.com> - 2014-02-18 02:31 -0800
          Re: problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-18 12:46 +0000
            Re: problems with editable JList Lew <lewbloch@gmail.com> - 2014-02-18 16:07 -0800
              Re: problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-19 14:10 +0000
        Re: problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-18 12:39 +0000

csiph-web