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
    Paul Cantrell (inthehands@hachyderm.io)'s status on Monday, 29-May-2023 06:34:03 JSTPaul CantrellPaul Cantrell
    in reply to
    • Noah Gibbs

    @codefolio
    >no type declarations => you're not violating a type declaration

    I disagree! LSP isn’t about violating declarations; it’s about violating contracts. Ruby still has types aplenty, and contracts; it’s just that they’re implicit. In this fn:

    def foo(num)
    num.abs * 3
    end

    …the type of num is “thing that has an abs method that returns a thing with a * method that accepts 3.” That’s a type! And there may be some implicit type assumptions on the programmer’s part not explicit in code.

    In conversationMonday, 29-May-2023 06:34:03 JST from hachyderm.iopermalink
  • 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.