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


Groups > comp.os.linux.advocacy > #465384

Re: The substantiation that -highhorse asked for

Path csiph.com!xmission!news.alt.net!not-for-mail
From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: The substantiation that -highhorse asked for
Date Wed, 29 Aug 2018 15:12:02 +0000 (UTC)
Organization O.W.L.
Lines 61
Message-ID <sx118b0a0b00a.a3y@rooftop.invalid> (permalink)
References <hnp22d5ue73fdc7d7culg64oegsrjl6o6q@4ax.com> <iqha2d53qhctcgo45qav9on89nam8jp7pj@4ax.com> <e02ba9e3-a42e-4160-b487-bbb053f26521@googlegroups.com> <408dcf85-4477-4314-96fd-a1aa907985db@googlegroups.com> <pb4b2d1ekculo48vfmn7te4abh2c66g6h5@4ax.com> <b9490574-af7a-4581-ab13-755adc94cab9@googlegroups.com> <gdbhD.73563$IC.71624@fx14.iad> <pm47ja0ks9@news3.newsguy.com> <1fxhD.6$UI2.1@fx18.iad> <e6077dcc-675b-45f9-9dcf-7e50ac9bc74a@googlegroups.com> <5BxhD.279592$Yn4.5089@fx36.iad>
NNTP-Posting-Host boom.rooftop.invalid
X-Face $BHf)vM$6p_?9L`jmOQ54JeNyL+%MZGGRfH8&grb[Y%-jU`MCPAQN=/SVDa{<KrBxl"%XcV >(/67bP(YB}rjV^h><g$kPGE_caHX,aa}4A1~sto7YJo#ob/SgNiMsoaMMXiOX9%DjyJM_-=$`F5b' JM,?/R/;V1RI%|eClL6ymI}LbZERB=q+"pJ)uI{ngj1DRF1;E5[r$f[4mgt9=7Pw@vl8@I%eYs6KWJ e%LU3#U@M[X^YBp2VY]-'1*reGDbk%#n1ve'*RffQ3j,(TCYivjb*M`qmuC5rHgbN)nSsx)697q/vt //''?=gM'C.salgG^f)>cUh
Xref csiph.com comp.os.linux.advocacy:465384

Show key headers only | View raw


DFS <nospam@nospam.com> wrote:
> On 8/29/2018 9:46 AM, fr314159@gmail.com wrote:
>> On Wednesday, August 29, 2018 at 9:31:45 AM UTC-4, DFS wrote:
>> 
>>>
>>> Never again address a block of tax data with if-then-else statements.
> 
> DO. YOU. UNDERSTAND?
> 
> 
>> Isn't that rich.  This supreme dunce is actually trying to give ME
>> advice.  Ha, ha, ha, ha, ha!
>> 
>> How shall I proceed?  Using his ridiculous for-loop suggestion?
>> Ha, ha, ha, ha!  He'd be laughed out of programming 101 for that
>> bit of pure idiocy.
>> 
>> In the context of the spreadsheet environment, the BEST solution
>> is to exploit the built-in VLOOKUP() function, which is perfectly
>> possible with LO Basic.
> 
> Then why didn't you use it in the first place, brainiac?
> 
> Because you didn't know how, of course.
> 
> 
> 
>> The fact that the stooge COMPLETELY OVERLOOKED this most efficient
>> solution proves, yet again, that he is not fit to participate in
>> ANY programming endeavor.
>> 
>> A for-loop for searching a spreadsheet cell range?  Ha, ha, ha, ha!
>> That's got to be a new record for his imbecility.
> 
> 
> You should've written something like:
> 
> gross = 100000
> taxVal = 0
> For i = 1 To countincomeBrackets(taxYear)
>    minIncome = taxTable.Cells(row i, col 1)
>    maxIncome = taxTable.Cells(row i, col 2)
>    tax       = taxTable.Cells(row i, col 3)
>    taxRate   = taxTable.Cells(row i, col 4)
>    If gross > minIncome and gross <= maxIncome Then
>      taxVal = tax + (taxRate*(gross-minIncome))
>      Exit For
>    End If
> Next i
> 
> 
> Instead:  https://imgur.com/a/JWTIK
> 
> heh!  It's always funny to see really bad shitcode.
> 
> maroooonnnnn!
> 

How many times do you think the if statement in your code
gets executed?

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-28 08:28 -0400
  Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-28 09:20 -0700
    Re: The substantiation that -highhorse asked for fr314159@gmail.com - 2018-08-28 11:27 -0700
      Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-28 11:39 -0700
      Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-29 09:46 -0400
    Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-28 14:52 -0400
      Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-28 12:20 -0700
  Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-28 17:21 +0000
    Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-28 14:46 -0400
      Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-28 19:14 +0000
        Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-28 12:30 -0700
          Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-28 20:09 +0000
            Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-28 13:58 -0700
              Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-28 21:16 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-28 14:31 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-28 21:43 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-28 15:06 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-28 22:26 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-28 15:35 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-28 23:14 +0000
                Re: The substantiation that -highhorse asked for Snit <usenet@gallopinginsanity.com> - 2018-08-28 14:57 -0700
            Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-28 23:11 -0400
              Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-29 06:14 +0000
                Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-29 09:34 -0400
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-29 14:31 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-29 11:01 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-31 12:33 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-31 09:16 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-31 16:53 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-31 10:22 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-31 17:53 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-08-31 11:36 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-09-01 13:45 +0000
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-09-01 13:59 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-09-01 08:15 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-09-01 16:00 +0000
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-09-01 11:20 -0700
                Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-31 15:00 -0400
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-31 19:40 +0000
                Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-09-01 10:15 -0400
                Re: The substantiation that -highhorse asked for Steve Carroll <fretwizzer@gmail.com> - 2018-09-01 08:22 -0700
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-09-01 16:28 +0000
                Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-09-01 16:39 -0400
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-09-01 22:00 +0000
                Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-09-01 18:27 -0400
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-09-01 22:40 +0000
                Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-09-01 19:09 -0400
                Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-09-01 23:59 +0000
        Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-28 23:01 -0400
          Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-29 06:26 +0000
  Re: The substantiation that -highhorse asked for "F. Russell" <fr@random.info> - 2018-08-28 19:25 +0000
    Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-29 09:32 -0400
      Re: The substantiation that -highhorse asked for fr314159@gmail.com - 2018-08-29 06:46 -0700
        Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-08-29 09:55 -0400
          Re: The substantiation that -highhorse asked for fr314159@gmail.com - 2018-08-29 08:02 -0700
            Re: The substantiation that -highhorse asked for DFS <nospam@nospam.com> - 2018-09-01 10:14 -0400
          Re: The substantiation that -highhorse asked for owl <owl@rooftop.invalid> - 2018-08-29 15:12 +0000

csiph-web