Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Don Romano 🍹 (thj@mastodon.cloud)'s status on Tuesday, 08-Oct-2019 16:33:49 EDT Don Romano 🍹 Don Romano 🍹

    Parsers for programming languages are pedantic bastards.

    “You left out a comma. I therefore refuse to parse the rest of this program.”

    I mean, I’m a pedantic bastard myself, so I rarely make mistakes like that, but it’s kind of silly.

    fn(1, 2 3)

    Now, what could I have possibly meant in this situation other than a comma?

    If you leave out a curly bracket, it makes more sense that the parser would get confused at that, because once you remove the white space, you can’t see where it goes.

    In conversation Tuesday, 08-Oct-2019 16:33:49 EDT from mastodon.cloud permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.