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
    Wouter Verhelst (wouter@pleroma.debian.social)'s status on Sunday, 22-Oct-2023 23:52:49 JSTWouter VerhelstWouter Verhelst
    Cuddling elses or not?

    Damien Conway's "perl best practices" recommends not to, because it would reduce visibility of the else block.

    I vehemently disagree. Having an else block start on a line by itself makes it look like an unrelated statement, when in reality it is a continuation of the if block.

    By cuddling your elses, you make it more clear that the block is part of a larger set of other blocks (if/elsif/else), rather than it being a block on its own.
    In conversationSunday, 22-Oct-2023 23:52:49 JST from pleroma.debian.socialpermalink
  • 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.