Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Jim Janney Newsgroups: comp.lang.java.programmer Subject: Re: ctrl-c ctril-v Date: Thu, 24 Jan 2013 19:51:25 -0700 Organization: I was not always as you see me now Lines: 28 Message-ID: References: <1q92g8hfr69f0422pq5r81cqqlpfngkotj@4ax.com> <89bbdac8-688c-4fbb-98ec-a1ae8ab25770@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="3c5d835c9a0219e1946f4dd3740c28b0"; logging-data="18036"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kq2GpoIYI9D3d73Dfk/+Q" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:DGvbz612g+wJbCqJyKqmgbQ3mpg= sha1:4ddNshE+f8h0vsiO4EDeCSQhMdo= Xref: csiph.com comp.lang.java.programmer:21684 Lew writes: > Jim Janney wrote: >> Roedy Green writes: >>> Is it possible to reconfigure copy paste to some other keystrokes >>> besides ctrl-C ctrl-V either within Java or Windows entirely? >> >>> They are quite inconveniently placed in a dsk layout. >> >> This is a good thing. Programmers should not copy/paste on a regular >> basis. > > Ridiculous assertion. I wan't entirely serious when I wrote that. However... Any time I find myself faced with a lot of similar code, I do start looking for ways to abstract out the similarities, in whatever language I happen to be working in. Java is particularly rich in ways to accomplish this. And for really trivial boilerplate code, any good programming editor should provide ways to generate that that are both more flexible and less error-prone than simple copy/paste. Again, Eclipse is particularly rich in ways to accomplish this. I stand by my ridiculous assertion :-) -- Jim Janney