ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Tuple comparison in #SwiftLang allows tuples with the same number of elements and comparable types to be directly compared element by element, making it ideal for organizing and sorting data based on multiple criteria with clean, concise logic: nilcoalescing.com/blog/MultiCr...

Apr 12, 2025, 12:57 AM

Record data

{
  "uri": "at://did:plc:a6pco5evspx7fxkag3omjadp/app.bsky.feed.post/3lmldbdd4hc2w",
  "cid": "bafyreictx3dua23cjfueup3org7mfsuuawu2dm4lefmonge5lp7sntfzsu",
  "value": {
    "text": "Tuple comparison in #SwiftLang allows tuples with the same number of elements and comparable types to be directly compared element by element, making it ideal for organizing and sorting data based on multiple criteria with clean, concise logic:\nnilcoalescing.com/blog/MultiCr...",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.external",
      "external": {
        "uri": "https://nilcoalescing.com/blog/MultiCriteriaDataSortingWithTuples/",
        "thumb": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreicijmvluec27q6otls5svjp3i4qyyhtpsilibzfn67usj2n4j5z7q"
          },
          "mimeType": "image/jpeg",
          "size": 239388
        },
        "title": "Streamline multi-criteria data sorting and organization with tuples",
        "description": "Swift's tuples are a convenient way to group multiple values, and their true utility shines with the language's built-in ability to compare tuples."
      }
    },
    "langs": [
      "en"
    ],
    "facets": [
      {
        "index": {
          "byteEnd": 30,
          "byteStart": 20
        },
        "features": [
          {
            "tag": "SwiftLang",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 278,
          "byteStart": 245
        },
        "features": [
          {
            "uri": "https://nilcoalescing.com/blog/MultiCriteriaDataSortingWithTuples/",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      }
    ],
    "createdAt": "2025-04-12T00:57:45.497Z"
  }
}