GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Noah Gibbs (codefolio@ruby.social)'s status on Monday, 29-May-2023 06:34:04 JSTNoah GibbsNoah Gibbs
    in reply to
    • Paul Cantrell

    @inthehands Yeah, I definitely agree with these criticisms of nil. And yup, adding a special instance for your type-specific special value (linked list node, the symbol :end, etc) is generally much better than nil, for all the reasons you say.

    Ruby's doesn't have the same LSP problems (no type declarations => you're not violating a type declaration) but of course nil is still bad.

    In conversationMonday, 29-May-2023 06:34:04 JST from ruby.socialpermalink
  • 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.