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

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

A diagram of how objects and their prototypes relate to each other in JavaScript. The diagram is convoluted and a series of bold question marks sit in the corner.

Download link

https://files.mastodon.social/media_attachments/files/113/693/238/610/947/522/original/a15ae2ca7032e7fa.jpg

Notices where this attachment appears

  1. Embed this notice
    mcc (mcc@mastodon.social)'s status on Sunday, 22-Dec-2024 08:23:50 JST mcc mcc
    in reply to

    @helge @lambdageek @joe unfortunately, I don't feel JavaScript is very good at being a prototype based language. I once wrote a prototype based language (Emily 1+2) and found it a very powerful idiom in that context— it made me want to try Self. But I've never successfully used prototypes in JavaScript for anything, except that one time I laboriously recreated a class system on top of it and used the classes. The ergonomics of js prototypes are just… weird. You see why ES6 moved away from them.

    In conversation about 5 months ago from mastodon.social permalink
  • 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.