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

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

Conversation

Notices

  1. Embed this notice
    SuperDicq (superdicq@minidisc.tokyo)'s status on Tuesday, 24-Jun-2025 23:29:37 JST SuperDicq SuperDicq
    • Pierre Bourdon

    @delroth@mastodon.delroth.net I hate ternary statements so much. I only think they make code less readable.

    In conversation about 4 months ago from minidisc.tokyo permalink
    • Embed this notice
      SuperDicq (superdicq@minidisc.tokyo)'s status on Tuesday, 24-Jun-2025 23:31:24 JST SuperDicq SuperDicq
      in reply to
      • Pierre Bourdon

      @delroth@mastodon.delroth.net It's often like one of those "look at me I'm so smart" type of things that people do while not meaningfully changing the code.

      In conversation about 4 months ago permalink
    • Embed this notice
      Steven Reed (srtcd424@mas.to)'s status on Wednesday, 25-Jun-2025 00:38:25 JST Steven Reed Steven Reed
      in reply to
      • Pierre Bourdon

      @SuperDicq @delroth as someone who finds terser code more readable *up to a point*, I'm happy with single ternary ops - but this example is just silly :(

      In conversation about 4 months ago permalink
    • Embed this notice
      SuperDicq (superdicq@minidisc.tokyo)'s status on Wednesday, 25-Jun-2025 00:41:28 JST SuperDicq SuperDicq
      in reply to
      • Pierre Bourdon
      • Steven Reed

      @srtcd424@mas.to @delroth@mastodon.delroth.net If your ternary statement does not fit into a single line, do not use a ternary.

      In conversation about 4 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • 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.