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


Groups > sci.physics > #644893

Re: I increment things at the _start_ of a loop.

From Snit <usenet@gallopinginsanity.com>
Newsgroups comp.os.linux.advocacy, sci.physics
Subject Re: I increment things at the _start_ of a loop.
Date 2017-08-06 20:35 -0700
Message-ID <D5AD2E0C.AF3F6%usenet@gallopinginsanity.com> (permalink)
References (3 earlier) <pkbzb34a.b933u0@rooftop.invalid> <Jeff-Relf.Me@Aug.4--10.04pm.Seattle.2017> <om5g3g$vb8$1@pcls7.std.com> <Jeff-Relf.Me@Aug.5--9.42pm.Seattle.2017> <om8mhe$q18$3@pcls7.std.com>

Cross-posted to 2 groups.

Show all headers | View raw


On 8/6/17, 8:24 PM, in article om8mhe$q18$3@pcls7.std.com, "Michael Moroney"
<moroney@world.std.spaamtrap.com> wrote:

> Jeff-Relf.Me  @. writes:
> 
>> I increment things at the _start_ of a loop,
>> not at the end, hence:  while ( x++ < 100 )
> 
> You missed my point, of course, being the idea of this exercise is to
> convince a hiring manager that you write quality, clean, maintainable
> code, not to try for the fewest possible lines or even the fastest code.
> If I was the hiring manager, I'd take points off for unnecessary
> obscurity. (actually I wouldn't ask that question)
> 
> Like the Google interview question "how many ping pong balls fit into
> a school bus?"  They don't give a flying fornification about an actual
> number, they want to see how the interviewee would estimate the answer.
> They didn't ask me that when I interviewed with them, however.

I had a similar question at a job interview (basically the same): how many
ping pong balls would fit into a 747.

-- 
Personal attacks from those who troll show their own insecurity. They cannot
use reason to show the message to be wrong so they try to feel somehow
superior by attacking the messenger.

They cling to their attacks and ignore the message time and time again.

<https://youtu.be/H4NW-Cqh308>

Back to sci.physics | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: 4 lines, 4 states. Snit <usenet@gallopinginsanity.com> - 2017-08-03 22:11 -0700
  Re: 4 lines, 4 states. Snit <usenet@gallopinginsanity.com> - 2017-08-03 22:47 -0700
  Re: 4 lines, 4 states. Snit <usenet@gallopinginsanity.com> - 2017-08-03 22:52 -0700
    Re: Mozilla ThunderBird. Snit <usenet@gallopinginsanity.com> - 2017-08-04 10:43 -0700
      Re: FizzBuzz is a trick question. Snit <usenet@gallopinginsanity.com> - 2017-08-04 11:47 -0700
        Re: Michael Glasser, Steve Carroll, Marek Novotny, Branimir Maksimovic, etc. Snit <usenet@gallopinginsanity.com> - 2017-08-04 12:51 -0700
        Re: I'm the best c coder here. Snit <usenet@gallopinginsanity.com> - 2017-08-04 14:03 -0700
        Re: I'm the best c coder here. "F. Russell" <fr@random.info> - 2017-08-04 23:15 +0000
          Re: I'm the best c coder here. benj <benj@nobody.net> - 2017-08-04 19:35 -0400
            Re: I'm the best c coder here. "F. Russell" <fr@random.info> - 2017-08-05 16:08 +0000
          Re: Fabian seldom writes code, much less test it. owl <owl@rooftop.invalid> - 2017-08-05 03:09 +0000
            Re: 2 lines, 2^2 states, easily modified to 3^2 states. owl <owl@rooftop.invalid> - 2017-08-05 05:42 +0000
          Re: Fabian seldom writes code, much less test it. "F. Russell" <fr@random.info> - 2017-08-05 13:37 +0000
          Re: Fabian seldom writes code, much less test it. "F. Russell" <fr@random.info> - 2017-08-05 14:25 +0000
        Re: I'm the best c coder here. owl <owl@rooftop.invalid> - 2017-08-05 03:22 +0000
          Re: I'm _still_ the best c coder here. owl <owl@rooftop.invalid> - 2017-08-05 06:12 +0000
          Re: Owl's FizBuzGozKaz branches 5 times more often. owl <owl@rooftop.invalid> - 2017-08-05 15:40 +0000
          Re: I'm _still_ the best c coder here. moroney@world.std.spaamtrap.com (Michael Moroney) - 2017-08-05 22:16 +0000
            Re: I increment things at the _start_ of a loop. moroney@world.std.spaamtrap.com (Michael Moroney) - 2017-08-07 03:24 +0000
              Re: I increment things at the _start_ of a loop. Snit <usenet@gallopinginsanity.com> - 2017-08-06 20:35 -0700
              Re: "while ( x++ < 100 )" isn't "obscure". moroney@world.std.spaamtrap.com (Michael Moroney) - 2017-08-07 04:59 +0000
          Re: I'm the best c coder here. chrisv <chrisv@nospam.invalid> - 2017-08-07 06:59 -0500
        Re: Michael Glasser, Steve Carroll, Marek Novotny, Branimir Maksimovic, etc. Doomsdrzej <.m@nsn.s> - 2017-08-05 11:52 -0400
          Re: Michael Glasser, Steve Carroll, Marek Novotny, Branimir Maksimovic, etc. Snit <usenet@gallopinginsanity.com> - 2017-08-05 09:55 -0700

csiph-web