Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13657

Re: Wages not calculating correctly

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Wages not calculating correctly
Date 2012-04-19 01:43 -0700
Organization Canadian Mind Products
Message-ID <njjvo7hm8fi1ddsonh2hn7l3mepb5l28l3@4ax.com> (permalink)
References <e6a1121e-0b79-4b6e-8a5a-62527e3c34d3@m18g2000vbl.googlegroups.com> <or7vo7hlo2i4kqvhg0ggqt1fk2nj65f07m@4ax.com> <DJCdnc_WCcgXNBLSnZ2dnUVZ8l-dnZ2d@giganews.com>

Show all headers | View raw


On Thu, 19 Apr 2012 00:58:34 -0500, Leif Roar Moldskred
<leifm@dimnakorr.com> wrote, quoted or indirectly quoted someone who
said :

>That's a terrible piece of advice to give to a beginning
>programmer

I disagree for four reasons:

1. for a short piece of linear code, that is a very quick way to find
a bug.

2. It greatly helps a newbie to watch ANY program single stepping
away, to get a feel for how programs behave, where they spend their
time.  You see thing that make you do a double take you would never
notice any other way.  Resolving them, nearly always as benign
improves your intuition.

3. his problem is a logic error, not a coding error.  Paper tracing
will uncover it, even if he is very weak in coding.

4. I think our student is just getting started.  Throwing academic or
abstract  concepts at him at this stage I think would be too
overwhelming.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
When you were a child, if you did your own experiment
to see if it was better to put to cocoa into your cup first
or the hot milk first, then you likely have the programmer gene..

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Wages not calculating correctly Simfonika Island <simfonika@gmail.com> - 2012-04-18 13:53 -0700
  Re: Wages not calculating correctly Gene Wirchenko <genew@ocis.net> - 2012-04-18 15:04 -0700
  Re: Wages not calculating correctly Roedy Green <see_website@mindprod.com.invalid> - 2012-04-18 22:17 -0700
    Re: Wages not calculating correctly Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-04-19 00:58 -0500
      Re: Wages not calculating correctly Roedy Green <see_website@mindprod.com.invalid> - 2012-04-19 01:43 -0700
        Re: Wages not calculating correctly Gene Wirchenko <genew@ocis.net> - 2012-04-19 08:35 -0700
  Re: Wages not calculating correctly Lew <noone@lewscanon.com> - 2012-04-18 23:35 -0700

csiph-web