Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Source code representation (was: code generation for the ternary operator). Date: Wed, 2 Nov 2011 20:58:33 +0000 (UTC) Organization: UK Free Software Network Lines: 42 Message-ID: References: <29cla79dh934epr5n27cghvupjk77mpuqr@4ax.com> <4eaab738$0$5147$e4fe514c@dreader17.news.xs4all.nl> <2011110101533290344-angrybaldguy@gmailcom> <3jp1b7drmmhg7i9eo75f6sai9qottf11ua@4ax.com> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1320267513 19943 84.45.235.129 (2 Nov 2011 20:58:33 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Wed, 2 Nov 2011 20:58:33 +0000 (UTC) User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9383 On Wed, 02 Nov 2011 09:47:44 -0700, Gene Wirchenko wrote: > On Tue, 01 Nov 2011 23:52:26 -0700, Roedy Green >>3. People like the security of text files. Database have a habit of >>losing everything, perhaps with software is discontinued, OSes changes. > > I would say "simplicity" instead of "security", but it is about > the same argument. Text files convert to other systems fairly easily, > too, but SCID between two SCID systems might not. > Agreed. At present the main issue in moving code is line terminators (unless you're fighting the ASCII <--> EBCDIC battle). The benefit of text is that file transfer software (FTP, Kermit, etc) does this 'for free' but even if it doesn't, very simple tools such as tr, dos2unix and unix2dos will solve that problem. I have a nasty suspicion that the transfer weapon of choice between SCID implementations might turn out to be voluminous XML. > Typing is much faster than mousing for me. The text interface is > also simpler. I can use my own editor that fits my preferences rather > than getting locked into a GUI IDE. > Exactly the same here - I use a portable editor (microEmacs) which can be easily set up to use exactly the same keystrokes on almost any system with an ANSI C compiler. In particular, its ability to associate customisable formatting conventions (tab-length, line-wrap, auto-indent, etc) with the file extension so something I really miss in editors that don't support it. I prefer to develop Java with a command line, text editor and ant. I've used IntelliJ and generally liked it once I'd gotten used to that busy screen, except for one thing: apart from specific refactoring facilities its text editor seemed to be missing all but the most basic editing functions - there were times I'd have killed for a general-purpose regex- based search-and-replace facility. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |