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


Groups > comp.lang.c > #173369

Re: C vs Haskell for XML parsing

From Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups comp.lang.c
Subject Re: C vs Haskell for XML parsing
Date 2023-08-30 20:50 -0700
Organization A noiseless patient Spider
Message-ID <86msy7uayk.fsf@linuxsc.com> (permalink)
References (11 earlier) <gN1HM.144949$ftCb.130257@fx34.iad> <86il8ywyu5.fsf@linuxsc.com> <uck607$2563l$1@dont-email.me> <20230829121430.516@kylheku.com> <ucnkde$2op2r$1@dont-email.me>

Show all headers | View raw


Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:

> On Tue, 29 Aug 2023 19:22:09 +0000, Kaz Kylheku wrote:
>
>> On 2023-08-29, David Brown <david.brown@hesbynett.no> wrote:
>>
>>> On 29/08/2023 01:07, Tim Rentsch wrote:
>>>
>>>> scott@slp53.sl.home (Scott Lurndal) writes:
>>>>
>>>>> I will use [underscore] in preference to CamelCase, which I
>>>>> dislike primarily because of the impact on my typing speed.
>>>>
>>>> In most cases I find CamelCase harder to read than using
>>>> underscores, especially when using mono-spaced fonts.
>>>
>>> I used to use camelCase for most of my identifiers - now I find I
>>> am using underscores much more, precisely because I find it easier
>>> to read.  I strongly suspect it is age-related - camelCase was
>>> more appealing when my eyes were younger.
>>
>> CamelCase is at odds with the C language.
>
> I would disagree.  CamelCase (as in identifiers consisting of a mix of
> upper and lower case characters) is inherent in the definition of an
> identifier, and has been since K&R C.  [...]

CamelCase is consistent with C syntax;  it feels out of place
though in terms of common usage.  ISTM that CamelCase was never
used in C until C++ started using it, which I think started
happening because Smalltalk uses camelCase (and CamelCase), and
C++ has Smalltalk envy.

Feel free to take the above either as just statements of
personal opinion or as unsubstantiated beliefs.

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


Thread

Re: C vs Haskell for XML parsing Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2023-08-27 03:05 -0700
  Re: C vs Haskell for XML parsing David Brown <david.brown@hesbynett.no> - 2023-08-27 18:28 +0200
    Re: C vs Haskell for XML parsing scott@slp53.sl.home (Scott Lurndal) - 2023-08-28 14:01 +0000
      Re: C vs Haskell for XML parsing Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-08-28 16:07 -0700
        Re: C vs Haskell for XML parsing David Brown <david.brown@hesbynett.no> - 2023-08-29 09:16 +0200
          Re: C vs Haskell for XML parsing Kaz Kylheku <864-117-4973@kylheku.com> - 2023-08-29 19:22 +0000
            Re: C vs Haskell for XML parsing scott@slp53.sl.home (Scott Lurndal) - 2023-08-29 19:38 +0000
              Re: C vs Haskell for XML parsing Kaz Kylheku <864-117-4973@kylheku.com> - 2023-08-29 20:11 +0000
            Re: C vs Haskell for XML parsing David Brown <david.brown@hesbynett.no> - 2023-08-29 21:59 +0200
              Re: C vs Haskell for XML parsing Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2023-08-30 00:43 -0700
                Re: C vs Haskell for XML parsing David Brown <david.brown@hesbynett.no> - 2023-08-30 12:30 +0200
                Re: C vs Haskell for XML parsing Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2023-08-30 05:04 -0700
                Re: C vs Haskell for XML parsing David Brown <david.brown@hesbynett.no> - 2023-08-30 17:50 +0200
                Re: C vs Haskell for XML parsing Kaz Kylheku <864-117-4973@kylheku.com> - 2023-08-30 19:41 +0000
                Re: C vs Haskell for XML parsing David Brown <david.brown@hesbynett.no> - 2023-08-31 11:18 +0200
            Re: C vs Haskell for XML parsing Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2023-08-30 14:40 +0000
              Re: C vs Haskell for XML parsing scott@slp53.sl.home (Scott Lurndal) - 2023-08-30 15:03 +0000
              Re: C vs Haskell for XML parsing Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-08-30 12:00 -0700
              Re: C vs Haskell for XML parsing Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-08-30 20:50 -0700
                Re: C vs Haskell for XML parsing Kaz Kylheku <864-117-4973@kylheku.com> - 2023-08-31 08:12 +0000
                Re: C vs Haskell for XML parsing Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-09-01 11:51 -0700

csiph-web