![]() Topic awaiting preservation: A few beginner's Java questions (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Milwaukee |
![]() 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 |
![]() Hello, |
Paranoid (IV) Inmate From: Milwaukee |
![]() 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 |
![]() 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 |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: A graveyard of dreams |
![]() 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 |
![]() 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 |
![]() 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 |