Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,785
    Rep Power
    7

    Default

    Quote Originally Posted by dellacpa View Post
    To Junky:
    thanks for your advice on the if statement. However, I believe that if something does the tric it does not really matter if you find it awful or not.
    I'm sorry to be abrupt but that is a cr@p attitude. You should attempt to write good clean code at all times. If I wanted to print the numbers from 1 to 1000 I could have 1000 print statements because it "does the trick". But of course you should know that there is a better way to do it and use that instead. There is a site (thedailywtf.com) that is dedicated to examples of badly written code. All programmers should read it and learn how NOT to write code.

  2. #22
    bigsonny is offline Senior Member
    Join Date
    Nov 2010
    Posts
    164
    Rep Power
    4

    Default

    Hey Dellacpa,

    would I be a pest if I ask you to post all three full classes please? I'm just now covering Generics and you have a couple in there so to see all three classes interact would be really formative. If you agree, when I say full I mean with the first first public class ClassName of all three classes please? Thanks!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. need to read information from file into array
    By sadeem in forum New To Java
    Replies: 8
    Last Post: 05-15-2011, 10:00 PM
  2. read input file into array
    By randoms:) in forum New To Java
    Replies: 3
    Last Post: 04-23-2011, 08:52 AM
  3. Replies: 2
    Last Post: 04-20-2011, 05:39 PM
  4. Help needed: read array from file and then use it
    By ChicagoAve in forum New To Java
    Replies: 11
    Last Post: 02-18-2011, 01:02 PM
  5. Read File into 2d array
    By almjodla in forum New To Java
    Replies: 8
    Last Post: 03-23-2010, 02:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •