ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Mostly the staged builder and check methods: Imagine having a Cat(String name, int age); and if one is null or illegal (age <0), then an exception should be thrown. I.e.: Cat.builder() must return a CatNameBuildStage with only the name() method, which returns a CatAgeBuildStage.

Dec 2, 2024, 7:13 PM

{
  "text": "Mostly the staged builder and check methods: Imagine having a Cat(String name, int age); and if one is null or illegal (age <0), then an exception should be thrown.\n\nI.e.:\nCat.builder() must return a CatNameBuildStage with only the name() method, which returns a CatAgeBuildStage.",
  "$type": "app.bsky.feed.post",
  "langs": [
    "en"
  ],
  "reply": {
    "root": {
      "cid": "bafyreiha5frmwyjri7fsepq5hszipnysiwk4h3tpidcaa225lbj6jgksgq",
      "uri": "at://did:plc:n5o2wksggcs653t3seg5eu6b/app.bsky.feed.post/3lcdafhidlk2y"
    },
    "parent": {
      "cid": "bafyreieoafq2ldulnynz2olp7xw2pbhhouqvzs55shm54un35t657qsx6i",
      "uri": "at://did:plc:svbwsf44htogmoreswiysosl/app.bsky.feed.post/3lcdc6s4pkk25"
    }
  },
  "createdAt": "2024-12-02T19:13:13.181Z"
}