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
    Niki Tonsky (nikitonsky@mastodon.online)'s status on Wednesday, 11-Jun-2025 20:01:55 JST Niki Tonsky Niki Tonsky

    Sometimes, the elegant implementation is just a global variable. Not a method. Not a class. Not a singleton. Not a dependency injection framework. Just a global variable.

    In conversation about 6 months ago from mastodon.online permalink
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Wednesday, 11-Jun-2025 21:52:06 JST Niki Tonsky Niki Tonsky
      in reply to
      • Andrew Helwer

      @ahelwer I’m more afraid of people who put (randomly acquired) principles over common sense. Who says all global variables are always bad? What if code with a global variable is shorter, simpler, more straightforward? You’d still think it’s bad? Why?

      In conversation about 6 months ago permalink
    • Embed this notice
      Andrew Helwer (ahelwer@discuss.systems)'s status on Wednesday, 11-Jun-2025 21:52:07 JST Andrew Helwer Andrew Helwer
      in reply to

      @nikitonsky I pray I never encounter this lol. I visualize accepting I need to make a global variable as having the same energy as, like, an idealistic politician realizing they need to jettison their values once acquiring power or something

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