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
    Paul Cantrell (inthehands@hachyderm.io)'s status on Friday, 24-Jan-2025 02:30:20 JST Paul Cantrell Paul Cantrell
    in reply to
    • Nick Lockwood

    @nicklockwood
    Yeah, I have deeply mixed feelings about this particular language decision. Either choice is so obviously wrong.

    In conversation about 4 months ago from hachyderm.io permalink
    • Embed this notice
      Nick Lockwood (nicklockwood@mastodon.social)'s status on Friday, 24-Jan-2025 02:30:21 JST Nick Lockwood Nick Lockwood

      It has been 0️⃣ days since I got bitten by a bug caused by forgetting to set an optional var in a Swift struct due to the synthesized init defaulting it to nil.

      Reminder: you can avoid this by declaring it as:

      struct Foo {
      var bar: Optional<Baz>
      }

      Instead of:

      struct Foo {
      var bar: Baz?
      }

      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.