GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Playing with Fediverse (erabo@friendica.erabo.de)'s status on Saturday, 19-Nov-2022 05:50:24 JSTPlaying with FediversePlaying with Fediverse
    in reply to
    • Iron Bug
    • Pechkin :emacs: :linux:
    @iron_bug @d_pechkin

    "emphasize that I write in C .." no problem, see above ?
    "the code clarity and code style is important ": agree
    "they're principally wrong": disagree
    "I think that coding style is important.":agree
    "they have a chaos in their head": disagree with respect to my head

    a) 'int *(*f)(int *x);'
    <==>
    b) 'int* (*f)(int* x);'
    <==>
    c)
    typedef int* TpIntPtr;
    TpIntPtr (*f)(TpIntPtr x);

    That ist the only exact correct ?.(a) Directs the focus of perception of the reader on to the dereferencing process.
    (b) Directs the focus of perception to the a type centric one
    (c) clearly places focus of perception type centric one.
    And non of them "is principally wrong".I would predict that in an experiment concerning the speed of grasping the meaning of an expression, the result would be clearly in favor of (b).
    ;) And for my slowly aging eyes, even (b) is easier and thus faster to grasp than (a).

    This, on the other hand:
    int

    *

    x=5;
    is clearly a style which would be undeniably error-prone ;) but still it is "exactly" correct syntactically and semantically.
    But be aware, in dont want to change your falvour-prefferings.
    In conversationSaturday, 19-Nov-2022 05:50:24 JST from friendica.erabo.depermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.