Topic awaiting preservation: A few beginner's Java questions |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Milwaukee |
posted 05-22-2003 05:26
I haven't really started hacking Java at all, but I have two very basic questions for InI and any other Java types who feel like chiming in. code: $some_variable
code: someVariable
|
Paranoid (IV) Inmate From: Lebanon |
posted 05-22-2003 05:50
Hello, |
Paranoid (IV) Inmate From: Milwaukee |
posted 05-22-2003 05:58
Hmm... the Java book I'm reading ("Beginning Java 2" by Ivor Horton, 2001) was wrong about the $, then. I just looked up some other sources, which say that the dollar sign is used by the Java compiler, and thus should not be part of identifiers. That's too bad -- I still think C-style variable names can too easily just fade into the background. |
Nervous Wreck (II) Inmate From: Indianapolis, In USA |
posted 05-22-2003 14:11
I've been using jEdit for quite a while now and I really like it. It has lots of features and you have the ability to write your own routines/macros/whatever in a very spiffy scripting language. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-22-2003 14:37
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 05-22-2003 21:03
I've always used Vim when coding, and editing any kind of text file for that mather. It is, in my opinion, one of the best text editors available. Can be configured to do just about anything, has syntax highlighting for all the languages you would ever think of using, plus a couple of more, and it is a joy to work with |
Paranoid (IV) Inmate From: Milwaukee |
posted 05-26-2003 02:55
The Sun Java coding style docs say "Four spaces should be used as the unit of indentation. The exact construction of the indentation (spaces vs. tabs) is unspecified. Tabs must be set exactly every 8 spaces (not 4)." |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 05-26-2003 15:38
Never checked the Sun specifications on indention before, but it doesn't seem very clear. I've always used 4 spaces for both tabs and indents, and I'm going to continue to use that even if the specifications are different |