ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I'm coming round to the view that a main function shouldn't take arguments. For example, in Rust you have to call std::env::args() to get CLI arguments. This makes Hello World less verbose, and gives you more flexibility in setting up CLI argument parsers.

Mar 26, 2025, 5:10 AM

Record data

{
  "uri": "at://did:plc:h4lbtnpgirwzkvb73rphzljy/app.bsky.feed.post/3llazhvbw4c2q",
  "cid": "bafyreiayg7jnpj7t5reoeip5x5cb6ywtwab4j2vpcuj7jufef2ppyxn4ky",
  "value": {
    "text": "I'm coming round to the view that a main function shouldn't take arguments.\n\nFor example, in Rust you have to call std::env::args() to get CLI arguments.\n\nThis makes Hello World less verbose, and gives you more flexibility in setting up CLI argument parsers.",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "createdAt": "2025-03-26T05:10:39.230Z"
  }
}