Re: Had an interview



Robert Adsett wrote:
CBFalconer says...
Robert Adsett wrote:

... snip ...

However, the fact that no one considered that the inputs could be
out of range (and for that matter your reaction to the observation)
is an interesting commentary on how we view this practice we call
programming. We seem to default to the assumption that the input
values to our current problem will be in the range we expect.

So you didn't bother reading my reply?

I had to check back to make sure I had, my apologies for forgetting
it. Your solution does at least limit the range of outputs. It does
leave open the question of whether values other than 1 or 2 are
acceptable inputs.

At least someone is considering other inputs may occur.

No, look again. It accepts all inputs, but only outputs the values
1 and 2. It was:

if (1 == x) x = 2;
else x = 1;

or similar.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.


** Posted from http://www.teranews.com **
.



Relevant Pages

  • Re: Had an interview
    ... Robert Adsett wrote: ... snip ... ... out of range (and for that matter your reaction to the observation) ...
    (comp.arch.embedded)
  • Re: WOT Teddy Bear Naming Cause for Imprisonment and Whipping?
    ... they will not arouse a reaction in the Western world. ... inevitable outcome of their own stupidity, pride or, worse, sheer ... became a much more serious matter. ... is not normal behavior for normal human beings. ...
    (rec.arts.mystery)
  • the cattle depending on the white function is the counter that stuffs exclusively
    ... When did Simon belong the reaction on behalf of the dry recipe? ... No huge bankings specify Steven, and they least guard Roger too. ... Some successors depict, tell, and matter. ...
    (sci.crypt)
  • Re: Option Explicit
    ... How do you get inside a person's brain and determine that the ... that is a different matter. ... fault was to say that I don't use it... ... appology if they got offended by my reaction. ...
    (microsoft.public.access.formscoding)
  • Re: [OT] Re: The real Dawkins on TV...
    ... > your foundational texts are worthless; that your 'miracles' are imaginary; ... Nor is it a matter of 'ideology' to oppose the ... > that results from the indulgence of 'religious faith' isn't in any sense ...
    (talk.origins)