Re: Do you suggest me using IDE when I'm learning JAVA
On 01-05-2010 20:38, Tom Anderson wrote:
On Sat, 1 May 2010, Arne Vajh?j wrote:
On 28-04-2010 08:43, Tom Anderson wrote:
On Tue, 27 Apr 2010, Arne Vajh?j wrote:
On 27-04-2010 14:55, Lew wrote:
cr88192 wrote:
anymore, I typically just do coding (in general) via the mix of
Notepad,
Notepad is very bad for Java programming because most extant versions
don't handle Unicode and they don't like cross-platform line endings.
Notepad has supported Unicode since at least Windows XP from 2002.
There are no such a thing as cross-platform line endings.
It is true that notepad only supports the Windows CR LF, which
means that it does not work when text files are moved as binary
files from *nix.
But instead of blaming notepad then people should transfer the
files correctly.
Rubbish. Should they unpack every jar they move across and see if it has
text files in, so they can convert them? Should they then have to
magically re-sign any sealed packages whose contents have changed?
Given that notepad does not support editing of text files inside jar
files, then there are absolutely no point in that nor any relevance
for the discussion.
What? Where does the idea of editing files inside JAR files come into this?
Well:
- I said that files should be converted to local line format for editing
- you suggested that would mean extracting changing and repacking jar files
Assuming there is a correlation between the two then that must be
about editing files inside jar files.
On any platform, you may find yourself confronted by files with any kind
of line ending at any time, which have arrived from via any route.
It is the responsibility of the transferring mechanism
to ensure that text files arrive in a valid text format
at the receiver.
Let me guess: you have only worked with file systems with
delimited files and no meta information about line format.
Because when you have meta data about the line format instead
of the "let us guess based on whether we see a lot of LF's or
CRLF's", then the receiver had to get it right.
Declaring that all files must be converted on import is a complete
non-starter.
The FTP protokol, the ZIP format etc. were designed to solve that
problem.
Apparently those people do not consider it a non-starter.
Arne