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


Groups > comp.lang.c > #157246

Re: Programming challenge

From Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups comp.lang.c
Subject Re: Programming challenge
Date 2020-12-12 19:31 -0800
Organization A noiseless patient Spider
Message-ID <86czze1ivp.fsf@linuxsc.com> (permalink)
References <rqmceo$15g$1@dont-email.me> <87k0ttkrji.fsf@bsb.me.uk> <20201207182820.0@kylheku.com>

Show all headers | View raw


Kaz Kylheku <563-365-8930@kylheku.com> writes:

[...]

> This has been interesting.
>
> As a result, I have become convinced to use pure goto for this
> kind of thing in the future instead of a state machine with a
> switch (state), which then handles character cases in the various
> states.

Isn't it the case that all the programs you posted made extensive
use of goto?  If you never actually tried yourself any other
approaches it isn't surprising your opinion is stuck in the
same place.

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


Thread

Programming challenge jacobnavia <jacob@jacob.remcomp.fr> - 2020-12-08 00:04 +0100
  Re: Programming challenge Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2020-12-07 23:33 +0000
    Re: Programming challenge Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-12-08 23:52 -0800
    Re: Programming challenge Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-12-13 21:35 -0800
      Re: Programming challenge Anton Shepelev <anton.txt@gmail.com> - 2020-12-14 11:55 +0300
        Re: Programming challenge Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-12-14 08:45 -0800
        Re: Programming challenge Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-12-18 07:19 +0000
  Re: Programming challenge Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-12-08 01:36 +0000
    Re: Programming challenge Kaz Kylheku <563-365-8930@kylheku.com> - 2020-12-08 02:49 +0000
      Re: Programming challenge Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-12-08 14:51 +0000
        Re: Programming challenge Kaz Kylheku <563-365-8930@kylheku.com> - 2020-12-08 17:32 +0000
      Re: Programming challenge Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-12-12 19:31 -0800
    Re: Programming challenge jacobnavia <jacob@jacob.remcomp.fr> - 2020-12-08 08:17 +0100
      Re: Programming challenge Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-12-08 14:15 +0000

csiph-web