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
    Andrew Kelley (andrewrk@mastodon.social)'s status on Monday, 04-Nov-2024 06:13:49 JST Andrew Kelley Andrew Kelley

    Common intermediate programmer mistake: trying to use the same abstraction for inputting a given thing, vs outputting it.

    Advanced programmers know these are fundamentally different tasks deserving independent abstractions.

    Example: JSON

    For outputting, there's no value in constructing a bunch of pointless hash maps in memory. Just stream the data out with some basic API to ensure correct syntax and nesting.

    In conversation about 7 months ago from mastodon.social permalink
    • MortSinyx likes this.
    • Embed this notice
      Rich Felker (dalias@hachyderm.io)'s status on Monday, 04-Nov-2024 06:15:04 JST Rich Felker Rich Felker
      in reply to

      @andrewrk Unless you acceparbitrary unstructured input you don't need them for input either. You can process directly into structured data.

      In conversation about 7 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.