Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Java copy paste makes coding lazy?

in text:" i like <some vehicle>" there are seven different vehicles user can choose and input. Now, when i programmed in atari basic i used one line "i like <variable>", but now, hey, you can dam crudely copy paste all variants with little effort!

2 Answers

Relevance
  • ?
    Lv 7
    6 years ago

    Copy-paste is not a Java thing. You could do the same in qbasic or c or in a hex editor you're using to directly program in machine code.

    If you're doing something more than twice you're probably better off using a loop.

  • 6 years ago

    If you copy-paste code, it is almost certainly awful.

    Your post is not a question.

Still have questions? Get your answers by asking now.