Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A Simple Introduction to the JavaScript Prototype (frontendian.co)
3 points by andRyanMiller on June 25, 2018 | hide | past | favorite | 2 comments


Hey Ryan! I like the simple design of your blog. It is a shame that Disqus looks out of place as far as readability goes.

edit: looks like you used: https://fonts.google.com/specimen/Karla.


@Ryan this was interesting: "When you uses classes in JavaScript, you are not sidestepping prototypal inheritance. You are simply using more familiar keywords to interact with the prototype" — that's something I've been wondering a bit about.

Actually, I've written about 40k lines of Typescript code in a web app of mine, and ... Never used prototypes & classes myself more than maybe once in a plugin to something else :-) .... I only use prototypes... indirectly via React.js, though.

@medntech & @Ryan: maybe Talkyard would look aesthetically better, demo: https://www.kajmagnus.blog/new-embedded-comments/ & https://www.talkyard.io/blog-comments (I'm developing it)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: